Vim Tip: Swap Parameters

· Ben’s Blog


: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...