Re:Vim: So long Pathogen, hello native package loading
by pawelduda on Friday October 21, 2016 @10:01AM
(#12760467)
I have been using NeoVim for half a year and have not looked back. It is backward compatible (completes Vim test suite successfully) and brings some other goodies, such as async jobs (I know Vim 8.0 has these but they have been in NeoVim since I switched) and a great terminal emulator. It has much better defaults that I did not know about when I was using Vim. Honestly - give both a try - installing NeoVim, all you have to import your settings is to symlink your .vimrc to .nvimrc, as far as I remember
[ Parent
| on HN ]
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?
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`