fix: Updating the close buffer shortcut to not close splits or windows as well, retaining window layout.
This commit is contained in:
parent
8ebcf9877a
commit
3039442306
@ -34,7 +34,7 @@ vim.keymap.set('n', 'J', 'mzJ`z')
|
|||||||
-- Switch or close buffers in the window
|
-- Switch or close buffers in the window
|
||||||
vim.keymap.set('n', '<leader>n', ':bn<CR>', options)
|
vim.keymap.set('n', '<leader>n', ':bn<CR>', options)
|
||||||
vim.keymap.set('n', '<leader>p', ':bp<CR>', options)
|
vim.keymap.set('n', '<leader>p', ':bp<CR>', options)
|
||||||
vim.keymap.set('n', '<leader>x', ':bd<CR>', options)
|
vim.keymap.set('n', '<leader>x', ':bp<bar>sp<bar>bn<bar>bd<CR>', options)
|
||||||
-- vim.keymap.set('n', '<leader>x', ':bp|bd #<CR>', options)
|
-- vim.keymap.set('n', '<leader>x', ':bp|bd #<CR>', options)
|
||||||
|
|
||||||
-- Toggle spellcheck
|
-- Toggle spellcheck
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user