When I am adding a line via O or o it is added according to the indentation around it.
Is there a way to do the same when using A or I?
class
def method
▋ | cursor starts in the first column
end
end
... *clickety-click* ...
class
def method
▋ | cursor is correctly positioned inside the method
end
end
O and o do that out of the box but then I have to start at the line higher/lower.
Use S or cc to start insert mode at the right indentation level.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With