Re:Vim: So long Pathogen, hello native package loading
by fatbird on Friday October 21, 2016 @09:49AM
(#12760352)
Since it looks like we're heading into a period of good competition between vim and neovim, I'd give neovim a serious try if you haven't already. It has a well-developed async architecture that most major plugins take advantage of, if sensible, and it has embedded terminal functionality. For the moment, vim 8 doesn't have async plugins to match, so after trying neovim for a while, you can switch back to vim 8 once its plugins catch up and get a better comparison.
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
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`
Re:Vim: So long Pathogen, hello native package loading
by joemi on Friday October 21, 2016 @10:39AM
(#12760803)
If you've been running bare vim, then using either will be fine. Unless you're planning on turning your bare vim into a rather heavy IDE, you're not going to really experience much difference between vim 8 and neovim.
Edit to add: or if you really need a terminal emulator
It is time to reintroduce some of the fanciness I used to have configured. I was looking forward to trying out Neovim but meanwhile Vim 8 has come out. Which way should I go now?