summaryrefslogtreecommitdiff
path: root/command.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-03-05 16:11:01 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-03-05 16:11:01 -0500
commit8944eb64682f626f76b9b204a58afc8fa5d0a522 (patch)
treea82fabd9a7c0e90d72a1d3368935ecc54cafa575 /command.h
parentf80661e0958c1fa70b2eea9dc2a9b89e86c802d3 (diff)
fix some little problems with the file selector
Diffstat (limited to 'command.h')
-rw-r--r--command.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/command.h b/command.h
index aadac48..97812b0 100644
--- a/command.h
+++ b/command.h
@@ -86,7 +86,8 @@ ENUM_U16 {
CMD_SPLIT_HORIZONTAL,
CMD_SPLIT_VERTICAL,
CMD_SPLIT_JOIN,
- CMD_SPLIT_SWAP, // go to the other side of a split
+ CMD_SPLIT_SWITCH, // switch to the other side of a split
+ CMD_SPLIT_SWAP, // swap which side is which in a split.
CMD_ESCAPE, // by default this is the escape key. closes menus, etc.
@@ -166,6 +167,7 @@ static CommandName const command_names[] = {
{"split-horizontal", CMD_SPLIT_HORIZONTAL},
{"split-vertical", CMD_SPLIT_VERTICAL},
{"split-join", CMD_SPLIT_JOIN},
+ {"split-switch", CMD_SPLIT_SWITCH},
{"split-swap", CMD_SPLIT_SWAP},
{"escape", CMD_ESCAPE},
};