从IBM中国上看到的:
也许你会觉得这些很有用:
* %(跳转到与之匹配的括号处)
* .(重复上次的修改命令)
* `.(跳转到最近修改过的位置)
* ZQ(无条件退出)
* ZZ(存盘退出)
* ga(显示光标下的字符在当前使用的 encoding 下的内码)
* guw(光标下的单词变为小写)
* gUw(光标下的单词变为大写)
* :TOhtml(根据 Vim 的语法加亮的方式生成 HTML 代码;在图形界面中也可以使用菜单“Syntax—Convert to HTML”达到同样效果)
无聊的时候,还可以试试(呵呵!):
* :help!
* :help 42
* :help holy-grail
不知道是怎么显示内码和最后三个o(∩_∩)o...
以前没有注意到的vim tip
- kofshower
- 帖子: 1343
- 注册时间: 2007-03-13 11:23
- 联系:
以前没有注意到的vim tip
上次由 kofshower 在 2008-07-21 7:27,总共编辑 1 次。
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
- solcomo
- 帖子: 2838
- 注册时间: 2007-04-25 13:12
- kofshower
- 帖子: 1343
- 注册时间: 2007-03-13 11:23
- 联系:
♜♞♝♛♚♝♞♜
♟♟♟♟♟♟♟♟
♙♙♙♙♙♙♙♙
♖♘♗♕♔♗♘♖
───────────────
☠☯⚔
☣☦☃ 
♟♟♟♟♟♟♟♟
♙♙♙♙♙♙♙♙
♖♘♗♕♔♗♘♖
───────────────
☠☯⚔

"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/