Honestly, for me personally, I'd rather just go with the non-wrapping
behavior as the only behavior. I just added the option because of
backwards-compatibility.
The wrapping behavior being awkward for me stems from having used vim
extensively for many years, and its behavior regarding split-panes is of
the non-wrapping kind.
I'm mostly using tmux in full-screen mode, and use tmux as a window-manager
of sorts. Because of this, I (my brain/eyes) expect to focus to the right
of the current pane when I tell tmux to switch to a pane to the right of
the current one. There's just too much of a disconnect between the
right-most pane and the left-most pane for me to expect it to "wrap
around".
Additionally (this is my specific use-case) I make tmux send keybindings
through to vim so that I can use the same keybindings in tmux and in vim
for switching panes, so I can view the entire tmux workspace (with vim in
some panes) as a cohesive whole, and I don't have to care if it's tmux or
vim panes I'm navigating between. Thus, "switch right" just switches to a
right-more pane, no matter if it's inside vim, or if it's to another
tmux-pane. That behaviour only works if tmux doesn't wrap panes though.
Honestly though, I really don't care if it's included in the main codebase.
The patch is small enough for me to maintain it outside mainline.
I really do think though that this is a change that a lot of people would
want, especially vim-users. Either as a change in default behaviour, or as
an additional option.
On Sun, Aug 24, 2014 at 12:35 PM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:
> I'm not sure that issue is the same thing but in any case I think
> supporting multiple wrapping behaviours is a bikeshed too far.
>
>
>
> -------- Original message --------
> From: Thomas Adam <tho...@xteddy.org>
> Date: 24/08/2014 10:15 (GMT+00:00)
> To: Patrick Börjesson <patrick.borjes...@gmail.com>
> Cc: tmux-users@lists.sourceforge.net
> Subject: Re: [PATCH] select-panes: add wrap-panes window-option
>
>
> On Tue, Aug 12, 2014 at 06:52:09PM +0200, Patrick Börjesson wrote:
> > Hi everybody!
> >
> > I just started using tmux and encountered a peculiarity which I couldn't
> live
> > with.
> > When switching between panes with select-pane, the switching "wraps
> around" when
> > it encounters the window edge. E.g. if the right-most pane is selected
> and I try
> > to switch to the right of the selected pane with "select-pane -R", it
> wraps
> > around to the left-most pane.
> > This behaviour is unacceptable for me, thus this patch I'm hereby
> sending to you
> > all. I thought a window-option with the current behaviour as default
> would be
> > the best approach to this.
>
> We discussed something like this earlier this year:
>
> http://sourceforge.net/p/tmux/tickets/122/
>
> I can't say I'm in favour of your patches.
>
> -- Thomas Adam
>
> --
> "Deep in my heart I wish I was wrong. But deep in my heart I know I am
> not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds. Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users
>
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users