Last active
August 29, 2015 13:57
-
-
Save btihen/9714335 to your computer and use it in GitHub Desktop.
.vimrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle | |
cat <<EOF >> .vimrc | |
set tabstop=2 shiftwidth=2 expandtab | |
:set invlist | |
set listchars=eol:¬,tab:->,trail:~,extends:>,precedes:< | |
:set list | |
set nocompatible " be iMproved | |
filetype off " required! | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" let Vundle manage Vundle | |
" required! | |
Bundle 'gmarik/vundle' | |
" My Bundles here: | |
" | |
Bundle 'vim-ruby/vim-ruby' | |
Bundle 'altercation/vim-colors-solarized' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'Lokaltog/vim-easymotion' | |
Plugin 'tpope/vim-rails.git' | |
syntax enable | |
EOF | |
vim +PluginInstall +qall | |
######################################## | |
git clone git://github.com/tpope/vim-rails.git ~/.vim/bundle/vim-rails | |
git clone https://github.com/vim-ruby/vim-ruby.git ~/.vim/bundle/vim-ruby | |
git clone git://github.com/tpope/vim-bundler.git ~/.vim/bundle/vim-bundler | |
git clone https://github.com/tpope/vim-fugitive.git ~/.vim/bundle/vim-fugitive | |
git clone https://github.com/altercation/vim-colors-solarized.git ~/.vim/bundle/vim-colors-solarized | |
# https://github.com/tpope/vim-pathogen/ | |
mkdir -p ~/.vim/autoload ~/.vim/bundle; \ | |
curl -Sso ~/.vim/autoload/pathogen.vim \ | |
https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim | |
# https://github.com/gmarik/Vundle.vim | |
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" alternatively, pass a path where Vundle should install plugins | |
"let path = '~/some/path/here' | |
"call vundle#rc(path) | |
" let Vundle manage Vundle, required | |
Plugin 'gmarik/vundle' | |
" The following are examples of different formats supported. | |
" Keep Plugin commands between here and filetype plugin indent on. | |
" scripts on GitHub repos | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'Lokaltog/vim-easymotion' | |
Plugin 'tpope/vim-rails.git' | |
" The sparkup vim script is in a subdirectory of this repo called vim. | |
" Pass the path to set the runtimepath properly. | |
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'} | |
" scripts from http://vim-scripts.org/vim/scripts.html | |
Plugin 'L9' | |
Plugin 'FuzzyFinder' | |
" scripts not on GitHub | |
Plugin 'git://git.wincent.com/command-t.git' | |
" git repos on your local machine (i.e. when working on your own plugin) | |
Plugin 'file:///home/gmarik/path/to/plugin' | |
" ... | |
filetype plugin indent on " required | |
" To ignore plugin indent changes, instead use: | |
"filetype plugin on | |
" | |
" Brief help | |
" :PluginList - list configured plugins | |
" :PluginInstall(!) - install (update) plugins | |
" :PluginSearch(!) foo - search (or refresh cache first) for foo | |
" :PluginClean(!) - confirm (or auto-approve) removal of unused plugins | |
" | |
" see :h vundle for more details or wiki for FAQ | |
" NOTE: comments after Plugin commands are not allowed. | |
" Put your stuff after this line |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment