This is a script that automatically configures vim(~/.vimrc and ~/.vim). For now, just support C++ coding and Java coding. Don't need to configure your vim by yourself step by step. Just run the script. If you want more configuration, you can do it on your own on the basic of this, of course.
- ctags
- python2.7
- Linux/Mac
- Java Jre
- pathogen
- auto-pairs
- nerdtree.
- taglist.
- omnicppcomplete
- supertab
- TagHighlight
- javacomplete
- vim-colors-solarized
- solarized
git clone [email protected]:rookflying/vim_vim.git
cd vim_vim
Make sure you have installed ctags and python2.7 and java jre.
Then configure your .vimrc path, .vim path, JAVA_HOME (/usr/lib/jvm/java-1.8.0-openjdk-amd64, etc) and home directory in the config.json and run the script(netword is needed).
python run.py
Then try your new vim.
If configuraion files(~/.vimrc,~/.vim) exist before running the script, the script will rename them to ~/.vimrc_former and ~/.vim_former. So, don't worry about your old configuration. Also, you can config vim on your own by downloading plugins to ~/.vim/bundle.
Omnicppcomplete plugin (code autocomplete plugin) already works on STL source code. To make it also work on your own code, you need to run ctags_command, which can be found in this repo, at the root directory of your project.
Using javacomplete plugin to finish auto-complete.
Ctrl+N to show the directory.
Some operations:
o: open the directory.i: open file horizontally.s: open file vertically.Ctrl+w(double-click): switch cursor to different file.
Ctrl+M or Enter to show functions and classes. In this window, can jump to the function or class which is specified by thr cursor by pressing Enter.
See the LICENSE file.