How do I jump to the local definition of a variable in Vim?
The gd command jumps to the local definition of the word under the cursor.
category:
navigation
tags:
#navigation
#motions
#normal-mode
#search
How do I jump to the end of a word in Vim?
The e command moves the cursor to the last character of the current word.
category:
navigation
tags:
#navigation
#motions
#normal-mode
How do I jump to the beginning of the next word?
The w command moves the cursor forward to the beginning of the next word.
category:
navigation
tags:
#navigation
#motions
#normal-mode
How do I jump back to my previous cursor position?
The (Ctrl+o) command jumps the cursor backward through the jump list, returning you to previous cursor positions.
category:
navigation
tags:
#navigation
#motions
#normal-mode
How do I jump to the beginning of the previous word?
The b command moves the cursor backward to the beginning of the previous word.
category:
navigation
tags:
#navigation
#motions
#normal-mode
How do I move the cursor to the top of the visible screen?
The H command moves the cursor to the first line of the currently visible screen (the "High" position).
category:
navigation
tags:
#navigation
#motions
#normal-mode
How do I jump between paragraphs in Vim?
The { and } commands move the cursor by paragraph — jumping to the previous or next blank line.
category:
navigation
tags:
#navigation
#motions
#normal-mode
How do I jump to a specific character on the current line?
The f{char} command moves the cursor forward to the next occurrence of {char} on the current line.
category:
navigation
tags:
#navigation
#motions
#normal-mode
How do I jump to just before a specific character on the current line?
The t{char} command moves the cursor forward to the character just before the next occurrence of {char} on the current line.
category:
navigation
tags:
#navigation
#motions
#normal-mode
How do I jump to the beginning of a file in Vim?
The gg command moves the cursor to the first line of the file.
category:
navigation
tags:
#navigation
#motions
#normal-mode
How do I jump to the last line of a file in Vim?
The G command moves the cursor to the last line of the file.
category:
navigation
tags:
#navigation
#motions
#normal-mode
How do I jump to a specific line number in Vim?
The 42G command jumps the cursor directly to line 42 in the current file.
category:
navigation
tags:
#navigation
#motions
#normal-mode
How do I delete from the cursor to the end of a word?
The de command deletes from the cursor position to the end of the current word.
category:
editing
tags:
#editing
#delete
#motions
#normal-mode
How do I jump to the matching bracket or parenthesis?
The % command jumps to the matching bracket, parenthesis, or brace.
category:
navigation
tags:
#navigation
#motions
#brackets
#normal-mode
How do I repeat the last change in Vim?
The .
category:
editing
tags:
#editing
#normal-mode
#productivity
#motions