How do I jump to the next or previous method start using built-in motions?
When you're reviewing or refactoring C-style code, jumping by words or paragraphs is too coarse, and search can become noisy.
category:
navigation
tags:
#navigation
#motions
#code-navigation
#normal-mode
How do I preview a fuzzy tag match in the preview window without immediately switching buffers?
When a symbol name is ambiguous, jumping directly with :tag can bounce you around the codebase and disrupt your working context.
category:
navigation
tags:
#navigation
#tags
#windows
#code-navigation
#command-line
How do I navigate back through the tag stack after jumping to definitions?
When you jump to a tag definition with , Vim pushes your location onto a tag stack.
category:
navigation
tags:
#navigation
#tags
#tag-stack
#code-navigation
How do I jump between method or function definitions in Vim?
The [m and ]m motions jump to the start of method/function definitions in languages with brace-delimited blocks.
category:
navigation
tags:
#navigation
#motions
#methods
#code-navigation
How do I quickly select an entire function body using visual mode?
The a{ (around braces) and i{ (inside braces) text objects combined with visual mode let you instantly select an entire function body or code block, regardless
category:
visual-mode
tags:
#visual-mode
#text-objects
#code-navigation
#selection
How do I navigate through code using tags and the tag stack?
The command jumps to the definition of the keyword under the cursor using a tags file, and jumps back.
category:
navigation
tags:
#navigation
#tags
#code-navigation
#ctags
How do I use LSP for go-to-definition, references, and refactoring in Neovim?
gd / gr / <leader>rn with nvim-lspconfig
The Language Server Protocol (LSP) brings IDE-level intelligence to Neovim — go-to-definition, find references, rename symbol, and more.
category:
plugins
tags:
#plugins
#lsp
#neovim
#code-navigation
#refactoring
How do I jump between matching if/else/endif or other language constructs?
The % command jumps between matching brackets by default, but with the built-in matchit plugin, it extends to match language-specific keywords like if/else/endi
category:
navigation
tags:
#navigation
#plugins
#matching
#code-navigation
How do I automatically fold code based on indentation level?
Setting foldmethod=indent tells Vim to create folds based on the indentation level of each line.
category:
config
tags:
#config
#folding
#indentation
#code-navigation