vim editor sets the indent and permanent display line numbers

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/weixin_43669941/article/details/86717640

1. Go to the directory / etc / vim

2. Enter sudo vim vimrc, then enter the current user password

3. Add at the end

not set 

set ts=4 

4. Save and exit

Guess you like

Origin blog.csdn.net/weixin_43669941/article/details/86717640