输入如下配置:
# 某一行显示 :number # 全部显示 :set number # 跳转到第2行 :2G
vi显示行号
原文:https://www.cnblogs.com/EasonJim/p/10064166.html