Last active

Embed URL


SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View gist:6719030
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
mkdir -p .vim/autoload
mkdir -p .vim/backup
mkdir -p .vim/bundle
cd .vim/bundle
git clone git://
git clone git://
git clone git://
git clone git://
cd ../..
curl > ~/.vim/autoload/pathogen.vim
echo "set nocompatible
filetype off
call pathogen#incubate()
call pathogen#helptags()
syntax on
set nocompatible \"don't need to keep compatibility with Vi
set background=dark \"make vim use colors that look good on a dark background
set showcmd \"show incomplete cmds down the bottom
set showmode \"show current mode down the bottom
set incsearch \"find the next match as we type the search
set hlsearch \"hilight searches by default
set autoindent
set shiftwidth=2 \"number of spaces to use in each autoindent step
set tabstop=2 \"two tab spaces
set softtabstop=2 \"number of spaces to skip or insert when <BS>ing or <Tab>ing
set expandtab \"spaces instead of tabs for better cross-editor compatibility
set autoindent \"keep the indent when creating a new line
set smarttab \"use shiftwidth and softtabstop to insert or delete (on <BS>) blanks
set cindent \"recommended seting for automatic C-style indentation
set autoindent \"automatic indentation in non-C files
set cursorline
set cursorcolumn
set wildmenu \"make tab completion act more like bash
set wildmode=list:longest \"tab complete to longest common string, like bash
set mouse-=a \"disable mouse automatically entering visual mode
set wrap!
set bs=2
set number
set hidden \"allow hiding buffers with unsaved changes
set cmdheight=2 \"make the command line a little taller to hide "press enter to viem more" text
set backupdir=$HOME/.vim/backup
set directory=$HOME/.vim/backup
let mapleader = "," \"remap leader to ',' which is much easier than '\'
map <Leader>d :NERDTreeToggle<CR> :set number<CR> \"make nerdtree open when you hit ,d
" >> .vimrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.