A lean and useful expansion for the awesome Vim editor. Give it a try :-)
- Friendly GUI;
- Change colorschemes as you wish (vim-colorschemes);
- Code highlighting for: Ruby, Python, Java, JavaScript and other languages;
- Syntax checking;
- Autocomplete;
- View code line diff instantly (Git Gutter);
- Find patterns through serveral files (ag.vim);
- Very fast fuzzy finder (CtrlP);
- Easy tab management: Command-number (⌘1, ⌘2 etc), Command-Tab (next tab), Command-Shift-Tab (previous tab).
- Jump to Methods or Properties declaration with F8 (Tagbar)
1. Clone this repo:
$ cd /usr/local/etc
Ps.: if you're on GNU/Linux, you may download it to "/usr/local/src".
$ git clone https://github.com/tiagopog/vimfiles.git
2. Make sure that Vim will find the vimrc file by symlinking it:
$ ln -s /usr/local/etc/vimfiles/vimrc ~/.vimrc
3. Install Vundle:
$ git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
(for more information: https://github.com/gmarik/Vundle.vim)
4. Open Vim, press ENTER ignoring the warnings, and install the plugins:
$ vim .
Then enter:
:PluginInstall
5. Install and configure some plugin's dependencies:
5.1. For vim-colorschemes:
$ cd ~/.vim
$ ln -s bundle/base16-vim/colors
Install Pallete Base16 Colors:
https://github.com/chriskempson/base16-builder
or
Ubuntu/Debian(Guake):
$ gconftool --load /usr/local/etc/vimfiles/guake.settings
or
Ubuntu/Debian(Gnome-Terminal):
$ gconftool --load /usr/local/etc/vimfiles/gnome-terminal.settings
5.2. For ag.vim:
OS X:
$ brew install the_silver_searcher
Ubuntu/Debian:
$ apt-get install silversearcher-ag
CentOS: try building it from source.
5.3. For YouCompleteMe:
OS X:
$ brew install cmake
$ cd ~
$ mkdir ycm_build
$ cd ycm_build
$ cmake -G "Unix Makefiles" . ~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp
$ make ycm_support_libs
Ubuntu/Debian:
$ cd ~/.vim/bundle/YouCompleteMe
$ ./install.sh
5.4 For TagBar
$ sudo apt-get install ctags
5.5 Powerline Fonts
Install Powerline: https://github.com/Lokaltog/powerline-fonts