- Install on osx
> brew install vim --override-system-vi
> brew install curl
> curl -o - https://raw.githubusercontent.com/iamslash/vim_robin/master/install-all.sh | sh
- UnInstall on osx
> curl -o - https://raw.githubusercontent.com/iamslash/vim_robin/master/uninstall-all.sh | sh
- Install on windows (Administrator)
> choco install vim
> choco install curl
> curl -o - http://raw.githubusercontent.com/iamslash/vim_robin/master/install-all.bat | cmd.exe
- Uninstall on windows
> curl -o - http://raw.githubusercontent.com/iamslash/vim_robin/master/uninstall-all.bat | cmd.exe
- Five Minute Vimscript
- Learn Vimscript the Hard Way
- Scripting the Vim editor, Part 1: Variables, values, and expressions
- Scripting the Vim editor, Part 2: User-defined functions
:help help
:help window
:!{cmd}
:r!{cmd}
:w !{cmd}
:grep / :set grepprg
:make / :set makeprg
^\s / :set cscopeprg
= / :set equalprg
gq / :set formatprg
K / :set keywordprg
CTRL-N nerd tree toggle
CTRL-W <Left>
CTRL-W <Right>
- osx
> brew install ctags
> ctags -R --sort=1 --c -kinds= p --fields= iaS --extra= q --language-force=C -f cpp /usr/include/c /4.2.1/
- windows
> choco install ctags
> ctags -R --sort=1 --c -kinds= p --fields= iaS --extra= q --language-force=C -f cpp C:\tools\mingw64\x86_64-w64-mingw32\include\c