简体   繁体   中英

Pick up from last line in vimrc

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM