vi/vim显示行号,列出设置项 命令模式下输入 # 显示行号 :set number # 关闭行号 :set nonumber # 列出当前所有设置项 :set all # 列出当前使用的设置项 :set 参考