Skip to content

Instantly share code, notes, and snippets.

@jenkek
Created December 7, 2012 10:06
Show Gist options
  • Save jenkek/4232265 to your computer and use it in GitHub Desktop.
Save jenkek/4232265 to your computer and use it in GitHub Desktop.
vimrc
source ~/.vim/vimrc
imap <Ins> <Esc>i
autocmd BufWritePre * :%s/\s\+$//e
"Bubble single lines
nmap <C-Up> ddkP
nmap <C-Down> ddp
"Bubble multiple lines
vmap <C-Up> xkP`[V`]
vmap <C-Down> xp`[V`]
au BufNewFile,BufRead *.erbtex set filetype=tex
colorscheme railscasts
let g:gist_show_privates = 1
let g:gist_detect_filetype = 1
let g:github_token = '33f83ae16d27be94a70c93a5e545d66b'
set expandtab
set shiftwidth=2
set softtabstop=2
let g:ctrlp_custom_ignore = '\.bundle$\|bin$\|\.git$\|.swp$'
"key mapping for tab navigation
nmap <Tab> gt
nmap <S-Tab> gT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment