Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split single command out into multiple commands
- Loading branch information
1 parent
af91540
commit 950633b
Showing
4 changed files
with
90 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
[ | ||
{ "keys": ["super+k", "up"], "command": "split_pane", "args": {"travel_to_pane_in_direction": "up"} }, | ||
{ "keys": ["super+k", "right"], "command": "split_pane", "args": {"travel_to_pane_in_direction": "right"} }, | ||
{ "keys": ["super+k", "down"], "command": "split_pane", "args": {"travel_to_pane_in_direction": "down"} }, | ||
{ "keys": ["super+k", "left"], "command": "split_pane", "args": {"travel_to_pane_in_direction": "left"} }, | ||
{ "keys": ["super+k", "up"], "command": "travel_to_pane", "args": {"direction": "up"} }, | ||
{ "keys": ["super+k", "right"], "command": "travel_to_pane", "args": {"direction": "right"} }, | ||
{ "keys": ["super+k", "down"], "command": "travel_to_pane", "args": {"direction": "down"} }, | ||
{ "keys": ["super+k", "left"], "command": "travel_to_pane", "args": {"direction": "left"} }, | ||
|
||
{ "keys": ["super+k", "shift+up"], "command": "split_pane", "args": {"carry_file_to_pane_in_direction": "up"} }, | ||
{ "keys": ["super+k", "shift+right"], "command": "split_pane", "args": {"carry_file_to_pane_in_direction": "right"} }, | ||
{ "keys": ["super+k", "shift+down"], "command": "split_pane", "args": {"carry_file_to_pane_in_direction": "down"} }, | ||
{ "keys": ["super+k", "shift+left"], "command": "split_pane", "args": {"carry_file_to_pane_in_direction": "left"} }, | ||
{ "keys": ["super+k", "shift+up"], "command": "carry_file_to_pane", "args": {"direction": "up"} }, | ||
{ "keys": ["super+k", "shift+right"], "command": "carry_file_to_pane", "args": {"direction": "right"} }, | ||
{ "keys": ["super+k", "shift+down"], "command": "carry_file_to_pane", "args": {"direction": "down"} }, | ||
{ "keys": ["super+k", "shift+left"], "command": "carry_file_to_pane", "args": {"direction": "left"} }, | ||
|
||
{ "keys": ["super+k", "alt+up"], "command": "split_pane", "args": {"clone_file_to_pane_in_direction": "up"} }, | ||
{ "keys": ["super+k", "alt+right"], "command": "split_pane", "args": {"clone_file_to_pane_in_direction": "right"} }, | ||
{ "keys": ["super+k", "alt+down"], "command": "split_pane", "args": {"clone_file_to_pane_in_direction": "down"} }, | ||
{ "keys": ["super+k", "alt+left"], "command": "split_pane", "args": {"clone_file_to_pane_in_direction": "left"} }, | ||
{ "keys": ["super+k", "alt+up"], "command": "clone_file_to_pane", "args": {"direction": "up"} }, | ||
{ "keys": ["super+k", "alt+right"], "command": "clone_file_to_pane", "args": {"direction": "right"} }, | ||
{ "keys": ["super+k", "alt+down"], "command": "clone_file_to_pane", "args": {"direction": "down"} }, | ||
{ "keys": ["super+k", "alt+left"], "command": "clone_file_to_pane", "args": {"direction": "left"} }, | ||
|
||
{ "keys": ["super+k", "super+up"], "command": "split_pane", "args": {"create_pane_in_direction": "up"} }, | ||
{ "keys": ["super+k", "super+right"], "command": "split_pane", "args": {"create_pane_in_direction": "right"} }, | ||
{ "keys": ["super+k", "super+down"], "command": "split_pane", "args": {"create_pane_in_direction": "down"} }, | ||
{ "keys": ["super+k", "super+left"], "command": "split_pane", "args": {"create_pane_in_direction": "left"} }, | ||
{ "keys": ["super+k", "super+up"], "command": "create_pane", "args": {"direction": "up"} }, | ||
{ "keys": ["super+k", "super+right"], "command": "create_pane", "args": {"direction": "right"} }, | ||
{ "keys": ["super+k", "super+down"], "command": "create_pane", "args": {"direction": "down"} }, | ||
{ "keys": ["super+k", "super+left"], "command": "create_pane", "args": {"direction": "left"} }, | ||
|
||
{ "keys": ["super+k", "super+shift+up"], "command": "split_pane", "args": {"destroy_pane_in_direction": "up"} }, | ||
{ "keys": ["super+k", "super+shift+right"], "command": "split_pane", "args": {"destroy_pane_in_direction": "right"} }, | ||
{ "keys": ["super+k", "super+shift+down"], "command": "split_pane", "args": {"destroy_pane_in_direction": "down"} }, | ||
{ "keys": ["super+k", "super+shift+left"], "command": "split_pane", "args": {"destroy_pane_in_direction": "left"} } | ||
{ "keys": ["super+k", "super+shift+up"], "command": "destroy_pane", "args": {"direction": "up"} }, | ||
{ "keys": ["super+k", "super+shift+right"], "command": "destroy_pane", "args": {"direction": "right"} }, | ||
{ "keys": ["super+k", "super+shift+down"], "command": "destroy_pane", "args": {"direction": "down"} }, | ||
{ "keys": ["super+k", "super+shift+left"], "command": "destroy_pane", "args": {"direction": "left"} } | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
[ | ||
{ "keys": ["super+k", "up"], "command": "split_pane", "args": {"travel_to_pane_in_direction": "up"} }, | ||
{ "keys": ["super+k", "right"], "command": "split_pane", "args": {"travel_to_pane_in_direction": "right"} }, | ||
{ "keys": ["super+k", "down"], "command": "split_pane", "args": {"travel_to_pane_in_direction": "down"} }, | ||
{ "keys": ["super+k", "left"], "command": "split_pane", "args": {"travel_to_pane_in_direction": "left"} }, | ||
{ "keys": ["super+k", "up"], "command": "travel_to_pane", "args": {"direction": "up"} }, | ||
{ "keys": ["super+k", "right"], "command": "travel_to_pane", "args": {"direction": "right"} }, | ||
{ "keys": ["super+k", "down"], "command": "travel_to_pane", "args": {"direction": "down"} }, | ||
{ "keys": ["super+k", "left"], "command": "travel_to_pane", "args": {"direction": "left"} }, | ||
|
||
{ "keys": ["super+k", "shift+up"], "command": "split_pane", "args": {"carry_file_to_pane_in_direction": "up"} }, | ||
{ "keys": ["super+k", "shift+right"], "command": "split_pane", "args": {"carry_file_to_pane_in_direction": "right"} }, | ||
{ "keys": ["super+k", "shift+down"], "command": "split_pane", "args": {"carry_file_to_pane_in_direction": "down"} }, | ||
{ "keys": ["super+k", "shift+left"], "command": "split_pane", "args": {"carry_file_to_pane_in_direction": "left"} }, | ||
{ "keys": ["super+k", "shift+up"], "command": "carry_file_to_pane", "args": {"direction": "up"} }, | ||
{ "keys": ["super+k", "shift+right"], "command": "carry_file_to_pane", "args": {"direction": "right"} }, | ||
{ "keys": ["super+k", "shift+down"], "command": "carry_file_to_pane", "args": {"direction": "down"} }, | ||
{ "keys": ["super+k", "shift+left"], "command": "carry_file_to_pane", "args": {"direction": "left"} }, | ||
|
||
{ "keys": ["super+k", "alt+up"], "command": "split_pane", "args": {"clone_file_to_pane_in_direction": "up"} }, | ||
{ "keys": ["super+k", "alt+right"], "command": "split_pane", "args": {"clone_file_to_pane_in_direction": "right"} }, | ||
{ "keys": ["super+k", "alt+down"], "command": "split_pane", "args": {"clone_file_to_pane_in_direction": "down"} }, | ||
{ "keys": ["super+k", "alt+left"], "command": "split_pane", "args": {"clone_file_to_pane_in_direction": "left"} }, | ||
{ "keys": ["super+k", "alt+up"], "command": "clone_file_to_pane", "args": {"direction": "up"} }, | ||
{ "keys": ["super+k", "alt+right"], "command": "clone_file_to_pane", "args": {"direction": "right"} }, | ||
{ "keys": ["super+k", "alt+down"], "command": "clone_file_to_pane", "args": {"direction": "down"} }, | ||
{ "keys": ["super+k", "alt+left"], "command": "clone_file_to_pane", "args": {"direction": "left"} }, | ||
|
||
{ "keys": ["super+k", "super+up"], "command": "split_pane", "args": {"create_pane_in_direction": "up"} }, | ||
{ "keys": ["super+k", "super+right"], "command": "split_pane", "args": {"create_pane_in_direction": "right"} }, | ||
{ "keys": ["super+k", "super+down"], "command": "split_pane", "args": {"create_pane_in_direction": "down"} }, | ||
{ "keys": ["super+k", "super+left"], "command": "split_pane", "args": {"create_pane_in_direction": "left"} }, | ||
{ "keys": ["super+k", "super+up"], "command": "create_pane", "args": {"direction": "up"} }, | ||
{ "keys": ["super+k", "super+right"], "command": "create_pane", "args": {"direction": "right"} }, | ||
{ "keys": ["super+k", "super+down"], "command": "create_pane", "args": {"direction": "down"} }, | ||
{ "keys": ["super+k", "super+left"], "command": "create_pane", "args": {"direction": "left"} }, | ||
|
||
{ "keys": ["super+k", "super+shift+up"], "command": "split_pane", "args": {"destroy_pane_in_direction": "up"} }, | ||
{ "keys": ["super+k", "super+shift+right"], "command": "split_pane", "args": {"destroy_pane_in_direction": "right"} }, | ||
{ "keys": ["super+k", "super+shift+down"], "command": "split_pane", "args": {"destroy_pane_in_direction": "down"} }, | ||
{ "keys": ["super+k", "super+shift+left"], "command": "split_pane", "args": {"destroy_pane_in_direction": "left"} } | ||
{ "keys": ["super+k", "super+shift+up"], "command": "destroy_pane", "args": {"direction": "up"} }, | ||
{ "keys": ["super+k", "super+shift+right"], "command": "destroy_pane", "args": {"direction": "right"} }, | ||
{ "keys": ["super+k", "super+shift+down"], "command": "destroy_pane", "args": {"direction": "down"} }, | ||
{ "keys": ["super+k", "super+shift+left"], "command": "destroy_pane", "args": {"direction": "left"} } | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
[ | ||
{ "keys": ["ctrl+k", "up"], "command": "split_pane", "args": {"travel_to_pane_in_direction": "up"} }, | ||
{ "keys": ["ctrl+k", "right"], "command": "split_pane", "args": {"travel_to_pane_in_direction": "right"} }, | ||
{ "keys": ["ctrl+k", "down"], "command": "split_pane", "args": {"travel_to_pane_in_direction": "down"} }, | ||
{ "keys": ["ctrl+k", "left"], "command": "split_pane", "args": {"travel_to_pane_in_direction": "left"} }, | ||
{ "keys": ["ctrl+k", "up"], "command": "travel_to_pane", "args": {"direction": "up"} }, | ||
{ "keys": ["ctrl+k", "right"], "command": "travel_to_pane", "args": {"direction": "right"} }, | ||
{ "keys": ["ctrl+k", "down"], "command": "travel_to_pane", "args": {"direction": "down"} }, | ||
{ "keys": ["ctrl+k", "left"], "command": "travel_to_pane", "args": {"direction": "left"} }, | ||
|
||
{ "keys": ["ctrl+k", "shift+up"], "command": "split_pane", "args": {"carry_file_to_pane_in_direction": "up"} }, | ||
{ "keys": ["ctrl+k", "shift+right"], "command": "split_pane", "args": {"carry_file_to_pane_in_direction": "right"} }, | ||
{ "keys": ["ctrl+k", "shift+down"], "command": "split_pane", "args": {"carry_file_to_pane_in_direction": "down"} }, | ||
{ "keys": ["ctrl+k", "shift+left"], "command": "split_pane", "args": {"carry_file_to_pane_in_direction": "left"} }, | ||
{ "keys": ["ctrl+k", "shift+up"], "command": "carry_file_to_pane", "args": {"direction": "up"} }, | ||
{ "keys": ["ctrl+k", "shift+right"], "command": "carry_file_to_pane", "args": {"direction": "right"} }, | ||
{ "keys": ["ctrl+k", "shift+down"], "command": "carry_file_to_pane", "args": {"direction": "down"} }, | ||
{ "keys": ["ctrl+k", "shift+left"], "command": "carry_file_to_pane", "args": {"direction": "left"} }, | ||
|
||
{ "keys": ["ctrl+k", "alt+up"], "command": "split_pane", "args": {"clone_file_to_pane_in_direction": "up"} }, | ||
{ "keys": ["ctrl+k", "alt+right"], "command": "split_pane", "args": {"clone_file_to_pane_in_direction": "right"} }, | ||
{ "keys": ["ctrl+k", "alt+down"], "command": "split_pane", "args": {"clone_file_to_pane_in_direction": "down"} }, | ||
{ "keys": ["ctrl+k", "alt+left"], "command": "split_pane", "args": {"clone_file_to_pane_in_direction": "left"} }, | ||
{ "keys": ["ctrl+k", "alt+up"], "command": "clone_file_to_pane", "args": {"direction": "up"} }, | ||
{ "keys": ["ctrl+k", "alt+right"], "command": "clone_file_to_pane", "args": {"direction": "right"} }, | ||
{ "keys": ["ctrl+k", "alt+down"], "command": "clone_file_to_pane", "args": {"direction": "down"} }, | ||
{ "keys": ["ctrl+k", "alt+left"], "command": "clone_file_to_pane", "args": {"direction": "left"} }, | ||
|
||
{ "keys": ["ctrl+k", "ctrl+up"], "command": "split_pane", "args": {"create_pane_in_direction": "up"} }, | ||
{ "keys": ["ctrl+k", "ctrl+right"], "command": "split_pane", "args": {"create_pane_in_direction": "right"} }, | ||
{ "keys": ["ctrl+k", "ctrl+down"], "command": "split_pane", "args": {"create_pane_in_direction": "down"} }, | ||
{ "keys": ["ctrl+k", "ctrl+left"], "command": "split_pane", "args": {"create_pane_in_direction": "left"} }, | ||
{ "keys": ["ctrl+k", "ctrl+up"], "command": "create_pane", "args": {"direction": "up"} }, | ||
{ "keys": ["ctrl+k", "ctrl+right"], "command": "create_pane", "args": {"direction": "right"} }, | ||
{ "keys": ["ctrl+k", "ctrl+down"], "command": "create_pane", "args": {"direction": "down"} }, | ||
{ "keys": ["ctrl+k", "ctrl+left"], "command": "create_pane", "args": {"direction": "left"} }, | ||
|
||
{ "keys": ["ctrl+k", "ctrl+shift+up"], "command": "split_pane", "args": {"destroy_pane_in_direction": "up"} }, | ||
{ "keys": ["ctrl+k", "ctrl+shift+right"], "command": "split_pane", "args": {"destroy_pane_in_direction": "right"} }, | ||
{ "keys": ["ctrl+k", "ctrl+shift+down"], "command": "split_pane", "args": {"destroy_pane_in_direction": "down"} }, | ||
{ "keys": ["ctrl+k", "ctrl+shift+left"], "command": "split_pane", "args": {"destroy_pane_in_direction": "left"} } | ||
{ "keys": ["ctrl+k", "ctrl+shift+up"], "command": "destroy_pane", "args": {"direction": "up"} }, | ||
{ "keys": ["ctrl+k", "ctrl+shift+right"], "command": "destroy_pane", "args": {"direction": "right"} }, | ||
{ "keys": ["ctrl+k", "ctrl+shift+down"], "command": "destroy_pane", "args": {"direction": "down"} }, | ||
{ "keys": ["ctrl+k", "ctrl+shift+left"], "command": "destroy_pane", "args": {"direction": "left"} } | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters