Skip to content

Instantly share code, notes, and snippets.

@emohamed
Created November 1, 2014 08:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emohamed/010686dc1685b2841080 to your computer and use it in GitHub Desktop.
Save emohamed/010686dc1685b2841080 to your computer and use it in GitHub Desktop.
[
{ "keys": ["ctrl+tab"], "command": "next_view" },
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" },
{ "keys": ["ctrl+k", "k"], "command": "travel_to_pane", "args": {"direction": "up"} },
{ "keys": ["ctrl+k", "l"], "command": "travel_to_pane", "args": {"direction": "right"} },
{ "keys": ["ctrl+k", "j"], "command": "travel_to_pane", "args": {"direction": "down"} },
{ "keys": ["ctrl+k", "h"], "command": "travel_to_pane", "args": {"direction": "left"} },
{ "keys": ["ctrl+k", "shift+k"], "command": "carry_file_to_pane", "args": {"direction": "up"} },
{ "keys": ["ctrl+k", "shift+l"], "command": "carry_file_to_pane", "args": {"direction": "right"} },
{ "keys": ["ctrl+k", "shift+j"], "command": "carry_file_to_pane", "args": {"direction": "down"} },
{ "keys": ["ctrl+k", "shift+h"], "command": "carry_file_to_pane", "args": {"direction": "left"} },
{ "keys": ["ctrl+k", "alt+k"], "command": "clone_file_to_pane", "args": {"direction": "up"} },
{ "keys": ["ctrl+k", "alt+l"], "command": "clone_file_to_pane", "args": {"direction": "right"} },
{ "keys": ["ctrl+k", "alt+j"], "command": "clone_file_to_pane", "args": {"direction": "down"} },
{ "keys": ["ctrl+k", "alt+h"], "command": "clone_file_to_pane", "args": {"direction": "left"} },
{ "keys": ["ctrl+k", "ctrl+k"], "command": "create_pane", "args": {"direction": "up"} },
{ "keys": ["ctrl+k", "ctrl+l"], "command": "create_pane", "args": {"direction": "right"} },
{ "keys": ["ctrl+k", "ctrl+j"], "command": "create_pane", "args": {"direction": "down"} },
{ "keys": ["ctrl+k", "ctrl+h"], "command": "create_pane", "args": {"direction": "left"} },
{ "keys": ["ctrl+k", "ctrl+shift+k"], "command": "destroy_pane", "args": {"direction": "up"} },
{ "keys": ["ctrl+k", "ctrl+shift+l"], "command": "destroy_pane", "args": {"direction": "right"} },
{ "keys": ["ctrl+k", "ctrl+shift+j"], "command": "destroy_pane", "args": {"direction": "down"} },
{ "keys": ["ctrl+k", "ctrl+shift+h"], "command": "destroy_pane", "args": {"direction": "left"} },
// You can also destroy the current pane by binding the following command:
// { "keys": [], "command": "destroy_pane", "args": {"direction": "self"} },
{ "keys": ["ctrl+k", "ctrl+alt+k"], "command": "create_pane_with_file", "args": {"direction": "up"} },
{ "keys": ["ctrl+k", "ctrl+alt+l"], "command": "create_pane_with_file", "args": {"direction": "right"} },
{ "keys": ["ctrl+k", "ctrl+alt+j"], "command": "create_pane_with_file", "args": {"direction": "down"} },
{ "keys": ["ctrl+k", "ctrl+alt+h"], "command": "create_pane_with_file", "args": {"direction": "left"} },
{ "keys": ["ctrl+k", "ctrl+z"], "command": "zoom_pane", "args": {"fraction": 0.9} },
{ "keys": ["ctrl+k", "ctrl+shift+z"], "command": "unzoom_pane", "args": {} },
{ "keys": ["ctrl+k", "ctrl+c"], "command": "resize_pane", "args": {"orientation": "cols"} },
{ "keys": ["ctrl+k", "ctrl+r"], "command": "resize_pane", "args": {"orientation": "rows"} }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment