VIM编辑Python自动换行

编辑~./vimrc,加入如下

set tabstop=4
set softtabstop=4
set shiftwidth=4
set autoindent        "always set autoindenting on
set smartindent       "set smart indent
set smarttab          "use tabs at the start of a line, spaces elsewhere

Leave a Reply

Your email address will not be published. Required fields are marked *