macboolk doesn't like lua :c
This commit is contained in:
parent
f2ba1e8549
commit
5b483a9db7
34 changed files with 279 additions and 776 deletions
0
after/plugin/init.lua
Normal file
0
after/plugin/init.lua
Normal file
14
after/plugin/keybinds.lua
Normal file
14
after/plugin/keybinds.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
-- Move between windows with arrows
|
||||
vim.keymap.set('n', '<C-Left>', '<C-w><C-h>', { desc = 'Move focus to the left window' })
|
||||
vim.keymap.set('n', '<C-Right>', '<C-w><C-l>', { desc = 'Move focus to the right window' })
|
||||
vim.keymap.set('n', '<C-Down>', '<C-w><C-j>', { desc = 'Move focus to the lower window' })
|
||||
vim.keymap.set('n', '<C-Up>', '<C-w><C-k>', { desc = 'Move focus to the upper window' })
|
||||
|
||||
-- Keep cursor centered when PgUp & PgDown
|
||||
vim.keymap.set({ 'n', 'i', 'v' }, '<PageUp>', '<PageUp>zz', { desc = 'Page up' })
|
||||
vim.keymap.set({ 'n', 'i', 'v' }, '<PageDown>', '<PageDown>zz', { desc = 'Page down' })
|
||||
|
||||
-- Redirect command output and allow edit
|
||||
vim.keymap.set('c', '<S-CR>', function()
|
||||
require('noice').redirect(vim.fn.getcmdline())
|
||||
end, { desc = 'Redirect Cmdline' })
|
||||
Loading…
Add table
Add a link
Reference in a new issue