Add date printing to Neovim
This commit is contained in:
parent
f13ebae77b
commit
a4e5f98db5
|
@ -1,6 +1,11 @@
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
vim.keymap.set("n", "<leader>pv", vim.cmd.Ex)
|
vim.keymap.set("n", "<leader>pv", vim.cmd.Ex)
|
||||||
|
|
||||||
|
-- Text input
|
||||||
|
vim.keymap.set('n', '<leader>pt', ":pu!=strftime('%R')<CR>");
|
||||||
|
vim.keymap.set('n', '<leader>pd', ":pu!=strftime('%F')<CR>");
|
||||||
|
vim.keymap.set('n', '<leader>pD', ":pu!=strftime('%c')<CR>");
|
||||||
|
|
||||||
-- Telescope
|
-- Telescope
|
||||||
local builtin = require('telescope.builtin')
|
local builtin = require('telescope.builtin')
|
||||||
vim.keymap.set('n', '<leader>tf', builtin.find_files, {}) -- Open files
|
vim.keymap.set('n', '<leader>tf', builtin.find_files, {}) -- Open files
|
||||||
|
|
Loading…
Reference in New Issue