{"by":"algon","descendants":27,"id":33850477,"kids":[33850710,33852374,33855312,33920756,33851218,33851211,33851852,33851429,33851467,33851074,33852166,33852394,33855326,33850642,33851853,33851130,33852829],"score":132,"text":"As a Vim user, I often use Vim to write some text and then copy &amp; paste it into another text field of GUI apps (e.g. browsers, chat apps, etc.),\nbecause almost all of these text fields provide only very basic editing functions.<p>A while ago, I came up with an idea: what if we could use Vim as an IME?<p>Ordinary IMEs are used to input some non-English characters, but the essential functions of IME are\n1) receiving a keyboard sequence\n2) process the key sequence and outputting a text<p>These functions are the same as text editor&#x27;s.\nSo I thought implementing an IME that can be used with Vim keybindings could be a good solution for the above problem.<p>After that I learned mechanisms of IME for Linux desktop and tried to develop an experimental IME.","time":1670126598,"title":"Show HN: Using Vim as an input method editor (IME) for X11 apps","type":"story","url":"https://github.com/algon-320/vime"}