summaryrefslogtreecommitdiff
path: root/lua/maps/find.lua
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-06-02 20:02:42 +0200
committerHampusM <hampus@hampusmat.com>2024-06-02 20:02:42 +0200
commit0d380e8916a7ddf89193a76bd711ae1661ae9b44 (patch)
treee98f1bbae2eebef31fa775051cd07a41a017ba11 /lua/maps/find.lua
parentedfa7f32e71b6bd435fd47917bddb47ddedc02ab (diff)
prevent terminal appearing in buffer search
Diffstat (limited to 'lua/maps/find.lua')
-rw-r--r--lua/maps/find.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/maps/find.lua b/lua/maps/find.lua
index 5d4bfbe..dec634a 100644
--- a/lua/maps/find.lua
+++ b/lua/maps/find.lua
@@ -1,6 +1,6 @@
vim.api.nvim_set_keymap("n", "<leader>p", ":Files<CR>", { silent = true, noremap = true })
-vim.api.nvim_set_keymap("n", "<leader>b", ":Buffers<CR>", { silent = true, noremap = true })
+vim.api.nvim_set_keymap("n", "<leader>b", ":lua search_buffers()<CR>", { silent = true, noremap = true })
vim.api.nvim_set_keymap("n", "<leader>c", ":Commits<CR>", { silent = true, noremap = true })