diff options
Diffstat (limited to 'nvim/lua/custom/plugins/remap.lua')
| -rw-r--r-- | nvim/lua/custom/plugins/remap.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nvim/lua/custom/plugins/remap.lua b/nvim/lua/custom/plugins/remap.lua new file mode 100644 index 0000000..367d21c --- /dev/null +++ b/nvim/lua/custom/plugins/remap.lua @@ -0,0 +1,5 @@ +return { + -- Scroll by half page and keep cursor in middle + vim.keymap.set('n', '<C-d>', '<C-d>zz'), + vim.keymap.set('n', '<C-u>', '<C-u>zz'), +} |
