Back to TILs

How to type Unicode in Vim

Date: 2022-11-03Last modified: 2022-11-03

Use Ctrl+V then u and the 4 hex numbers of the character.

Example 1: to type ■ U+25A0 Black square

^vu25a0 or ^vu25A0

Example 2: to type · U+00B7 Middle dot

^vub7<esc> or ^vu00b7