在 Vim 中反转单词 [英] Reverse a word in Vim

查看:39
本文介绍了在 Vim 中反转单词的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 Vim 中反转单词?最好使用正则表达式或普通模式命令,但也欢迎使用其他方法:

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

单词 => 卓尔

感谢您的帮助!PS:我在windows XP中

Thanks for your help! PS: I'm in windows XP

Python 内置在我的 vim 中,但不支持 Perl.

Python is built in supported in my vim, but not Perl.

推荐答案

这个提示可能有帮助:http://vim.wikia.com/wiki/Reverse_letters

这篇关于在 Vim 中反转单词的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆