Keychains

From: Robert <ro....at.web.de>
Date: Sat, 10 Apr 2010 05:23:20 -0700 (PDT)

Hi!

Is it possible to have keychains behave like the other modifier keys?
E.g. with
keys.cf = keys.cf = { 'char_right', b }
I can keep ctrl pressed and I can press "f" many times to move the
caret one char forward.

I would like to have something like
keys.ar = {
   f = { 'char_right_rect_extend', b },
   b = { 'char_left_rect_extend', b },
   n = { 'line_down_rect_extend', b },
   p = { 'line_up_rect_extend', b },
   a = { 'vc_home_rect_extend', b },
  e = { 'line_end_rect_extend', b },
}
So, press alt and r, then hold down alt and press "f", "n", etc. to
make my rectangular selection.

Is this possible? Currently, I would have to press alt+r, pause, then
f and then repeat the complete keychain.

Thanks,
Robert
Received on Sat 10 Apr 2010 - 08:23:20 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:43:13 EST