Last active
September 2, 2015 15:14
-
-
Save KalenAnson/9bd106c94bfe4890a5cc to your computer and use it in GitHub Desktop.
Vim Baby
This file contains 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
# Install Pathogen | |
mkdir -p ~/.vim/autoload ~/.vim/bundle && \ | |
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim | |
# Add the following to `.vimrc` | |
" Start Pathogen | |
execute pathogen#infect() | |
# Now add Syntastic via Pathogen | |
cd ~/.vim/bundle && \ | |
git clone https://github.com/scrooloose/syntastic.git | |
# Add NerdTree | |
cd ~/.vim/bundle | |
git clone https://github.com/scrooloose/nerdtree.git | |
# Add this to `.vimrc` to start nerd tree | |
" Auto Start NerdTree | |
autocmd vimenter * NERDTree | |
" Start NerdTree from empty vim window | |
autocmd StdinReadPre * let s:std_in=1 | |
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif | |
" Crtl-n for NerdTree Toggle | |
map <C-n> :NERDTreeToggle<CR> | |
# VIM Airline | |
git clone https://github.com/bling/vim-airline ~/.vim/bundle/vim-airline | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment