User Tools

Site Tools


public:techstuff:vim

vim

commandresult
g==GReformat 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.
gdGo 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
public/techstuff/vim.txt · Last modified: 2020/04/25 13:05 by 127.0.0.1