Hi,

can tmux be given a command "take-prompt" for the *choice tables?
I wanted to make a mapping to list the various mappings, thus:

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

(all one one line).  I wanted it to insert the value of the prompt, not
what the user answers to it, into '%%'.

So the binding would have to have "take-prompt" instead of
"command-prompt".

BTW, some of the keys don't seem to have a mappable effect.  I cannot
get PPage to page up in "-t vi-copy", and I don't understand what keys
"j" and "k" do in "-t vi-choice".  Shouldn't they present the next and
previous choices, respectively?  They get inserted literally.


clemens


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to