This is curious for me, yestarday I just wanted to do a folding a code of Angularjs
(the route list is a little long) but then... (thinking) foldmethod=manual is the best way?
it will be tedious do it in every file...mmm it doesn't save my fold...mm I need a plugin...
I found this text. it is funny because it is true.
and one thing lead to another I finished changing to Neovim,
in this post I want to mention a little details I had with this change.
First of all the configuration in neovim is ~.config/nvim/init.vim (my init.vim)
Vim-airline
I use terminal terminology.
it can be solved by checking Settings->Behavior->set TERM to xterm-256color and restart.
Ctrl-w h
with splits I prefer use ctrl-h and change to left position cursor, in Arch Linux still doesn't work.
This code fixes in your init.vim .
if has('nvim')
nmap <BS> <C-W>h
endif
Details Github.
Python
it's necessary enable python (Arch Linux).
sudo pacman -S python2-pip python-pip
pip2 install neovim
pip install neovim
well I installed the two because I don't want problem with versions specially with YouCompleteMe
Clipboard
by default doesn't work clipboard I chose xclip.
sudo pacman -S xclip
and my init.vim
set clipboard+=unnamedplus
Details :h nvim-clipboard
Plugins Neovim
They took my attention
vim-plug Best plugin manager.
Neomake can be used together Syntastic.
Deoplete is very promising but needs to madure, now I prefer YouCompleteMe
anyway keep it in mind.
oh! other issues with YouCompleteme has 2 things.
1.-You need be sure you have installed correctly.python2.7 ./install.py
2.-now I don't remember the error but it was something with "VIM" I had installed correctly but showed a error YouCompleteMe, just add in your .zshrc export VIM=""
Other things
I found in the path
- vimrcfuGather your vimrc snippets on this site and let others learn from your fu.
- a very good Foldtext.
- limelight I liked, I think can be useful especially with video tutorials.