Re:Vim: So long Pathogen, hello native package loading
by d33 on Friday October 21, 2016 @10:34AM
(#12760762)
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?
[ Parent
| on HN ]
Re:Vim: So long Pathogen, hello native package loading
by tremendo on Friday October 21, 2016 @12:40PM
(#12761923)
you 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
Re:Vim: So long Pathogen, hello native package loading
by usernamefornow on Friday October 21, 2016 @10:45AM
(#12760845)
Use <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.
Re:Vim: So long Pathogen, hello native package loading
by fmoralesc on Friday October 21, 2016 @10:44AM
(#12760828)
<C-\><C-n> leaves you in normal mode again, and then you can navigate as usual.
Re:Vim: So long Pathogen, hello native package loading
by brotherjerky on Friday October 21, 2016 @12:35PM
(#12761861)
Note 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`