Linux 中 Vim 显示行号两种方式

临时生效

# vim text.txt

:set nu

永久生效

# vim ~/.vimrc

# 输入以下内容
set nu

image.png


标题:Linux 中 Vim 显示行号两种方式
作者:Mune
地址:https://cnxiaobai.com/articles/2021/04/21/1619003452482.html

    评论
    0 评论
avatar

取消