2 ms·
Article was submitted by the author about a year ago: http://news.ycombinator.com/item?id=3300264 http://news.ycombinator.com/item?id=3300264 > Also, how do y
by guns 14y ago
Article was submitted by the author about a year ago:
http://news.ycombinator.com/item?id=3300264 http://news.ycombinator.com/item?id=3300264
> Also, how do you do the superscripts?!
Unicode. In my case I input them in vim by way of vimperator. You can input them in vim using the digraph feature (try <C-K>11 in insert mode).
My vimrc actually parses my ~/.inputrc to extract the keybindings I use to input Unicode characters in bash and every other program that uses readline, allowing me to use the same keys for Unicode chars in every context that I input text.
https://github.com/guns/meinhaus/blob/guns/etc/inputrc#L144 https://github.com/guns/meinhaus/blob/guns/etc/inputrc#L144
https://github.com/guns/meinhaus/blob/guns/etc/vim/local/commands.vim#L501 https://github.com/guns/meinhaus/blob/guns/etc/vim/local/com...
- Erwin 14y agoThe Compose key in in X11 does the same, but globally. I think it's not bound by default; I have it on the right extra Windows key. Compose, then 1 then ^ generates a super-scripted ¹. /usr/share/X11/locale/en_US.UTF-8/Compose has a list, mostly filled with obscure stuff like ㊷.