diff options
author | nicm <nicm> | 2015-08-12 08:55:20 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-08-12 08:55:20 +0000 |
commit | 13b7fd82c12ff2a0812d2b378a49011c12028796 (patch) | |
tree | 5b9fe04a12b1a97d5f0e46a5dcf255a2acaef9fb | |
parent | 5ec3621101e13e9032d1871f02883757b18d51ac (diff) | |
download | rtmux-13b7fd82c12ff2a0812d2b378a49011c12028796.tar.gz rtmux-13b7fd82c12ff2a0812d2b378a49011c12028796.tar.bz2 rtmux-13b7fd82c12ff2a0812d2b378a49011c12028796.zip |
Rename left/right/up/down relative to active pane to add -of suffix
(left-of/right-of/etc) to remove conflict with left/right meaning
leftmost or rightmost pane. From Ben Boeckel.
-rw-r--r-- | cmd-find.c | 8 | ||||
-rw-r--r-- | tmux.1 | 8 |
2 files changed, 8 insertions, 8 deletions
@@ -102,10 +102,10 @@ const char *cmd_find_pane_table[][2] = { { "{top-right}", "top-right" }, { "{bottom-left}", "bottom-left" }, { "{bottom-right}", "bottom-right" }, - { "{up}", "{up}" }, - { "{down}", "{down}" }, - { "{left}", "{left}" }, - { "{right}", "{right}" }, + { "{up-of}", "{up}" }, + { "{down-of}", "{down}" }, + { "{left-of}", "{left}" }, + { "{right-up}", "{right}" }, { NULL, NULL } }; @@ -496,10 +496,10 @@ The following special tokens are available for the pane index: .It Li "{top-right}" Ta "" Ta "The top-right pane" .It Li "{bottom-left}" Ta "" Ta "The bottom-left pane" .It Li "{bottom-right}" Ta "" Ta "The bottom-right pane" -.It Li "{up}" Ta "" Ta "The pane above the active pane" -.It Li "{down}" Ta "" Ta "The pane below the active pane" -.It Li "{left}" Ta "" Ta "The pane to the left of the active pane" -.It Li "{right}" Ta "" Ta "The pane to the right of the active pane" +.It Li "{up-of}" Ta "" Ta "The pane above the active pane" +.It Li "{down-of}" Ta "" Ta "The pane below the active pane" +.It Li "{left-of}" Ta "" Ta "The pane to the left of the active pane" +.It Li "{right-of}" Ta "" Ta "The pane to the right of the active pane" .El .Pp The tokens |