about summary refs log tree commit diff
path: root/content/sw-notes/insert-unicode.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/sw-notes/insert-unicode.md')
-rw-r--r--content/sw-notes/insert-unicode.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/content/sw-notes/insert-unicode.md b/content/sw-notes/insert-unicode.md
new file mode 100644
index 0000000..c897fc3
--- /dev/null
+++ b/content/sw-notes/insert-unicode.md
@@ -0,0 +1,16 @@
+---
+title: "How to insert unicode in vim"
+date: 2022-02-20
+lang: en
+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.