0c6db60d6556
vim: a few mappings
| author | Steve Losh <steve@stevelosh.com> |
|---|---|
| date | Tue, 31 Aug 2010 10:30:54 -0400 |
| parents | be6bede7ce49 |
| children | f26c5af58bd9 |
| branches/tags | (none) |
| files | vim/.vimrc |
Changes
--- a/vim/.vimrc Thu Aug 26 10:37:27 2010 -0400 +++ b/vim/.vimrc Tue Aug 31 10:30:54 2010 -0400 @@ -75,10 +75,10 @@ let NERDTreeIgnore=['.vim$', '\~$', '.*\.pyc$', 'pip-log\.txt$'] " Use the damn hjkl keys -map <up> <nop> -map <down> <nop> -map <left> <nop> -map <right> <nop> +nnoremap <up> <nop> +nnoremap <down> <nop> +nnoremap <left> <nop> +nnoremap <right> <nop> " And make them fucking work, too. nnoremap j gj @@ -208,3 +208,9 @@ " Easy filetype switching nnoremap _dt :set ft=htmldjango<CR> nnoremap _jt :set ft=htmljinja<CR> + +" Learn to backspace the right way +inoremap <BS> <nop> + +" VCS Stuff +let VCSCommandMapPrefix = "<leader>h"