Skip to content

iamslash/vim_robin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setting on osx

  • 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

Setting on windows

  • 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

How to learn vim script

How to view help

:help help
:help window

How to use shell command in vim

:!{cmd}
:r!{cmd}
:w !{cmd}
:grep / :set grepprg
:make / :set makeprg
^\s / :set cscopeprg
= / :set equalprg
gq / :set formatprg
K / :set keywordprg

Famous shortcuts

CTRL-N nerd tree toggle
CTRL-W <Left>
CTRL-W <Right>

for c++

  • 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++

for cs

for python

for javascript

About

setting up vim is very easy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published