In my.vimrc file, how can I make it so that when I tab in X amount of times about (let's say 3) that when I hit return, it'll also be tabbed in 3 times?
:set ai
ai
is auto-indent
To disable auto-indent:
:set ai!
This should be enough... set smartindent
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.