Skip to content

Instantly share code, notes, and snippets.

@priceflex
Created May 31, 2012 03:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save priceflex/2840810 to your computer and use it in GitHub Desktop.
Save priceflex/2840810 to your computer and use it in GitHub Desktop.
My vimrc file
map <C-t> :CommandT<CR>
set number
set showcmd
set background=dark
map <Esc>[A <Up>
map <Esc>[B <Down>
map <Esc>[C <Right>
map <Esc>[D <Left>
syntax on
set tabstop=2
set autoindent
set shiftwidth=2
set expandtab
set spell
map <S-t> :CommandTFlush<CR>
inoremap <Nul> <C-n>
inoremap <C-l> <C-x><C-u>
call pathogen#infect()
filetype plugin indent on
set bs=2
let mapleader = ","
set tags=./tags;
autocmd FileType ruby let &l:tags = pathogen#legacyjoin(pathogen#uniq(
\ pathogen#split(&tags) +
\ map(split($GEM_PATH,':'),'v:val."/gems/*/tags"')))
map <Leader>b :Gblame<cr>
map <Leader><Leader> <Leader>c<space>
set shell=/usr/bin/zsh
imap jj <esc>
map aa :!bundle exe annotate -p before<cr>
map mm :Rmodel<cr>
map cc :Rcontroller<cr>
map vv :Rview<cr>
map rr :Rake<cr>
"imap ww <esc>:w<cr>
map ,c :bd<cr>
map tt :NERDTree<cr>
set hlsearch
set spelllang=en_us
set pastetoggle=<Leader>v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment