set autoindent in my
vimrc at the moment, and it's working how I wanted. However, if I skip over a line that it has auto-indented, the indents are removed after I hit enter or move with the arrow keys.
What I want:
(TAB)(TAB)//Some code here (TAB)(TAB) (TAB)(TAB)//Some more code here
What I get (if I begin from the first line):
(TAB)(TAB)//Some code here (TAB)(TAB)//Some more code here
How do I keep the tabs from the line I kept blank for organization? I've tried using
smartindent but I haven't gotten any good results.