vi显示行号

输入如下配置:

# 某一行显示
:number
# 全部显示
:set number
# 跳转到第2行
:2G

 

posted @ 2018-12-04 15:02  EasonJim  阅读(963)  评论(0编辑  收藏  举报