2013-11-01 55 views
0

我正在使用Macvim編輯Markdown,並且我可以知道是否有我可以設置它的設置,以便每當我輸入時,前一行的縮進空間都會保留。我不想爲每一行使用TAB。謝謝。使用Markdown的Macvim空格縮進

回答

2

請嘗試啓用autoindent選項:

:set autoindent 

或:從Vim的手動

:set ai 

說明:

'autoindent' 'ai' boolean (default off) 
     local to buffer 
Copy indent from current line when starting a new line (typing <CR> 
in Insert mode or when using the "o" or "O" command). 
+0

非常感謝! – cherhan