Skip to content

Instantly share code, notes, and snippets.

@taylor
Created March 27, 2012 19:28
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save taylor/2219507 to your computer and use it in GitHub Desktop.
Save taylor/2219507 to your computer and use it in GitHub Desktop.
Simple vimrc with must haves

Quick Vim Setup

Simple vim setup with some essential plugins

Install Instructions:

mkdir -p ~/.vim/autoload ~/.vim/bundle
cd ~/.vim/bundle
git clone https://github.com/tpope/vim-pathogen.git
git clone https://github.com/scrooloose/nerdtree.git
git clone https://github.com/tpope/vim-fugitive.git
git clone https://github.com/vim-scripts/taglist.vim.git
cd ~/.vim/autoload ; ln -s ../bundle/vim-pathogen/autoload/pathogen.vim
mkdir -p ~/.vim/autoload ~/.vim/bundle
cd ~/.vim/bundle
git clone https://github.com/tpope/vim-pathogen.git
git clone https://github.com/scrooloose/nerdtree.git
git clone https://github.com/tpope/vim-fugitive.git
git clone https://github.com/vim-scripts/taglist.vim.git
cd ~/.vim/autoload ; ln -s ../bundle/vim-pathogen/autoload/pathogen.vim
" Simple vim setup with some essential plugins
"
" pathogen - https://github.com/tpope/vim-pathogen
" taglist.vim - http://www.vim.org/scripts/script.php?script_id=273
" NERD Tree - http://www.vim.org/scripts/script.php?script_id=1658
" fugitive.vim -- http://www.vim.org/scripts/script.php?script_id=2975
"
" INSTALL INSTRUCTIONS:
" mkdir -p ~/.vim/autoload ~/.vim/bundle
" cd ~/.vim/bundle
" git clone https://github.com/tpope/vim-pathogen.git
" git clone https://github.com/scrooloose/nerdtree.git
" git clone https://github.com/tpope/vim-fugitive.git
" git clone https://github.com/vim-scripts/taglist.vim.git
" cd ~/.vim/autoload ; ln -s ../bundle/vim-pathogen/autoload/pathogen.vim
if filereadable(expand("$HOME/.vim/autoload/pathogen.vim"))
silent! call pathogen#infect()
endif
syntax on
filetype plugin indent on
set timeoutlen=450 " Time to wait after ESC (default causes an annoying delay)
set ts=2
set sw=2
set expandtab
" Don't use Ex mode, use Q for formatting
map Q gq
let maplocalleader = ","
""""" Settings for NERDTree
let NERDTreeIgnore=['\~$', '^\.git', '\.swp$', '\.DS_Store$']
let NERDTreeShowHidden=1
nmap <LocalLeader>nn :NERDTreeToggle<cr>
" ---------------------------------------------------------------------------
""""" Settings for taglist.vim
let Tlist_Use_Right_Window=1
let Tlist_Auto_Open=0
let Tlist_Enable_Fold_Column=0
let Tlist_Compact_Format=0
let Tlist_WinWidth=28
let Tlist_Exit_OnlyWindow=1
let Tlist_File_Fold_Auto_Close = 1
nmap <LocalLeader>tt :Tlist<cr>
@bambery
Copy link

bambery commented Jul 9, 2013

The taglist repo you're cloning from hasn't been updated in 3 years, and the plugin was actually updated in Feb 2013. To get the most recent version, you still need to download from sourceforge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment