Friday, January 22, 2016

Dead keys

Just curious about this and couldn't find anything online.

Has anybody heard of a dead key scheme where the user hits the printable
key first and then adds the diacritic? Same as what I do when using the
X server's Compose key.. but without the need of a Compose key.

When you type the Spanish word "qué" for instance, you would first type
q+u+e... "que" - which has both a different meaning and grammatical role
from "qué"... and then notice... hmm. I'm missing an accent... So now
you hit the dead acute key and the "e" at the the end of "que" magically
becomes "é" in the buffer and "é" is echoed back to the terminal
replacing the "e" on your screen as if you had backspaced deleting the
original "e" and typed an "é" to replace it... All in one pass..

Context: I'm proofreading a couple of e-books in Spanish and French
(using Vim for the editing) and I'm getting aggravated at having to hit
an extra key each time I need to add or change a diacritic.

As to switching to using dead keys as I have seen them explained (with
the dead key being hit first and the normal key second at least that's
how I understood it)... well that would mean I'd have to change some
rather ancient well ingrained habits. So I'm not sure that would be
suitable at this point.

So I'm wondering if anybody has ever heard of anything such as this...
either limited to Vim... or better still... a system-wide solution on
linux systems running the X window system... possibly as some kind of
driver/filter/hook...

Thanks,

CJ

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment