Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to find some Unix tool to input any Unicode key. I am fine with X application or console but I use Vi/m and it may have this property. For example, suppose I want to input key "U+0303" or the key "U+007E" in Unicode.

You should get something below, source, with the unicodes:

U+0303 ◌̃ combining tilde and U+007E ~ 

I am looking for a general tool, not be depended on certain kbd layouts. It is actually better if it is was some very basic tool without unnecessary bells-and-whistles. The simplest win.

share|improve this question
If nothing else is present, entering javascript:document.write("~"); into a browser's empty tab gives you something to copy-and-paste. Far from comfortable, but these days, you'll hardly ever be without browser. – Ulrich Schwarz Nov 17 '11 at 18:44
up vote 4 down vote accepted

In GTK+ applications you can simply press Ctrl+Shift+u, type in the hex and press Enter. Example:

Ctrl+Shift+u 7 E Enter~

This works in my Vim. For the native Vim combination:

Ctrl+v u 7 E Escape~; cursor on top of the key

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.