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
<Ctrl-K>
. - 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>
prefix (or<Ctrl-Q>
if<Ctrl-V>
is remapped to paste from the clipboard).
Comments (1)
Pepsh Pepshinsky
Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE