From d9ce72340f2daacd9fc0e403a83208424b787665 Mon Sep 17 00:00:00 2001 From: listout Date: Thu, 4 May 2023 12:04:17 +0530 Subject: nvim: keymaps: FZF keymappings Signed-off-by: listout --- lua/core/keymaps.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lua') diff --git a/lua/core/keymaps.lua b/lua/core/keymaps.lua index 0736653..c5bc42e 100644 --- a/lua/core/keymaps.lua +++ b/lua/core/keymaps.lua @@ -37,8 +37,10 @@ map('n', 'M-h', ':vertical resize +2') map('t', 'C-w', '') -map('n', 'b', ':Buffers'); -map('n', 'n', ':Files'); +map('n', 'B', ':Buffers') -- FZF show open buffers +map('n', 'F', ':Files') -- FZF show files +map('n', 'A', ':Ag') -- FZF call the the_silver_searcher +map('n', 'C', ':Commits') -- FZF show git commits +map('n', 'M', ':Maps') -- FZF show normal mode mappings -map('n', 'l', ':Buffers') map('n', 'e', ':NvimTreeToggle') -- cgit v1.2.3