News for hackers. Stuff that matters.
Re:HappyEdit: A Vim-inspired, modern, open source text editor by akkartik on Monday October 29, 2012 @12:29AM (#4711123)
That's a great article. Do you know when it was written? It's weird how it's just dangling there with all of 2 sentences of context at http://lubutu.com.

Also, how do you do the superscripts?!

Re:HappyEdit: A Vim-inspired, modern, open source text editor by guns on Monday October 29, 2012 @12:56AM (#4711165)
Article was submitted by the author about a year ago:

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/vim/local/com...

Re:HappyEdit: A Vim-inspired, modern, open source text editor by Erwin on Monday October 29, 2012 @10:54AM (#4712515)
The 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 ㊷.