vi - Maintain indentation from previous row in vim -


what name of option keeps indentation when moving new row.

example

subject     indented , press enter     indentation happen automatically  subject     indented , press enter start here here , indent manually 

from manual (:help indent.txt):

autoindent uses indent previous line

...so:

:set autoindent 

if not work try starting vim without plugins , skipping .vimrc initializations:

vim -u none -n 

Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -