From 08ce8f13f41b70962b063c8483690d73a47573eb Mon Sep 17 00:00:00 2001 From: Joe Date: Wed, 10 Jan 2024 11:29:54 +0100 Subject: fix --- .config/nvim/lua/bindings.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to '.config/nvim') 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 '<-2gv=gv") vim.keymap.set('x', 'p', "\"_dP") vim.keymap.set('n', 'Q', '') +local ts = require('telescope.builtin') +require('telescope').load_extension('harpoon') +local harpoon = require('harpoon') +harpoon:setup() vim.keymap.set('n', '', function() harpoon:list():select(1) end) vim.keymap.set('n', '', function() harpoon:list():select(2) end) vim.keymap.set('n', '', function() harpoon:list():select(3) end) vim.keymap.set('n', '', 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', 'd', ':bd', { noremap = true, silent = true }) vim.keymap.set('n', 'D', '"-ddk:put = strftime(\' * %a %b %d %T %Y\')', { noremap = true, silent = true }) -- cgit v1.2.3