diff options
Diffstat (limited to '')
-rw-r--r-- | .config/nvim/lua/bindings.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.config/nvim/lua/bindings.lua b/.config/nvim/lua/bindings.lua index 3db5aa6..53ad03b 100644 --- a/.config/nvim/lua/bindings.lua +++ b/.config/nvim/lua/bindings.lua @@ -1,8 +1,10 @@ vim.keymap.set('n', '<M-;>', ':call nerdcommenter#Comment(0,"toggle")<CR>', { noremap = true, silent = true }) vim.keymap.set('n', '<M-x>', ':', { noremap = true, silent = false }) vim.keymap.set('n', '<M-k>', ':bprevious<CR>', { noremap = true, silent = true }) -vim.keymap.set('n', '<C-u>', '<C-u>zz', { noremap = true, silent = false }) -vim.keymap.set('n', '<C-d>', '<C-d>zz', { noremap = true, silent = false }) +vim.keymap.set('n', '<C-u>', '<C-u>zz', { noremap = true, silent = true }) +vim.keymap.set('n', '<C-d>', '<C-d>zz', { noremap = true, silent = true }) +vim.keymap.set('n', '<C-b>', '<C-b>zz', { noremap = true, silent = true }) +vim.keymap.set('n', '<C-f>', '<C-f>zz', { noremap = true, silent = true }) vim.keymap.set('n', '<M-j>', ':bnext<CR>', { noremap = true, silent = true }) vim.keymap.set('n', '<C-h>', '<C-w>h', { noremap = true, silent = false }) vim.keymap.set('n', '<C-j>', '<C-w>j', { noremap = true, silent = false }) |