Created
December 7, 2012 10:06
-
-
Save jenkek/4232265 to your computer and use it in GitHub Desktop.
vimrc
This file contains 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
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