61488a7c8ab9
Add sourcing mappings.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Tue, 25 Oct 2011 20:54:53 -0400 |
parents | 72ed0a7f6ea9 |
children | 7f2c706a6945 |
branches/tags | (none) |
files | vim/.vimrc |
Changes
--- a/vim/.vimrc Tue Oct 25 19:43:20 2011 -0400 +++ b/vim/.vimrc Tue Oct 25 20:54:53 2011 -0400 @@ -734,6 +734,10 @@ nnoremap <leader>1 :set cmdheight=1<cr> nnoremap <leader>2 :set cmdheight=2<cr> +" Source +vnoremap <leader>S y:execute @@<cr> +nnoremap <leader>S ^vg_y:execute @@<cr> + " Replaste nnoremap <D-p> "_ddPV`]=