Vim: how do I swap two characters?

后端 未结 4 464
野性不改
野性不改 2021-02-03 17:23

Is there a fast command to change

Cnotrol

to

Control
4条回答
  •  无人共我
    2021-02-03 17:38

    You can also just use Xp with the cursor being on the second character. That way you stay on the same position without defining a new mapping.

提交回复
热议问题