Ben Tsai

Vim Tip: Swap Parameters

:map <Leader>t "qdt,dwep"qp

See my Stackoverflow answer.

This works if the next argument uses quotes:

:map <Leader>u "qdt,dwf"p"qp

I think...

Sunday, December 18, 2011