From a72141a919fc25098e476eb0876c83a55f61b199 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Sun, 20 Feb 2022 16:14:02 +0700 Subject: Add new TIL --- content/til/insert-unicode.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 content/til/insert-unicode.md (limited to 'content') diff --git a/content/til/insert-unicode.md b/content/til/insert-unicode.md new file mode 100644 index 0000000..0fd6b28 --- /dev/null +++ b/content/til/insert-unicode.md @@ -0,0 +1,16 @@ +--- +title: "TIL How to insert unicode in vim" +date: 2022-02-20 +lang: en +categories: [ til ] +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 Ctrl+V, then type u, then type the +hex unicode. + +You can also type character like escape (shown as `^[`) or carriage return +(shown as `^M`) by typing Esc or Enter respectively. -- cgit 1.4.1