Skip to Content.
Sympa Menu

texmacs-users - keyboard shortcut customization

Subject: mailing-list for TeXmacs Users

List archive

keyboard shortcut customization


Chronological Thread 
  • From: Nachiketa Sahoo <address@hidden>
  • To: TeXmacs Users List <address@hidden>
  • Subject: keyboard shortcut customization
  • Date: Thu, 29 Sep 2005 21:15:30 -0400
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=G9kDFd6aUitcxItnzbxnl1U6KjA9wWe/Xj1qF8ztlEbPclcSP4Yfo2vfvpZReFzWit690uJFnemw8sxFAv60f4SV6ii5AvToT69iCpY9F8pxjpNWNcIamThpPTFXSlqPOD/yQ0BnFQaJMH44ldXXHIrNvzWa357Ej5fJ++P2Cxw=

Hi,

I am trying to customize the keyboard shortcuts for a more windows
like behaviour. I have the following text in the my-init-texmacs.scm
file

(kbd-map
("C-n" (new-buffer))
("C-o" (choose-file "Load file" "" 'load-buffer))
("C-s" (save-buffer))
("C-p" (preview-with-ghostview))
("C-w" (safely-kill-buffer))
("C-q" (safely-quit-TeXmacs))
("C-z" (undo))
("C-y" (redo))
("C-x" (clipboard-cut "primary"))
("C-c" (clipboard-copy "primary"))
("C-v" (clipboard-paste "primary")))

The problem is: it is not overriding the existing keyboard shortcuts
with these. Only if one of these shortcuts is available, then it's
taking effect. For instance C-z is doing undo, but, C-y is not doing
redo. It's doing the default TeXmacs action, i.e., paste the text from
clipboard to buffer.

Is there a way I can override the existing keyboard shortcuts with
these and leave the remaining of the existing shortcuts intact?

Thanks,
Nachi



Archive powered by MHonArc 2.6.19.

Top of Page