vim is a text editor commonly used by programmers in Linux/Unix environments. Programmers while programming need symbols like , the Copyright symbol ©, , the trademark symbol ™. Have you wondered that these symbols can be inserted in Vim as well. These symbols and many other mathematical symbols are often associated with two characters.
Take for example, Copyright can be inserted in Vim, if you can remember the first two letters of the word – Co.
- Open Vim
- Press i to enter Insert mode
- Press CTRL+k
- You will see a Question mark symbol
- Enter the two letters ‘Co’
- And you will see the Copyright symbol ©
These two letter combination in Vim are called digraphs