Created
May 31, 2012 03:43
-
-
Save priceflex/2840810 to your computer and use it in GitHub Desktop.
My vimrc file
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
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