From 07d06aa89303e2a91d6b7e62a2112e7a44a0ce0a Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 4 Feb 2024 13:24:13 +0100 Subject: Move keymap for buffers with telescope --- fnl/plugins/harpoon.fnl | 3 --- fnl/plugins/telescope.fnl | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'fnl/plugins') diff --git a/fnl/plugins/harpoon.fnl b/fnl/plugins/harpoon.fnl index 0791f98..5144309 100644 --- a/fnl/plugins/harpoon.fnl +++ b/fnl/plugins/harpoon.fnl @@ -40,9 +40,6 @@ :initial_mode :normal :prompt_title :Harpoon})) {}) - (vim.keymap.set :n : - "Telescope buffers theme=dropdown previewer=false initial_mode=normal" - {}) {:menu {:width (- (vim.api.nvim_win_get_width 0) 4)}}) (local keys [{1 :ma 2 :HarpoonAdd :desc :Harpoon} diff --git a/fnl/plugins/telescope.fnl b/fnl/plugins/telescope.fnl index d6f5217..126637e 100644 --- a/fnl/plugins/telescope.fnl +++ b/fnl/plugins/telescope.fnl @@ -55,7 +55,7 @@ {1 :mg 2 "Telescope live_grep theme=dropdown" :desc "Find Text"} - {1 :mp + {1 : 2 "Telescope buffers theme=dropdown previewer=false initial_mode=normal" :desc "Switch Buffer"} {1 :fC -- cgit v1.2.3-70-g09d2