# HG changeset patch # User Steve Losh # Date 1319590493 14400 # Node ID 61488a7c8ab928a98ab8d5a518711bfc659650a9 # Parent 72ed0a7f6ea97c8907e641c66ace54cfe69f4997 Add sourcing mappings. diff -r 72ed0a7f6ea9 -r 61488a7c8ab9 vim/.vimrc --- 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 1 :set cmdheight=1 nnoremap 2 :set cmdheight=2 +" Source +vnoremap S y:execute @@ +nnoremap S ^vg_y:execute @@ + " Replaste nnoremap "_ddPV`]=