This commit is contained in:
2025-09-07 12:13:29 +02:00
parent 1c933f1054
commit c9395198b6
7 changed files with 35 additions and 31 deletions

View File

@@ -5,16 +5,20 @@
-- https://github.com/moll/vim-bbye
--
local opts = { silent = true, noremap = true }
return {
{
'moll/vim-bbye',
keys = {
{ '<leader>bc', '<CMD>Bdelete<CR>', desc = '[c]lose current buffer' },
{ '<leader>bc', '<CMD>Bdelete<CR>', desc = '[c]lose current buffer', opts },
{
'<leader>bC',
'<CMD>bufdo :Bdelete<CR>',
desc = '[C]lose all buffers',
opts,
},
{ '<C-c>', '<CMD>Bdelete<CR>', desc = 'Close current buffer', opts, hidden = true },
},
},
}

View File

@@ -13,6 +13,7 @@ return {
lazy = false, -- lazy-loading will disable inverse search
config = function()
vim.g.vimtex_mappings_disable = { ['n'] = { 'K' } } -- disable `K` as it conflicts with LSP hover
vim.g.vimtex_mappings_enabled = false
vim.g.vimtex_quickfix_method = vim.fn.executable 'pplatex' == 1 and 'pplatex' or 'latexlog'
end,
-- keys = {