vim-floaterm
vim-floaterm copied to clipboard
how to focus non-popup window when a floaterm instance has been opend?
Just like the effect in README:

You can use <C-\><C-n> to go to normal mode, and then use <C-w>w to focus on different windows. This will work for both vim and neovim.
I have tried <C-w>N in default :terminal in vim, this could also bring you back to normal mode, but it's not work in neovim.
The instruction of keymap is also mentioned what are <Fn>s mapping for.
map <Esc> with <c-\><c-n> like below
tmap <Esc> <c-\><c-n> --for vim
vim.cmd([[ tmap <Esc> <c-\><c-n> ]]) --for neovim
now you can press ESC and do things as you do in normal mode, for example, you can press <C-w><C-w> and it will do what you asked in question