Hi,

tmux-cvs from today, Linux 2.6.35.4-spott i686 AuthenticAMD,
rxvt-unicode-9.07-2

I have this binding:

    bind-key 'h' command-prompt -p \
    vi-edit,emacs-edit,vi-choice,emacs-choice,vi-copy,emacs-copy \
    "list-keys -t '%%'"

As might be guessed, it is supposed to list keybindings, but doesn't
work:  I get the prompts in order, but the next one comes only after
hitting newline and the command is never executed.  Whatever I type,
tmux always answers "unknown keytable", after letting me <newline>
through all choices.  It has been like this from tmux-0.8 on.

'tmux list-keys -t vi-edit'                | 'tmux list-keys -t vi-choice'
-------------------------------------------+------------------------------
    C-c: cancel                            |     C-b: page-up
    C-h: backspace                         |     C-c: cancel
    Tab: complete                          |     C-e: scroll-down
  Enter: enter                             |     C-f: page-down
 Escape: switch-mode                       |   Enter: choose
 BSpace: backspace                         |     C-y: scroll-up
     DC: delete                            |       j: down
    C-c: (command mode) cancel             |       k: up
    C-h: (command mode) backspace          |       q: cancel
  Enter: (command mode) enter              |   NPage: page-down
      $: (command mode) end-of-line        |   PPage: page-up
      0: (command mode) start-of-line      |      Up: up
      D: (command mode) delete-end-of-line |    Down: down
      ^: (command mode) start-of-line      |    C-Up: scroll-up
      a: (command mode) switch-mode-append |  C-Down: scroll-down
      d: (command mode) delete-line        |
      h: (command mode) cursor-left        |
      i: (command mode) switch-mode        |
      j: (command mode) history-down       |
      k: (command mode) history-up         |
      l: (command mode) cursor-right       |
      p: (command mode) paste              |
 BSpace: (command mode) backspace          |
     DC: (command mode) delete             |
     Up: (command mode) history-up         |
   Down: (command mode) history-down       |
   Left: (command mode) cursor-left        |
  Right: (command mode) cursor-right       |

On a IMO related note, tmux has never let me page-up using the PPage key
in vi-copy mode, whereas NPage works to page down.  Today I tried
"bind-key -t vi-copy C-PPage page-up", which works to my great surprise.
I mean, PPage is <escape>-[-5-~ in urxvt (doesn't work), NPage is
<escape>-[-6-~ (works, but why?), and <control>-PPage is <escape>-[-5-^
(and works!, but why??).


clemens


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to