vi显示行号

输入如下配置:

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

猜你喜欢

转载自www.cnblogs.com/EasonJim/p/10064166.html