jed-users mailing list

[2011 Date Index] [2011 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [Jed-users-l] Map Ctrl-Home to top of page


Hi Doug,

> On Linux, how can I map Ctrl-Home to top of page, please?
On my system, I can use
   setkey("bob", "^[[1;5H");
where the special key mapping was found with
   Ctrl + Q, Ctrl-Home
(Ctrl + Q for quoted_insert).

Interestingly, Help => Show Key does not give the same answer (for me),
but "\e[1;", which is similar to (but again different from) what I have
in Key_Ctrl_Home from keydefs.sl: "^[[1^"  (I'm confused...)

> (And Ctrl-End to bottom of page)
   setkey("eob", "^[[1;5F");
does this job.

Cheers,

Manfred


P.S. I noticed that I seem to have something in my ~/.jedrc that
prevents the above key bindings from working in some modes (including
slang_mode), but ignoring my ~/.jedrc, it worked also there.
_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l


[2011 date index] [2011 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]