diff --git a/init.lua b/init.lua index dafe0a0..6c7a701 100644 --- a/init.lua +++ b/init.lua @@ -56,3 +56,14 @@ vim.api.nvim_set_keymap('n', 'f', ':bnext', {noremap = true, silent local builtin = require('telescope.builtin') vim.keymap.set('n', 'ff', builtin.find_files, {}) + +-- move the whole page without moving the cursor +vim.api.nvim_set_keymap('n', 'J', '', { noremap = true }) +vim.api.nvim_set_keymap('n', 'K', '', { noremap = true }) + +-- Resize windows +vim.api.nvim_set_keymap('n', '', '5+', { silent = true }) +vim.api.nvim_set_keymap('n', '', '5-', { silent = true }) +vim.api.nvim_set_keymap('n', '', '10>', { silent = true }) +vim.api.nvim_set_keymap('n', '', '10<', { silent = true }) +