Hi

On Thu, Feb 18, 2010 at 02:36:06PM -0800, Robin Lee Powell wrote:
> On Thu, Feb 18, 2010 at 02:25:08PM -0800, Micah Cowan wrote:
> > > Now we just need the rotating behaviour of J (see my other
> > > post).
> > 
> > Well, you could of course still rig that up through run-shell, and
> > some sort of flag-file. But personally, I don't like the rotating
> > behavior of J: better to have separate bindings for separate
> > modes, so you only have to hit the binding once to get the
> > behavior you want (and don't have to figure out what mode you're
> > already in). The shell solution strikes me as the most flexible
> > solution, since there are many things you just wouldn't think to
> > hardcode
> 
> Copying from my other post:
> 
> The other aspect to it is having a key that can shift between the
> various options.  My idea there is to store the
> pass-through-before-pasting command in a (window?) option, and make
> a tmux command that takes an option name and a list of possible
> values.  Every time it's called, it checks for the current value in
> the list, and moves to the next one.  This would be a fully general
> solution that people could use for other things.

This doesn't need a special command, just make set-option and friends rotate
though the options if no argument is given, like it does for boolean options.

> 
> (end copy)
> 
> Rather than rotating through option settings, though, it could just
> as easily rotate through key bindings.
> 
> So this would be something that would build on top of your shell
> solution.
> 
> The nice thing about that solution is that you could do it your way
> and I could do it mine.  I kind of like the rotating behaviour,
> simply because I need at least 3 or 4 different behaviours at
> various times, and I don't know that I want to have to remember that
> many keys.
> 
> OTOH, the shell solution works as is; I'll have to try it out and
> see if it seems worth it to do the rotating thing.
> 
> -Robin
> 
> -- 
> They say:  "The first AIs will be built by the military as weapons."
> And I'm  thinking:  "Does it even occur to you to try for something
> other  than  the default  outcome?"  See http://shrunklink.com/cdiz
> http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/
> 
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to