blob: 9bfb7bbeb970ad26a1a37f94bed83ab055760653 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
+++
title = "How to insert unicode in vim"
date = 2022-02-20
categories = ["software", "guide"]
tags = ["vim", "how-to", "unicode"]
translationKey = "vim-insert-unicode"
+++
Today I learned how to insert unicode in Vim. It's simple:
In insert mode, type <kbd>Ctrl+V</kbd>, then type <kbd>u</kbd>, then type the
hex unicode.
You can also type character like escape (shown as `^[`) or carriage return
(shown as `^M`) by typing <kbd>Esc</kbd> or <kbd>Enter</kbd> respectively.
|