Subject: mailing-list for TeXmacs Users
List archive
From : Henri Lesourd <address@hidden>- To: Juan Pablo Romero <address@hidden>, address@hidden, address@hidden
- Subject: Re: [Texmacs-dev] keyboard shortcuts
- Date: Wed, 30 Mar 2005 12:45:20 +0200
In my own TeXmacs, for example, the simple :
Hello
I'm trying to remap some keys:
In math mode:
1. acute (') ==> (cursor-right)
2. ñ ==> (cursor-left)
3. grave (`) ==> (make-script #t #t)
In text mode:
Caps Lock ==> Insert formula (like $)
In math mode:
Caps Lock ==> (go-end-with "mode" "math")
The only one I got right: (1); in ~/.TeXmacs/progs/my-init-texmacs.scm:
(kbd-map in-math?
("ñ" (cursor-left)))
But the others are beyond my texmacs skills :(
[[
(kbd-map ("'" (display "Hello\n")))
(kbd-map ("`" (display "Hello\n")))
]]
work very well.
I don't know how to do with Caps Lock. I'm afraid
this one is a modifier, so perhaps having a look at
xmodmap, etc. can be useful (but I'm not sure).
- Re: [Texmacs-dev] keyboard shortcuts, Henri Lesourd, 03/30/2005
- Re: [Texmacs-dev] keyboard shortcuts, Juan Pablo Romero, 03/31/2005
Archive powered by MHonArc 2.6.19.