On Fri, Jul 05, 2013 at 01:20:00PM -0400, Ben Boeckel wrote:
> On Fri, Jul 05, 2013 at 17:47:30 +0100, Nicholas Marriott wrote:
> > We call them normal and command mode in the manpage under bind-key so it
> > should probably change that to insert and command.
> 
> Ah, yep.
> 
> > On Fri, Jul 05, 2013 at 12:43:05PM -0400, Ben Boeckel wrote:
> > > On Fri, Jul 05, 2013 at 15:51:32 +0100, Nicholas Marriott wrote:
> > > > All the vi-copy defaults are for normal mode (insert mode), so
> > > > presumably this comment should be different.
> > > 
> > > In vi, 'normal' is the command mode (inserting happens in 'insert'
> > > mode).
> > > 
> > > > There is nothing stopping people binding commands in either mode though
> > > > (and for all I know people do) so not sure we should prevent it like
> > > > this.
> > > 
> > > It's prevented by not handling any of the typical commands used in
> > > normal mode (substitute, end-of-word, delete-word, etc.). Allowing it is
> > > pretty half-hearted since only 'X', '^H', and 'd', would work from the
> > > default table anyways.
> > 
> > But the user could bind them to whatever they like if they wanted.
> 
> Right, but there's no docs for what methods would work and which
> wouldn't in this case (documenting that command mode doesn't work at

Hmm. Maybe. I'm away for the next couple of weeks but I'll look at it
again when I get back.

> window-copy's prompt would be easier). I had it as a TODO item to merge
> the status-bar with window-copy's prompt. I can resurrect it if that
> would be wanted.

In what way do you mean? Common editing code? I'd be interested in that
if it'll make things simpler.

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to