How can I insert Unicode characters into a file using Vim?
Several methods are available: - Characters present on your keyboard can be typed in the usual way, even those which require a “dead-key” prefix, like (for instance) the circumflex on French keyboards.
- Characters for
which a digraph is defined can be typed as two characters prefixed by
- If you have set the ‘digraph’ option, you can enter the characters for which a digraph is defined as <char1><BS><char2>.
- Any character can be entered by using a
<Ctrl-V>is remapped to paste from the clipboard).