Vim Special Characters
Quick Info
:digraph
- shows table with digraphs. Digraphs work by pressing CTRL-K and a two-letter combination while in insert mode.
Frequently Used Digraphs
- DG (Degree Sign): °
- oC (Celcius Degree) ⇒ ℃ , oF (Fahrenheit) ⇒ ℉
- Eu (Euro): €
- Greek letters follow pattern with an astrisk: a*, b*, g*, D*, H*, L*, *t, *w, *W : α,β,γ, Δ, Θ, Λ, τ, ω, Ω
- Ohm sign: Om -> Ω, Micro sign: My ⇒ µ
- Registered: Rg ⇒ ®, Copyright: Co ⇒ ©
- Fractions follow pattern: 12 13 14 34 ⇒ ½ ⅓ ¼ ¾
- Superscript: 0S 1S 2S 3S… ⇒ 10⁰ 10¹ 10² 10³
- Superscript: +S -S =S (S )S nS ⇒ 10⁽ⁿ⁻¹⁾
- Subscript: 0s 1s 2s +s -s =s (s )s ⇒ 10₍₂₅₎
- Capital Romans: 1R-9R aR-cR ⇒ Ⅰ Ⅱ Ⅲ Ⅳ Ⅴ Ⅵ Ⅶ Ⅷ Ⅸ Ⅹ Ⅺ Ⅻ
- Small Romans: 1r-9r ar-cr ⇒ ⅰ-ⅸ ⅹ-ⅻ
- Arrows: <- ← -> → -!↑ -v↓ <>↔ =>⇒ <=⇐ ==⇔
-
Arrows: << « >> »
In Markdown there is an automatic replacement of double << into « and accordingly >> into ». Literal >> requires a backslash or HTML ampersand convention.
- Set operators: For All: FA ⇒ ∀, There Exists TE⇒ ∃, Empty Set /0 ⇒ ∅
- Minus or Plus: -+ ⇒ ∓
- Bullet: Sb ∙ Ring: Ob ∘ RT Square Root RT √ times X* ×
- Infinity: 00 ∞ Right Angle: -L ∟ Angle -V ∠
- AND & OR: AN ∧ OR ∨
- Identical =3 ≡ , Not Equal: != ≠ , Less Greater =< ≤ >= ≥
- Male Female: Ml ♂ Fm ♀
- Music notes: Md ♩ M8 ♪ M2 ♫ Mb ♭ Mx ♮ MX ♯
- OK ✓ XX✗ -X ✠
Links
A list of useful articles on entering special characters in vim:
- http://vim.wikia.com/wiki/Entering_special_characters