Created
September 21, 2011 09:58
-
-
Save onjin/1231714 to your computer and use it in GitHub Desktop.
.vimrc commons
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
" where i'm | |
set number | |
set cursorline | |
set nocursorcolumn | |
" work with .vimrc | |
map ,v :sp ~/.vimrc<cr> " edit my .vimrc file in a split | |
map ,e :e ~/.vimrc<cr> " edit my .vimrc file | |
map ,u :source ~/.vimrc<cr> " update the system settings from my vimrc file | |
" alt+arrow window movement | |
nnoremap <M-Right> <C-W><Right> | |
nnoremap <M-Left> <C-W><Left> | |
nnoremap <M-Up> <C-W><Up> | |
nnoremap <M-Down> <C-W><Down> | |
" automate common tasks | |
iab pdb@ import pdb<CR>pdb.set_trace() | |
iab ipdb@ import ipdb<CR>ipdb.set_trace() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment