Some useful settings of [vi] VI

xiaoxiao2021-03-06  114

SET AI starts automatic indentation SET CINDENT Enlarges to indent mode, very suitable for writing C, PHP, Perl and other programs, using SET NOWRAP forbidden to wrap SET ExpandTab Using Space instead of TabSet ShiftWidth = 4 Specify the width of 4 spaces Width set softwareTabStop = 4 Sets the width of the Tab button to 4 spaces of the width tabstop = 4 Set the width of the tab set Nu display line number

转载请注明原文地址:https://www.9cbs.com/read-125369.html

New Post(0)