This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
public:techstuff:vim [2012/08/21 13:50] – external edit 127.0.0.1 | public:techstuff:vim [2020/04/25 13:05] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== vim ====== | ||
+ | |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.| | ||
+ | |>> | ||
+ | |<< | ||
+ | |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| |