Does Vim have a command equivalent to Emacs' Ctrl-i?
Emacs has an extremely useful shortcut "C-i" which fixes indentation of the current line (or selected lines.)
For example, suppose you write this tiny code on Emacs:
def foo
print "boo"
end
and you are selecting the whole 3 lines. You press "C-i" then the code becomes
def foo
print "boo"
end
I can use this in quiet mode i.e. ignoring .emacs as well. Does anyone know how to do this on Vim? Please advise. Thanks. Nathan
