Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


Commit [540f0b] Maximize Restore History

Both the two previous ways of navigating panes by direction have

irritating flaws:

a) The old way of always using the top or left if the choice is
ambiguous is annoying when the layout is unbalanced.

b) The new way of remembering the last used pane is annoying if the
layout is balanced and the leftmost is obvious to the user (because
clearly if we go right from the top-left in a tiled set of four we want
to end up in top-right, even if we were last using the bottom-right).

So instead, use a combination of both: if there is only one possible
pane alongside the current pane, move to it, otherwise choose the most
recently used of the choice.

nicm nicm 2014-05-08

changed layout.c
changed tmux.h
changed window.c
layout.c Diff Switch to side-by-side view
tmux.h Diff Switch to side-by-side view
window.c Diff Switch to side-by-side view