diff options
author | listout <listout@protonmail.com> | 2023-05-04 12:04:17 +0530 |
---|---|---|
committer | listout <listout@protonmail.com> | 2023-05-04 12:04:17 +0530 |
commit | d9ce72340f2daacd9fc0e403a83208424b787665 (patch) | |
tree | 74e08918c5f17fef788afc95dfceb35dbcf687a8 | |
parent | 9a4e589b93263cdfeed68fe2c5e3fdfbf2d3b1d1 (diff) |
nvim: keymaps: FZF keymappings
Signed-off-by: listout <listout@protonmail.com>
-rw-r--r-- | lua/core/keymaps.lua | 8 |
1 files changed, 5 insertions, 3 deletions
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<CR>') map('t', 'C-w', '<C-\\><C-n><C-w>') -map('n', '<leader>b', ':Buffers<CR>'); -map('n', '<leader>n', ':Files<CR>'); +map('n', '<leader>B', ':Buffers<CR>') -- FZF show open buffers +map('n', '<leader>F', ':Files<CR>') -- FZF show files +map('n', '<leader>A', ':Ag<CR>') -- FZF call the the_silver_searcher +map('n', '<leader>C', ':Commits<CR>') -- FZF show git commits +map('n', '<leader>M', ':Maps<CR>') -- FZF show normal mode mappings -map('n', '<silent><leader>l', ':Buffers<CR>') map('n', '<leader>e', ':NvimTreeToggle<CR>') |