summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-02-04 13:24:13 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-02-04 13:24:13 +0100
commit07d06aa89303e2a91d6b7e62a2112e7a44a0ce0a (patch)
tree559dbe7e7df8374e5b8139be1f7801c45a10abde /fnl
parent0428a8d0e90caa7221e81c86309353b0292d8033 (diff)
Move keymap for buffers with telescope
Diffstat (limited to 'fnl')
-rw-r--r--fnl/plugins/harpoon.fnl3
-rw-r--r--fnl/plugins/telescope.fnl2
2 files changed, 1 insertions, 4 deletions
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 :<s-tab>
- "<cmd>Telescope buffers theme=dropdown previewer=false initial_mode=normal<cr>"
- {})
{:menu {:width (- (vim.api.nvim_win_get_width 0) 4)}})
(local keys [{1 :ma 2 :<cmd>HarpoonAdd<cr> :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 "<cmd>Telescope live_grep theme=dropdown<cr>"
:desc "Find Text"}
- {1 :mp
+ {1 :<s-tab>
2 "<cmd>Telescope buffers theme=dropdown previewer=false initial_mode=normal<cr>"
:desc "Switch Buffer"}
{1 :<leader>fC