在ubuntu中vim編輯器中增加行號

進入ubuntu 終端輸入 [email protected]:~$ cd /etc [email protected]:/etc$ cd vim/ [email protected]:/etc/vim$ sudo vi vimrc 在末尾增加set number 最後esc :x保存 再次重新進入vim就Ok啦
相關文章
相關標籤/搜索