From 0d380e8916a7ddf89193a76bd711ae1661ae9b44 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 2 Jun 2024 20:02:42 +0200 Subject: prevent terminal appearing in buffer search --- lua/maps/find.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/maps/find.lua') 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", "p", ":Files", { silent = true, noremap = true }) -vim.api.nvim_set_keymap("n", "b", ":Buffers", { silent = true, noremap = true }) +vim.api.nvim_set_keymap("n", "b", ":lua search_buffers()", { silent = true, noremap = true }) vim.api.nvim_set_keymap("n", "c", ":Commits", { silent = true, noremap = true }) -- cgit v1.2.3-18-g5258