Skip to content

smehmood/vim-config

 
 

Repository files navigation

Installation

To install, run

git clone git://github.com/sidnair/vim-config.git ~/.vim
cd ~/.vim
make install

Follow the instructions for installing YouCompleteMe and tern_for_vim in each plugin's README.

To update the repository, run

make update

Notes

  • vimrc is commented; reading it is the best way to get a sense of what's added. In particular, the "Keybindings" sections might be useful.
  • The line set gdefault makes search and replace global by default. This means that adding /g only replace the first instance on a line.
  • For YCM, I had to run ./install.sh --clang-completer --system-libclang because of some issues with Arch. See ycm-core/YouCompleteMe#538 and ycm-core/YouCompleteMe#870 (comment)
  • If you see weird symbols in your status line, you need a special font to render some unicode symbols. You can disable this by removing the line let g:airline_powerline_fonts = 1 from the vimrc. vim-airline Has instructions for updating the font if you want to symbols. On my Linux box, I ran fc-match monospace to find which font I was using in my terminal, moved the relevant font from here to ~/.fonts, ran fc-cache -v ~/.fonts to update the font cache, and updated my KDE settings to use it.

.mine files

vimrc.mine and gvimrc.mine contain system-specific settings or other settings that should not be part of a general configuration. Thus, they are not tracked in the repo. They are included in your vimrc automatically. I have included some examples of what this might look like.

Compatability

Should work on Linux and Mac OS X. Untested on Windows.

About

The vim config I use

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 97.2%
  • Makefile 2.8%