diff options
Diffstat (limited to '')
-rw-r--r-- | .config/nvim/lua/bindings.lua | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/.config/nvim/lua/bindings.lua b/.config/nvim/lua/bindings.lua index 3271288..0aa44ae 100644 --- a/.config/nvim/lua/bindings.lua +++ b/.config/nvim/lua/bindings.lua @@ -27,17 +27,16 @@ vim.keymap.set('v', 'K', ":m '<-2<CR>gv=gv") vim.keymap.set('x', '<leader>p', "\"_dP") vim.keymap.set('n', 'Q', '<nop>') +local ts = require('telescope.builtin') +require('telescope').load_extension('harpoon') +local harpoon = require('harpoon') +harpoon:setup() vim.keymap.set('n', '<M-1>', function() harpoon:list():select(1) end) vim.keymap.set('n', '<M-2>', function() harpoon:list():select(2) end) vim.keymap.set('n', '<M-3>', function() harpoon:list():select(3) end) vim.keymap.set('n', '<M-4>', function() harpoon:list():select(4) end) -local ts = require('telescope.builtin') -require('telescope').load_extension('harpoon') -local harpoon = require('harpoon') -harpoon:setup() - -- normal vim.keymap.set('n', '<leader>d', ':bd<CR>', { noremap = true, silent = true }) vim.keymap.set('n', '<leader>D', '"-ddk:put = strftime(\' * %a %b %d %T %Y\')<CR>', { noremap = true, silent = true }) |