Enter Unicode characters with 8-digit hex code

epsilonhalbe picture epsilonhalbe · Feb 2, 2012 · Viewed 12.8k times · Source

How do I enter Unicode characters like 𝓭 without copying it to the clipboard and pasting it?

Things I know:

  • The command ga on the character 𝓭 gives me hex:0001d4ed.
  • I can copy it on the clipboard and paste it via "+p.
  • I know how to enter Unicode values that have a 4 digit hex code:
    <C-v>u for example <C-v>u03b1 gives the α character.

Answer

Eduardo Ivanec picture Eduardo Ivanec · Feb 2, 2012

You can use <C-v>U, that is, an uppercase u, to input an 8 digit hex codepoint character.

More information here and here.