This is a history non-preserving copy from a prior version that lived inside my dotfiles repo.
Contributors to these files at the time of the copy include:
This is an alternative unicode input mode for Emacs, Vim and Atom.
- Put
unicode.vim
in your~/.vim/plugin/
folder.
- Put
unicode.el
in your~/.emacs.d/lib
folder. - Add
(add-to-list 'load-path "~/.emacs.d/lib")
to your~/.emacs.d/init.el
file.
- Add
unicode-init.coffee
to your~/.atom/init.coffee
file. - Add
unicode-keymap.cson
to your~/.atom/keymap.cson
file.
For installing system-wide keybindings on macOS.
- Install Karabiner-Elements.
- Open Karabiner-Elements. In
Simple Modifications
→For all devices
, pick a key to map tonon_us_backslash
(in "Controls and symbols"), e.g.page_down → non_us_backslash
. - Add
DefaultKeyBinding.dict
to~/Library/KeyBindings
(create the directory if not present). - Restart each application for the new bindings to take effect, or log out and log back in to restart all apps.
- Try
XDejaVuSansMono-*.ttf
for programming with unicode; it's a mashup of DejaVuSansMono (for latin character) and SourceCodepro, DejaVuMathTeXGyre, Symbola, Quivira and ArialUnicode (for unicode characters). The otherX<fontname>-*
fonts have the same extension fonts, just a different base font.
- See
unicode-input.txt
for a list of all characters and their input codes (each implicitly preceded by\
).
|--------|------------|
Symbol | Input Code |
---|---|
\ |
\\ |
→ |
\r |
⇒ |
\r= |
← |
\l |
∷ |
\:: |
∀ |
\all |
∃ |
\ex |
★ |
\starb |
⧺ |
\++ |
⊔ |
\j |
⊓ |
\m |
⊤ |
\top |
⊥ |
\bot |
× |
\x |
-------- | ------------ |