[英]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?在 my.vimrc 文件中,我怎样才能做到当我输入 X 次(比方说 3 次)时,当我按下回车键时,它也会被输入 3 次?
:set ai
ai
is auto-indent ai
是自动缩进的
To disable auto-indent:要禁用自动缩进:
:set ai!
This should be enough... set smartindent
这应该足够了... set smartindent
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.