Re: bind -t cmd-with-args?

Wed, 03 Feb 2010 15:23:37 -0800

i think Micah Cowan is or was working on command prefixes in copy mode, this
would be nice to do with that.


On Wed, Feb 03, 2010 at 11:17:18PM +0000, Nicholas Marriott wrote:
> No, but it would be nice to have, I'll check if it's on the todo list.
> 
> 
> On Wed, Feb 03, 2010 at 05:57:22PM -0500, Ankur Nayak wrote:
> >    A related question. Is it possible to copy buffers to specific registers,
> >    just as one can do in vim?
> > 
> >    On Wed, Feb 3, 2010 at 4:32 PM, Nicholas Marriott
> >    <[1]nicholas.marri...@gmail.com> wrote:
> > 
> >      On Wed, Feb 03, 2010 at 09:43:22PM +0100, clemens fischer wrote:
> >      > Nicholas Marriott wrote:
> >      >
> >      > > The commands used for modes are a completely separate namespace 
> > than
> >      > > standard commands and there is no command for saving the buffer.
> >      > >
> >      > > You can just bind it to a prefixed key then do use that as normal
> >      > > inside copy mode (ie with the prefix).
> >      > >
> >      > > -c is to bind a key for command mode when using vi keys.
> >      >
> >      > I don't understand, sorry. *Just what is "command-mode"? *I thought
> >      > "bind -c -t <table> <key> <cmd>" means: when inside <table>, switch 
> > to
> >      > the "normal" command mode where any command can be used.
> > 
> >      If you don't use vi mode you don't need to care about it or use -c.
> >      > I already tried, "bind-key -c -t vi-copy > 'save-buffer
> >      > /home/ino/hardcopy.txt'" doesn't work, but the error message is
> >      > different.
> >      >
> >      > Did you mean I should use either:
> >      >
> >      > * bind-key > save-buffer /home/ino/hardcopy.txt
> >      >
> >      > or
> >      >
> >      > * bind-key -c > save-buffer /home/ino/hardcopy.txt
> > 
> >      You should use the former and use C-b > inside copy mode.
> >      > Currently I have the first version in .tmux.conf, but I'm looking for
> >      > the convenience to save that buffer from inside copy-mode.
> >      >
> >      >
> >      > regards, 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.
> >      > [2]http://p.sf.net/sfu/theplanet-com
> >      > _______________________________________________
> >      > tmux-users mailing list
> >      > [3]tmux-us...@lists.sourceforge.net
> >      > [4]https://lists.sourceforge.net/lists/listinfo/tmux-users
> > 
> >      
> > ------------------------------------------------------------------------------
> >      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.
> >      [5]http://p.sf.net/sfu/theplanet-com
> >      _______________________________________________
> >      tmux-users mailing list
> >      [6]tmux-us...@lists.sourceforge.net
> >      [7]https://lists.sourceforge.net/lists/listinfo/tmux-users
> > 
> > References
> > 
> >    Visible links
> >    1. mailto:nicholas.marri...@gmail.com
> >    2. http://p.sf.net/sfu/theplanet-com
> >    3. mailto:tmux-users@lists.sourceforge.net
> >    4. https://lists.sourceforge.net/lists/listinfo/tmux-users
> >    5. http://p.sf.net/sfu/theplanet-com
> >    6. mailto:tmux-users@lists.sourceforge.net
> >    7. https://lists.sourceforge.net/lists/listinfo/tmux-users
> 
> ------------------------------------------------------------------------------
> 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

------------------------------------------------------------------------------
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