Delete buffer function

pull/1465/head
Karolis Arbačiauskas 3 months ago
parent f8b87168a5
commit 2cba628839

@ -4,6 +4,10 @@
-- See the kickstart.nvim README for more information
vim.api.nvim_create_autocmd({ 'FocusGained', 'BufEnter' }, { command = 'checktime' })
vim.api.nvim_create_user_command('DeleteOtherBuffers', function()
require('snacks').bufdelete.other()
end, { desc = 'Delete Other Buffers' })
vim.keymap.set('n', '<A-h>', '<C-w>5<', { desc = 'Decrease window width' })
vim.keymap.set('n', '<A-l>', '<C-w>5>', { desc = 'Increase window width' })
vim.keymap.set('n', '<A-j>', '<C-w>1+', { desc = 'Increase window height' })

Loading…
Cancel
Save