diff options
author | Bryan Newbold <bnewbold@archive.org> | 2017-11-21 16:04:03 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2017-11-21 16:07:53 -0800 |
commit | 7961ce324a8bc0472e4b6d982fc3d7e01146cc1f (patch) | |
tree | c33fba11898005188a500034dc49143db0b0a878 /software | |
parent | 3e32b4ca738d95d865d8c3cc480b1749709cfec9 (diff) | |
download | knowledge-7961ce324a8bc0472e4b6d982fc3d7e01146cc1f.tar.gz knowledge-7961ce324a8bc0472e4b6d982fc3d7e01146cc1f.zip |
vim: digraphs!
Diffstat (limited to 'software')
-rw-r--r-- | software/vim.page | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/software/vim.page b/software/vim.page index a4ff789..9fd4fb3 100644 --- a/software/vim.page +++ b/software/vim.page @@ -103,3 +103,17 @@ Links to more... ------------------ - `vim anti-patterns <http://blog.sanctum.geek.nz/vim-anti-patterns/>`_ + +Digraphs +------------ + +Digraphs are a simple mechanism for entering certin special characters (like τ, +ā, etc) on a boring English/USA keyboard. RFC1345 defines a mapping between +two-character digraph sequences and characters; these can be entered in vim +from insert mode using C-k followed by the two characters. For example, while +inserting, type `C-k t *` to get `τ`. In contemporary vim this comes though as +the correct UTF-8 encoding. + +For a long listing of characters, look at `help digraphs-default`, or this list +of math-y characters: http://www.alecjacobson.com/weblog/?p=443 + |