command | result |
g==G | Reformat a file |
% | Putting the cursor on a brace, bracket, or parenthesis and pressing % will send the cursor to the matching brace, bracket, or parenthese. Great for fixing parse problems related to heavily nested blocks of code or logic. |
» | Indent the highlighted code. (See the earlier section about efficient text selection. If no text is selected, the current line is indented.) |
« | Like », but un-indents. |
gd | Go to the definition (or declaration) of the function or variable under the cursor. |
* | search for word under cursor forwards |
# | search for word under cursor backwards |