vimrc
v2.1.1
- python (MacOSX)
- ack-grep
- exeburant-ctags
- libjson-xs-perl
- vim-gtk (Fedora)
-
PowerLine for MacOSX Install fonts of https://github.com/powerline/fonts Oficial Documentation: http://powerline.readthedocs.org/en/master/installation/osx.html
-
PowerLine for Ubuntu Install fonts of https://github.com/Lokaltog/powerline-fonts/tree/master/UbuntuMono Oficial Documentation: https://powerline.readthedocs.org/en/latest/installation/linux.html#font-installation
- belovim includes a files called
install.sh
just run to install all dependencies.
- Clone the repository and make a symbolic link of belovim folder and vimrc file to your home folder:
$ ln -s belovim/ $HOME/.vim
$ ln -s $HOME/vimrc $HOME/.vimrc
- Installing all modules with:
$ vim +NeoBundleInstall +qall
Leader key => <Space>
<leader> + y => Copy to system clipboard
<leader> + p => Paste the system clipboard
<leader> n => Open a new tab
<leader> . => Move to next tab
<leader> , => Move to previous tab
<leader> q => Close current tab
<leader> l => Alternates between the last buffer
<leader> + w => Quickly save file (:w)
<leader> + x => Quickly save and exit (:wq!)
:Ack {pattern} => Search for a pattern inside project
<leader> + h => Hide search highlights (hlsearch!)
<leader> + / => Clear search highlights
:Tab /{pattern} => Align the selected text with the chose character
<leader> + nt => Open/Close NERDTree
<leader> + b => Open/Close Tagbar (functions panel)
<leader> + be => Open/Close Buffer Explorer
F5 => StripTrailingWhitespaces: Remove trailing spaces in the entire text.
F4 => DelBlank: Delete double blank lines.
F7 => Wipeout: Destroy all buffers that are not open in any tabs or windows.
F12 => Remove numbers and formatters
:w!! => Save file with sudo privileges