neovim: Remove focus remaps
These can be done by prefixing with Ctrl+W
This commit is contained in:
parent
3758670e5b
commit
a662702be3
|
@ -54,14 +54,3 @@ function _G.set_terminal_keymaps()
|
||||||
end
|
end
|
||||||
EOF
|
EOF
|
||||||
autocmd TermOpen term://* lua set_terminal_keymaps()
|
autocmd TermOpen term://* lua set_terminal_keymaps()
|
||||||
|
|
||||||
" Focus moving remaps
|
|
||||||
lua << EOF
|
|
||||||
function _G.set_focus_keymaps()
|
|
||||||
vim.keymap.set('n', '<C-h>', [[<Cmd>wincmd h<CR>]], opts)
|
|
||||||
vim.keymap.set('n', '<C-j>', [[<Cmd>wincmd j<CR>]], opts)
|
|
||||||
vim.keymap.set('n', '<C-k>', [[<Cmd>wincmd k<CR>]], opts)
|
|
||||||
vim.keymap.set('n', '<C-l>', [[<Cmd>wincmd l<CR>]], opts)
|
|
||||||
end
|
|
||||||
EOF
|
|
||||||
autocmd BufEnter * lua set_focus_keymaps()
|
|
||||||
|
|
Loading…
Reference in a new issue