Reverse a word in Vim

前端 未结 10 1466
南方客
南方客 2021-01-17 11:16

How can I reverse a word in Vim? Preferably with a regex or normal-mode commands, but other methods are welcome too:

word => drow

<
10条回答
  •  暖寄归人
    2021-01-17 11:39

    If you have some time on your hands, you can bubble your way there by iteratively transposing characters (xp)...

提交回复
热议问题