You can easily add symbols like the Mathematical symbols using vim. There are many symbols commonly used in mathematics like the alpha, beta, theta, gamma symbols. In addition to this, you have the division sign. Vim provides something called digraphs- which is a two letter combination for commonly used mathematical and other symbols like the Mathematical symbol, Copyright Symbol. For every digraph, there is an associated symbol

Take for example, we want to insert the symbol Beta. The Mathematical symbol can be inserted in Vim using the characters ‘b*’

- Open Vim
- Press i to enter Insert mode
- Press CTRL+k
- You will see a Question mark symbol
- Enter the two letters ‘b*’
- And you will see the Mathematical symbol β

Other mathematical symbols are as follows

- a* α

b* β

g* γ

h* θ

You can explore more about finding other mathematical symbols

Advertisements