More hotkeys for the Nvim.

This commit is contained in:
Andrey Parhomenko 2023-09-08 18:04:07 +03:00
parent 67785f643e
commit 4a62e0f40f

View file

@ -44,14 +44,16 @@ local opts = {silent = true}
-- vim.api.nvim_del_keymap('n', '<C-r>') -- vim.api.nvim_del_keymap('n', '<C-r>')
-- Windows -- Windows
-- Moving -- Moving
map('n', '<S-b>', '<C-b>', opts)
map('n', '<S-f>', '<C-f>', opts)
opts = {silent = true} opts = {silent = true}
map('n', '<A-l>', '<C-w>l', opts) map('n', '<A-l>', '<C-w>l', opts)
map('n', '<A-h>', '<C-w>h', opts) map('n', '<A-h>', '<C-w>h', opts)
map('n', '<A-k>', '<C-w>k', opts) map('n', '<A-k>', '<C-w>k', opts)
map('n', '<A-j>', '<C-w>j', opts) map('n', '<A-j>', '<C-w>j', opts)
-- Resizing -- Resizing
map('n', '<C-k>', '<C-w>+', opts) map('n', '+', '<C-w>+', opts)
map('n', '<C-j>', '<C-w>-', opts) map('n', '-', '<C-w>-', opts)
-- map('n', '<C-h>', '3<C-w><', opts) -- map('n', '<C-h>', '3<C-w><', opts)
-- map('n', '<C-l>', '3<C-w>>', opts) -- map('n', '<C-l>', '3<C-w>>', opts)
map('n', '<Space>', '3<C-w>>', opts) map('n', '<Space>', '3<C-w>>', opts)