This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: C-m and C-j bindings


Now that the C-o binding is in, I find myself missing C-m and C-j.
These are just the same as Enter.  However they are more convenient
(for me anyway) if you are in the middle of a long C-o sequence.  I
find it easier to type C-o C-m C-o C-m than to switch to using Enter.

I've also hit C-j several times and then been suprised when it does
nothing.  I guess I find it easier to change Insight than to change my
habits...

Ok?

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* library/console.itb (Console::_build_win): Bind Control-m and
	Control-j.

Index: library/console.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/console.itb,v
retrieving revision 1.12
diff -u -r1.12 console.itb
--- library/console.itb 2001/09/28 16:36:50 1.12
+++ library/console.itb 2001/10/13 00:00:21
@@ -64,6 +64,8 @@
   # bind editing keys for console window
   #
   bind $_twin <Return> "$this invoke; break"
+  bind_plain_key $_twin Control-m "$this invoke; break"
+  bind_plain_key $_twin Control-j "$this invoke; break"
 
   # History control.
   bind_plain_key $_twin Control-p "[code $this _previous]; break"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]