Enter Special Characters in Vim

Some characters are not on the keyboard—for example, the copyright character (©). To type these letters in Vim, you use digraphs, where two characters represent one.

To enter a ©, for example, you hold CTRL key and press K, and then type Co.

To find out the entire list of digraphs that are available, use the following command:
:digraphs

or the shorter version of the command:
:dig

You will see a list of command like the following screen shot:

digraph list screenshot

For instance, in the list, A' Á 193 means that if you want to type Á symbol, you
1. hold CTRL key and press K
2. and then type A'
3. you will get Á
4. 193 is just the character number for your reference.

Hope this helps! :)

Be Sociable, Share!

About Shi Chuan

I am a web developer.
This entry was posted in Vim and tagged . Bookmark the permalink.

One Response to Enter Special Characters in Vim

  1. Pingback: copyright character in vim | Zabrocki Answers

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>