about summary refs log tree commit diff
path: root/content
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2022-02-20 16:14:02 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2022-02-20 16:14:02 +0700
commita72141a919fc25098e476eb0876c83a55f61b199 (patch)
tree42764725a51a1468a786b111130ccb5c904ca211 /content
parent7ddd325f25733066de4e9ff41a4779bfcedea9e0 (diff)
downloadblog-a72141a919fc25098e476eb0876c83a55f61b199.tar.gz
Add new TIL
Diffstat (limited to 'content')
-rw-r--r--content/til/insert-unicode.md16
1 files changed, 16 insertions, 0 deletions
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 <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.