diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2022-02-20 16:14:02 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2022-02-20 16:14:02 +0700 |
commit | a72141a919fc25098e476eb0876c83a55f61b199 (patch) | |
tree | 42764725a51a1468a786b111130ccb5c904ca211 | |
parent | 7ddd325f25733066de4e9ff41a4779bfcedea9e0 (diff) | |
download | blog-a72141a919fc25098e476eb0876c83a55f61b199.tar.gz |
Add new TIL
-rw-r--r-- | content/til/insert-unicode.md | 16 | ||||
m--------- | themes/anibus | 0 |
2 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. diff --git a/themes/anibus b/themes/anibus -Subproject f11badbdcc8d1b8406f0ff5cdd056ac6d0cd3f2 +Subproject 296b58f8134e68a8cff52378646a8377ae7eb97 |