How do I see the Unicode code point of the character under the cursor?
The ga command displays the ASCII/Unicode value of the character under the cursor in decimal, hexadecimal, and octal.
category:
editing
tags:
#editing
#unicode
#debugging
#normal-mode
#inspection
How do I quickly toggle options and navigate lists using bracket mappings in Vim?
The vim-unimpaired plugin by Tim Pope provides a consistent set of bracket-based mappings for toggling Vim options, navigating paired lists, and performing comm
category:
plugins
tags:
#plugins
#unimpaired
#navigation
#options
#workflow
How do I use bracket mappings for paired operations?
[q, ]q, [b, ]b (vim-unimpaired)
vim-unimpaired by Tim Pope provides consistent bracket mappings for navigating paired items like quickfix entries, buffers, and more.
category:
plugins
tags:
#plugins
#navigation
How do I run an Ex command without changing the current search pattern?
Many Ex commands silently overwrite the search register (@/), which changes your hlsearch highlighting and n/N behavior.
category:
command-line
tags:
#ex-commands
#search
#command-line
How do I collapse multiple consecutive spaces into a single space throughout a file?
The pattern \s\+ matches one or more whitespace characters (spaces, tabs).
category:
editing
tags:
#editing
#search
#ex-commands
How do I set up blink.cmp as a faster, Rust-powered completion engine in Neovim?
blink.
category:
plugins
tags:
#completion
#plugins
#lsp
#insert-mode
How do I refer to the current filename, extension, or directory in Vim ex commands?
Vim's filename modifiers let you derive path components from the current file's name directly inside ex commands.
category:
command-line
tags:
#command-line
#ex-commands
#buffers
How do I scroll the screen up by one line without moving the cursor?
The command scrolls the window up one line at a time while keeping the cursor position fixed.
category:
navigation
tags:
#navigation
#scrolling
#normal-mode
How do I land the cursor a few lines above or below a search match?
Vim's search command accepts an offset after the pattern that shifts where the cursor lands relative to the match.
category:
search
tags:
#search
#navigation
#motions
#regex
#advanced
How do I open all listed buffers as separate tabs at once?
:tab ball (short for :tab sball, "split all buffers in tabs") opens every listed buffer in its own tab page in a single command.
category:
buffers-windows
tags:
#buffers-windows
#tabs
#ex-commands
How do I convert text to title case (capitalize first letter, lowercase the rest of each word)?
Vim's substitute command supports case-conversion escape sequences in the replacement string.
category:
search
tags:
#search
#editing
#normal-mode
#ex-commands
How do I get just the filename without its path or extension to use in a command?
Vim's % special character expands to the current filename and accepts a chain of colon-delimited modifiers.
category:
command-line
tags:
#command-line
#ex-commands
#editing
#navigation
How do I convert text to title case in Vim using a substitution command?
Vim's substitution engine supports case-modifier sequences in the replacement string, making it possible to convert text to title case in a single command.
category:
search
tags:
#search
#substitution
#regex
#editing
#case
#formatting
How do I insert special characters like arrows, math symbols, or accented letters in Vim?
Vim has a built-in digraph system that lets you type special characters using short two-character codes.
category:
editing
tags:
#editing
#insert-mode
#unicode
#special-characters
How do I replace only the current match and then stop when doing an interactive substitution in Vim?
l (in :%s///gc confirm prompt)
When running an interactive substitution with the c flag (e.
category:
editing
tags:
#search
#editing
#substitution
#ex-commands
#normal-mode
How do I search for a pattern and land on a specific line offset from the match?
/pattern/+N or /pattern/-N
Vim's search command accepts an offset that places your cursor on a line relative to the match.
category:
navigation
tags:
#navigation
#search
#offset
#motions
What is the difference between the inner word (iw) and inner WORD (iW) text objects in Vim?
Vim has two flavors of the "inner word" text object that are easy to confuse: iw (lowercase) and iW (uppercase).
category:
editing
tags:
#text-objects
#editing
#motions
#normal-mode
How do I uppercase or capitalize matched text inside a Vim substitution?
Vim's substitute command supports special case-conversion sequences in the replacement string, letting you transform matched text to upper or lower case without
category:
editing
tags:
#editing
#search
#ex-commands
#normal-mode
How do I navigate between diagnostics with filtering by severity in Neovim 0.10+?
Neovim 0.
category:
plugins
tags:
#navigation
#editing
How do I insert a Unicode character by its code point?
<C-v>u{code} in insert mode
In insert mode, u followed by a 4-digit hex code inserts the Unicode character at that code point.
category:
editing
tags:
#editing
#insert-mode