Vim Tips Wiki


1,623pages on
this wiki
Add New Page
Add New Page Talk0

Use this page to discuss script 3708 swapcol: swap two columns

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on
  • This page may be out of date: check the script's page above, and its release notes.


Columns are separated by spaces. The script provides a mapping to quickly swap columns in one line, or in multiple selected lines. When working in one line, this allows words (separated by spaces) to be quickly swapped.


Also on Fandom

Random Wiki