以前没有注意到的vim tip

Vim、Emacs配置和使用
回复
头像
kofshower
帖子: 1343
注册时间: 2007-03-13 11:23
联系:

以前没有注意到的vim tip

#1

帖子 kofshower » 2008-07-20 14:22

从IBM中国上看到的:
也许你会觉得这些很有用:

* %(跳转到与之匹配的括号处)
* .(重复上次的修改命令)
* `.(跳转到最近修改过的位置)
* ZQ(无条件退出)
* ZZ(存盘退出)
* ga(显示光标下的字符在当前使用的 encoding 下的内码)
* guw(光标下的单词变为小写)
* gUw(光标下的单词变为大写)
* :TOhtml(根据 Vim 的语法加亮的方式生成 HTML 代码;在图形界面中也可以使用菜单“Syntax—Convert to HTML”达到同样效果)

无聊的时候,还可以试试(呵呵!):

* :help!
* :help 42
* :help holy-grail

不知道是怎么显示内码和最后三个o(∩_∩)o...
上次由 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/
头像
solcomo
帖子: 2838
注册时间: 2007-04-25 13:12

#2

帖子 solcomo » 2008-07-20 21:53

:em11
♜♞♝♛♚♝♞♜
♟♟♟♟♟♟♟♟
♙♙♙♙♙♙♙♙
♖♘♗♕♔♗♘♖

☠☯⚔⚓☣☦☃☕
☹☻☪☭☬⚖⚛⚜
ℜℳℬ™ ℋℯℓ℘ ℳℭ
sƂɐʍ рǀɹoʍ əɥʇ oS
头像
kofshower
帖子: 1343
注册时间: 2007-03-13 11:23
联系:

#3

帖子 kofshower » 2008-07-25 12:22

♜♞♝♛♚♝♞♜
♟♟♟♟♟♟♟♟


♙♙♙♙♙♙♙♙
♖♘♗♕♔♗♘♖
───────────────
☠☯⚔⚓☣☦☃ :oops:
"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/
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#4

帖子 eexpress » 2008-07-25 20:28

● 鸣学
头像
solcomo
帖子: 2838
注册时间: 2007-04-25 13:12

#5

帖子 solcomo » 2008-07-25 20:32

☏ℋℌℭ℮ℯⅅⅆⅇⅈⅉℼℹℱ℗™℡
☀☁☂☃☄★
♔♕♖♗♘♙♚♛♜♝♞♟♠♡♢♣♤♥♦♧♨♩♪♫♬♭♮♯♰♱♲♳♴♵♶♷♸♹♺♻♼♽♾♿⚀⚁⚂⚃⚄
❦♀♂
:lol:
♜♞♝♛♚♝♞♜
♟♟♟♟♟♟♟♟
♙♙♙♙♙♙♙♙
♖♘♗♕♔♗♘♖

☠☯⚔⚓☣☦☃☕
☹☻☪☭☬⚖⚛⚜
ℜℳℬ™ ℋℯℓ℘ ℳℭ
sƂɐʍ рǀɹoʍ əɥʇ oS
回复