mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 11:14:08 +00:00
chore(nvim): <leader>ba (close all except current)
This commit is contained in:
@@ -92,6 +92,7 @@ n('<esc><esc>', ':nohlsearch<cr>', { desc = 'Clear Search Highlighting' })
|
||||
-- Buffer operations
|
||||
-- Mappings for buffer management operations like switching, deleting, etc.
|
||||
-- Convention: All mappings start with 'b' followed by the operation
|
||||
nld('ba', ':%bd|e#|bd#<cr>', 'Close all except current')
|
||||
nld('bd', ':lua MiniBufremove.delete()<CR>', 'Delete')
|
||||
nld('bh', ':bprev<cr>', 'Prev')
|
||||
nld('bj', ':bfirst<cr>', 'First')
|
||||
|
||||
Reference in New Issue
Block a user