help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using punctuation in abbrev


From: Emanuel Berg
Subject: Re: Using punctuation in abbrev
Date: Sun, 02 Jun 2013 07:21:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Aurélien Aptel <aurelien.aptel+emacs@gmail.com> writes:

> I plan on having a lot of easy-to-remember abbreviations for
> unicode chars I regularly use, all prefixed by $ or some other
> less used character ... Calling insert-char is too cumbersome
> and breaks the flow.

Just curious: what Unicode chars do you regularly use?

Another thought: Pick a shortcut that is very "fast" (short, and
without you having to move your hand), like M-; or C-o (it depends
what is already wired into your hands, and what you already do
useful stuff with - don't change that - but there are many
shortcuts...).

Then, write a defun that waits for a keystroke, then inserts the
Unicode char depending on what was hit, So, say, M-; l is right
arrow, M-; j is left arrow, M-; i is up arrow, etc.

-- 
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573


reply via email to

[Prev in Thread] Current Thread [Next in Thread]