Skip to Content.
Sympa Menu

texmacs-users - Re: [Texmacs-dev] keyboard shortcuts

Subject: mailing-list for TeXmacs Users

List archive

Re: [Texmacs-dev] keyboard shortcuts


Chronological Thread 
  • 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



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 :(



In my own TeXmacs, for example, the simple :
[[
(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).




Archive powered by MHonArc 2.6.19.

Top of Page