Information Retrieval Blog
Pages
(Move to ...)
Home
Toolkits
Links
Misc skills
▼
9/8/12
vi, vim 显示行号或行数
在命令模式输入以下命令
1. 显示行号
:set number
2. 取消行号显示
:set nonumber
3. 跳到一特定行 (必须得在命令模式,好像必须
每次都得先按Esc键
)
回到第一行: G
跳到特定行如99行: 99G
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment