diff options
author | HampusM <hampus@hampusmat.com> | 2024-06-02 20:02:42 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-06-02 20:02:42 +0200 |
commit | 0d380e8916a7ddf89193a76bd711ae1661ae9b44 (patch) | |
tree | e98f1bbae2eebef31fa775051cd07a41a017ba11 /lua/maps/find.lua | |
parent | edfa7f32e71b6bd435fd47917bddb47ddedc02ab (diff) |
prevent terminal appearing in buffer search
Diffstat (limited to 'lua/maps/find.lua')
-rw-r--r-- | lua/maps/find.lua | 2 |
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 }) |