This is my own vim configurations along with some plugins
You can copy, modify and use it freely, without any restricts
-
.vimrcis the vimrc file, please put it under your$HOMEdir. -
.vimis a bundle of vim plugins, color schemas and syntax dicts, please put it under your$HOMEdir.
Ctrl-topen/close the tag barCtrl-oopen new file withNERDTreepluginCtrl-bopen the buffer explorerCtrl-Leftlast bufferCtrl-rightnext bufferCtrl-dexplore current menuCtrl-F9runmake
###C/C++ (usually for acm coding)
F9compile with-Wall -gF8open gdbF7run the excutableF4cat the code to the screen and copy the c/cpp file into the clip board.
###Python
F9run current python fileF8usepep8to lint the code. Please installpep8first.F4same as C/C++'sF4
###Javascript
F9useJSHintplugin to lint the codeF7usenodeto run the fileF4same as C/C++'sF4
###Java
F9complie the java file with-Xlint:deprecationF7run the fileF4same as C/C++'sF4
###Jade Template
F9complie the template into htmlF8remove complied html fileF7view the complied html file withvsplit
###Less
F9complie the less file
###The Powerline plugin display mess chars
This is due to you haven't install the fancy font that Powerline needed.
- You can find the specify font under
.vim/bundle/vim-powerline/fontpatcher/PowerlineSymbols-Powerline.otf.Install the font and you can fix the bug. - If last snippet doesn't work, you can modify the config of Powerline in
.vimrc.Change thePowerline_symbols(On line 14) intocompatibleorunicode. - If all of above doesn't work, you can read the doc of Powerline in
.vim/bundle/vim-powerline/doc/Powerline.txt
###The Color Schema is so ugly The color isn't same as the snapshot?
-
This is maybe your terminal isn't 256 Color.
-
Or the theme has been chosen as
Lightin color schema mango. You can force mango shema to use desiredDarktheme by change the.vim/colors/mango.vim. At line 8, Change thelet bgcolor = &backgroundintolet bgcolor = "Dark"
###Cannot found ctags?
maybe you haven't install it, just run sudo apt-get install ctags
