Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] C-x, C-c, C-v (I prepare a little the work)

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] C-x, C-c, C-v (I prepare a little the work)


Chronological Thread 
  • From: Lionel Elie Mamane <address@hidden>
  • To: Nicolas Ratier <address@hidden>, address@hidden
  • Subject: Re: [TeXmacs] C-x, C-c, C-v (I prepare a little the work)
  • Date: Thu, 21 Oct 2004 22:08:58 +0200

On Thu, Oct 21, 2004 at 09:14:50PM +0200, Lionel Elie Mamane wrote:
> On Thu, Oct 21, 2004 at 06:43:20PM +0200, Nicolas Ratier wrote:
>> How to modify "my-init-texmacs.scm" file so
>> that TeXmacs will understand the following kbd-kde map ?

> I get the expected effect when typing this into a Scheme session:

> Somehow, it doesn't work when I put it in my init-texmacs

I found a way to make it work:

I put this in ~/.TeXmacs/progs/cua/keyboard.scm:

(texmacs-module (cua keyboard)
(:use
(texmacs texmacs tm-server) (texmacs texmacs tm-files)
(texmacs edit edit-misc) (texmacs tools tm-select)))


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

and then this in ~/.TeXmacs/progs/my-init-texmacs.scm:

(lazy-in-mode (cua keyboard) always?)


Have Fun!

--
Lionel



Archive powered by MHonArc 2.6.19.

Top of Page