diff options
author | Joe <rbo@gmx.us> | 2024-01-10 11:29:54 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-01-10 11:29:54 +0100 |
commit | 08ce8f13f41b70962b063c8483690d73a47573eb (patch) | |
tree | c3a7e298454aad0b05db0e9895c75750cc7616a3 /.config/nvim | |
parent | p (diff) | |
download | dotfiles-bsd-08ce8f13f41b70962b063c8483690d73a47573eb.tar.gz dotfiles-bsd-08ce8f13f41b70962b063c8483690d73a47573eb.tar.bz2 dotfiles-bsd-08ce8f13f41b70962b063c8483690d73a47573eb.tar.xz dotfiles-bsd-08ce8f13f41b70962b063c8483690d73a47573eb.tar.zst dotfiles-bsd-08ce8f13f41b70962b063c8483690d73a47573eb.zip |
fix
Diffstat (limited to '.config/nvim')
-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 }) |