How do I enable an alternative digraph entry mode where I type two characters then backspace?
With :set digraph enabled, you can enter special characters in insert mode by typing the two-character digraph code followed by (backspace).
category:
config
tags:
#insert-mode
#digraphs
#unicode
#special-characters
#config
How do I type special characters and symbols using Vim's built-in digraph system in insert mode?
Vim's digraph system lets you insert special characters, accented letters, and symbols by typing a memorable two-character sequence.
category:
editing
tags:
#insert-mode
#special-characters
#unicode
#editing
How do I find invalid UTF-8 byte sequences in a file in Vim?
The 8g8 command searches forward from the cursor for the first byte that belongs to an invalid UTF-8 sequence.
category:
navigation
tags:
#navigation
#search
#encoding
#unicode
#editing
How do I see the raw UTF-8 byte values of the character under the cursor?
Pressing g8 in normal mode displays the UTF-8 encoding of the character under the cursor as a sequence of hex bytes.
category:
navigation
tags:
#navigation
#encoding
#unicode
#normal-mode
How do I insert a Unicode character by its codepoint in insert mode?
In insert mode, pressing followed by u and a 4-digit hexadecimal codepoint inserts the corresponding Unicode character directly into the buffer.
category:
editing
tags:
#insert-mode
#editing
#unicode
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 a visual block selection with digraph or special characters?
Visual block mode combined with the replace command and digraph input lets you replace a column of characters with special Unicode characters.
category:
visual-mode
tags:
#visual-mode
#digraph
#unicode
#block-mode
How do I insert special Unicode characters using digraphs in Vim?
Vim's digraph system lets you insert special characters by pressing followed by a two-character mnemonic code.
category:
editing
tags:
#editing
#digraph
#unicode
#special-characters
How do I insert a Unicode character by its code point in Vim?
In insert mode, followed by u and a 4-digit hex code inserts the Unicode character with that code point.
category:
editing
tags:
#editing
#unicode
#insert-mode
#special-characters
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 insert special characters like ©, ±, or → without leaving Vim?
Vim has a built-in digraph system that lets you insert hundreds of special characters by typing two-character mnemonics.
category:
editing
tags:
#editing
#insert-mode
#special-characters
#unicode
#productivity