'=' doesn't indent as such (it might not be deemed 'necessary')...it formats. The difference being that it totally depends on other formatting settings. I forget which...
Well, it indents in the sense of indent(1). It's useful for programming. For simple text you might want to look at gq.
Thanks! I did
cit (correct inner tag!!!)
:)
ie) a perl string like so $mystring="This is my long strong"
Can be changed by moving the cursor just after the first " and entering c/"
Try ct" (correct till ") - it is easier and more straight forward. Also of use is cf" (correct forward "). The last one also deletes the ".
There are far too many "essential" commands in vim, but if I had to pick the two that make the most difference, I would pick * and =. * searches for the word under the cursor and = indents the selected text (most useful for programming).
Am I just a vim noob? After doing a search and loving the nice highlighting, is there a way to unhighlight the search term without doing a "/lkasjdfkjdfdf"?
:nohl
Life is a healthy respect for mother nature laced with greed.