3 ms·
Thanks, I didn't about the terminal emulator! Now that I launched it via vsplit and :set modifiable - how can I switch back to the second buffer?
by d33 10y ago
Thanks, I didn't about the terminal emulator! Now that I launched it via vsplit and :set modifiable - how can I switch back to the second buffer?
- fmoralesc 10y ago<C-\><C-n> leaves you in normal mode again, and then you can navigate as usual.
- brotherjerky 10y agoNote that you can bind something like `jj` to this command in the terminal in order to more easily get out of terminal insert mode. Use `tnoremap`
- usernamefornow 10y agoUse <C-\><C-n> to get back into normal mode so you can use <C-w>w and and friends. Or you can use your mouse since Neovim by default does 'set mouse=a' iirc.
- tremendo 10y agoyou can use terminal-bufffer settings too: :tnoremap <Esc> <C-\><C-n> :tnoremap <A-h> <C-\><C-n><C-w>h :tnoremap <A-j> <C-\><C-n><C-w>j :tnoremap <A-k> <C-\><C-n><C-w>k :tnoremap <A-l> <C-\><C-n><C-w>l