Mercurial > dotfiles.old
comparison vimrc @ 227:233c9d811b68
Add shortcut for editing vimrc
author | zegervdv <zegervdv@me.com> |
---|---|
date | Thu, 22 Jan 2015 11:57:26 +0100 |
parents | 55ff9bb3ea22 |
children | 27091bae3a7e |
comparison
equal
deleted
inserted
replaced
226:55ff9bb3ea22 | 227:233c9d811b68 |
---|---|
263 cnoremap <c-e> <end> | 263 cnoremap <c-e> <end> |
264 | 264 |
265 " Swap backticks and quotes | 265 " Swap backticks and quotes |
266 nnoremap ` ' | 266 nnoremap ` ' |
267 nnoremap ' ` | 267 nnoremap ' ` |
268 | |
269 " Open vimrc | |
270 nnoremap <leader>ev :e $MYVIMRC<CR> | |
268 " }}} | 271 " }}} |
269 | 272 |
270 " Functions {{{ | 273 " Functions {{{ |
271 " When editing a file, always jump to the last known cursor position. | 274 " When editing a file, always jump to the last known cursor position. |
272 " Don't do it for commit messages, when the position is invalid, or when | 275 " Don't do it for commit messages, when the position is invalid, or when |