neovim: Remove focus remaps

These can be done by prefixing with Ctrl+W
This commit is contained in:
Peter Cai 2022-08-08 17:22:59 -04:00
parent 3758670e5b
commit a662702be3
1 changed files with 0 additions and 11 deletions

View File

@ -54,14 +54,3 @@ function _G.set_terminal_keymaps()
end
EOF
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()