-- Move between windows with arrows vim.keymap.set('n', '', '', { desc = 'Move focus to the left window' }) vim.keymap.set('n', '', '', { desc = 'Move focus to the right window' }) vim.keymap.set('n', '', '', { desc = 'Move focus to the lower window' }) vim.keymap.set('n', '', '', { desc = 'Move focus to the upper window' }) -- Keep cursor centered when PgUp & PgDown vim.keymap.set({ 'n', 'i', 'v' }, '', 'zz', { desc = 'Page up' }) vim.keymap.set({ 'n', 'i', 'v' }, '', 'zz', { desc = 'Page down' }) -- Redirect command output and allow edit vim.keymap.set('c', '', function() require('noice').redirect(vim.fn.getcmdline()) end, { desc = 'Redirect Cmdline' })