diff --git a/init.lua b/init.lua index ef05fd35..48521702 100644 --- a/init.lua +++ b/init.lua @@ -230,14 +230,14 @@ vim.keymap.set('n', '', '', { desc = 'Move focus to the upper win -- Quit keymaps - easier ways to close Neovim (using capital Q to avoid conflict with diagnostic quickfix) -- Session management is automatic via auto-session plugin (saves on exit, restores on startup) -vim.keymap.set('n', 'Qa', 'qa', { desc = '[Q]uit [A]ll' }) +vim.keymap.set('n', 'Q', 'qa', { desc = '[Q]uit [A]ll' }) -vim.keymap.set('n', 'Qq', 'qa!', { desc = '[Q]uit all without saving (force)' }) +-- vim.keymap.set('n', 'Qq', 'qa!', { desc = '[Q]uit all without saving (force)' }) -vim.keymap.set('n', 'Qw', function() - vim.cmd 'wa' -- Write all buffers - vim.cmd 'qa' -end, { desc = '[Q]uit all and [W]rite files' }) +-- vim.keymap.set('n', 'Qw', function() +-- vim.cmd 'wa' -- Write all buffers +-- vim.cmd 'qa' +-- end, { desc = '[Q]uit all and [W]rite files' }) -- NOTE: Some terminals have colliding keymaps or are not able to send distinct keycodes -- vim.keymap.set("n", "", "H", { desc = "Move window to the left" })