[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: customise mouse scroll action



On Mon, 2007-08-27 at 21:12 +0200, Duncan Drennan wrote:
> In a similar vein, how could I go about making Undo = Ctrl-Z, and Redo = Ctrl-Y?

Look at gschem/lib/system-gschemrc.in 

Which eventually installs a scheme file in:
$PREFIX/share/gEDA/system-gschemrc

search for "define global-keymap" (Line 1236 on mine).

Looking at the examples already there, we have:

    ("Shift U" . edit-undo)
    ("Shift R" . edit-redo)

Which I personally dislike, but thats beside the point...

and:

    ("Control c" . buffer-copy1)
    ("Control v" . buffer-paste1-hotkey)

So try replacing the undo lines with:

    ("Control z" . edit-undo)
    ("Control y" . edit-redo)

I assume you want lower case bindings.

You can edit the installed files directly. I can't recall if you can
override the key-bindings with a local gschemrc, but I have the feeling
not.

Regards,

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user