Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Accents in vim: Cannot write "â"

Tags:

vim

I can't get "â" to be written. I can write "Â" though (carrot + capital A).

Any other accent can be written as in any other text editor.

Any suggestions?

Thank you in advance.

like image 730
Marcelo Avatar asked Dec 02 '13 18:12

Marcelo


People also ask

How do you type special characters with accents?

The most reliable way to enter accented characters on a Windows PC is to use the Unicode Alt codes. Each accented character has its own 4-digit code. To enter a character, hold down the ALT key, type in the corresponding 4-digit code, and then release the ALT key.


1 Answers

You may want to look at the :digraph comamnd in Vim. It will show you the combinations to use with <C-k> to make accented characters. In your case, you want <C-k> followed by a>.

Note: <C-k> means "Control + k" whereas a> means the letter "a" followed by a ">" (greater than sign).

like image 72
John Szakmeister Avatar answered Oct 03 '22 04:10

John Szakmeister