Skip to content

ahmedsubkhi/ahmed-vimrc

 
 

Repository files navigation

My Vimrc nice configuration for Mac OSX

  • Add default path for Pathogen Plugin Manager
$ mkdir ~/.vim
$ mkdir ~/.vim/bundle
$ mkdir ~/.vim/autoload
$ mkdir ~/.vim/colors
$ cp afterglow.vim ~/.vim/colors
  • Install NERDTree Git status plugin
$ cd ~/.vim/bundle
$ git clone https://github.com/Xuyuanp/nerdtree-git-plugin.git
  • Install YouCompleteMe plugin
$ brew install cmake
$ cd ~/.vim/bundle
$ git clone https://github.com/Valloric/YouCompleteMe.git
$ cd ~/.vim/bundle/YouCompleteMe
$ git submodule update --init --recursive
$ mkdir ycmbuild
$ cd ycmbuild
$ cmake -G "Unix Makefiles" . ~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/
$ make ycm_core
$ cd ~/.vim/bundle/YouCompleteMe
$ ./install.py --all
  • Install VimDevIcons plugin
$ cd ~/.vim/bundle
$ git clone https://github.com/ryanoasis/vim-devicons.git
$ cd ~/Library/Fonts && curl -fLo "Droid Sans Mono for Powerline Nerd Font Complete.otf" https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/DroidSansMono/complete/Droid%20Sans%20Mono%20Nerd%20Font%20Complete.otf
  • Install UltiSnips plugin
$ cd ~/.vim/bundle
$ git clone https://github.com/SirVer/ultisnips.git
  • Install vim-airline plugin
$ cd ~/.vim/bundle
$ git clone https://github.com/vim-airline/vim-airline.git
  • Install emmet plugin
$ cd ~/.vim/bundle
$ git clone https://github.com/mattn/emmet-vim.git
  • Install multiple cursor plugin
$ cd ~/.vim/bundle
$ git clone https://github.com/terryma/vim-multiple-cursors.git

How to uninstall

Just do following:

  • Remove ~/.vim_runtime
  • Remove any lines that reference .vim_runtime in your ~/.vimrc

About

The ultimate Vim configuration: vimrc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 97.1%
  • Ruby 1.3%
  • Shell 0.8%
  • Python 0.4%
  • CoffeeScript 0.2%
  • Makefile 0.1%
  • Other 0.1%