Is there a command to make a newline without the autoindent? In other words, I want o
and O
to normally autoindent, but is there another command that will not autoindent for just the duration of that command?
Alternatively (if there isn't a way to that exactly), what's a better workaround than just backspacing a ton after autoindenting many tabs too far.
Example
if some_check():
self.some_long_function_name(withlots, ofargs
andmaybe=keywordargs)
# ^ Indents to the caret
Pressing o
on the andmaybe=keywordargs
line leaves me way more indented than I want to be.
andmaybe
is indented 8 chars (double shiftwidth). When I hito
, the cursor is aligned withself
. This even works when I indentandmybe
manually to align it with the open paranthesis. BTW: Vim 8.1.1223