Added H and L maps for neovim.

This commit is contained in:
Andrey Parhomenko 2023-10-20 12:10:21 +03:00
parent bb06e29d27
commit 4dea13d2ba

View file

@ -72,6 +72,10 @@ local opts = {nowait=true, silent = true}
map('n', '\\|', '<C-w>v', opts) map('n', '\\|', '<C-w>v', opts)
map('n', '\\-', '<C-w>s', opts) map('n', '\\-', '<C-w>s', opts)
-- Move
map('n', 'L', '$', opts)
map('n', 'H', '^', opts)
-- Netrw -- Netrw
vim.api.nvim_create_autocmd('filetype', { vim.api.nvim_create_autocmd('filetype', {
pattern = 'netrw', pattern = 'netrw',