Skip to content

Instantly share code, notes, and snippets.

@kerbyfc
Created April 28, 2016 07:42
Show Gist options
  • Save kerbyfc/2a8c1dfb500694eefdd097da8241529d to your computer and use it in GitHub Desktop.
Save kerbyfc/2a8c1dfb500694eefdd097da8241529d to your computer and use it in GitHub Desktop.
[
{
"keys": ["g"],
"command": "dired_open_external",
"context": [
{ "key": "selector", "operator": "equal", "operand": "text.dired" },
{ "key": "setting.dired_rename_mode", "operand": false },
{ "key": "num_selections", "operator": "equal", "operand": 1 }
]
},
{
"keys": ["f"],
"command": "dired_find_in_files",
"context": [
{ "key": "selector", "operator": "equal", "operand": "text.dired" },
{ "key": "setting.dired_rename_mode", "operand": false }
]
},
{
"keys": [
"enter"
],
"command": "dired_select",
"args": {
"and_close": true
},
"context": [
{
"key": "selector",
"operator": "equal",
"operand": "text.dired"
},
{
"key": "setting.dired_rename_mode",
"operand": false
}
]
},
{
"keys": [
"A"
],
"command": "dired_create",
"args": {
"which": "directory"
},
"context": [
{
"key": "selector",
"operator": "equal",
"operand": "text.dired"
},
{
"key": "setting.dired_rename_mode",
"operand": false
}
]
},
{
"keys": [
"a"
],
"command": "dired_create",
"args": {
"which": "file"
},
"context": [
{
"key": "selector",
"operator": "equal",
"operand": "text.dired"
},
{
"key": "setting.dired_rename_mode",
"operand": false
}
]
},
{
"keys": [
"ctrl+enter"
],
"command": "toggle_zoom_pane",
"args": {
"fraction": 0.9
}
},
{
"keys": [
"u"
],
"command": "undo",
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
",",
"n",
"c"
],
"command": "find_next_conflict"
},
{
"keys": [
",",
"g",
"o"
],
"command": "keep",
"args": {
"keep": "ours"
}
},
{
"keys": [
",",
"g",
"t"
],
"command": "keep",
"args": {
"keep": "theirs"
}
},
{
"keys": [
",",
"f",
"c"
],
"command": "list_conflict_files"
},
{
"keys": [
"-"
],
"command": "dired",
"args": {
"immediate": true,
"project": false,
"single_pane": false
},
"context": [
{
"key": "setting.command_mode"
},
{
"key": "selector",
"operator": "not_equal",
"operand": "text.dired"
}
]
},
{
"keys": [
"t",
"s"
],
"command": "typescript_project_error_list",
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
", ",
"b",
"e"
],
"command": "dired_smart_jump"
},
{
"keys": [
"'"
],
"command": "jump_back",
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"\""
],
"command": "jump_forward",
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"["
],
"command": "prev_bookmark",
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"r"
],
"command": "dired_rename",
"context": [
{
"key": "selector",
"operator": "equal",
"operand": "text.dired"
},
{
"key": "setting.dired_rename_mode",
"operand": false
}
]
},
{
"keys": [
"d"
],
"command": "dired_delete",
"context": [
{
"key": "selector",
"operator": "equal",
"operand": "text.dired"
},
{
"key": "setting.dired_rename_mode",
"operand": false
}
]
},
{
"keys": [
"]"
],
"command": "next_bookmark",
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"s"
],
"command": "surround_selection",
"context": [
{
"key": "setting.command_mode"
},
{
"key": "selection_empty",
"operator": "equal",
"operand": false
}
]
},
{
"keys": [
"m"
],
"command": "better_bookmarks_mark_line",
"context": [
{
"key": "setting.command_mode"
},
{
"key": "selector",
"operator": "not_equal",
"operand": "text.dired"
}
]
},
{
"keys": [
"super+enter"
],
"command": "tab_filter",
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"K"
],
"command": "insert_snippet",
"args": {
"contents": "$0\n"
},
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"L"
],
"command": "next_view_in_pane",
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"H"
],
"command": "prev_view_in_pane",
"context": [
{
"key": "setting.command_mode"
},
{
"key": "selector",
"operator": "not_equal",
"operand": "text.dired"
}
]
},
{
"keys": [
"end"
],
"command": "find_next_conflict"
},
{
"keys": [
"O"
],
"command": "keep",
"args": {
"keep": "ours"
},
"context": [
{
"key": "selection_empty",
"operator": "equal",
"operand": false
}
]
},
{
"keys": [
"T"
],
"command": "keep",
"args": {
"keep": "theirs"
},
"context": [
{
"key": "selection_empty",
"operator": "equal",
"operand": false
}
]
},
{
"keys": [
"ctrl+["
],
"command": "fold",
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"ctrl+]"
],
"command": "unfold",
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"super+shift+a"
],
"command": "align_tab",
"args": {
"live_preview": true
},
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
";",
"<character>"
],
"command": "easy_motion",
"args": {
"select_text": false
},
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
">"
],
"command": "indent",
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"<"
],
"command": "unindent",
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"super+t"
],
"command": "extended_switcher",
"args": {
"list_mode": "window"
},
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"super+l"
],
"command": "set_motion",
"args": {
"motion": "vi_move_to_hard_eol",
"motion_args": {
"repeat": 1,
"extend": true
},
"inclusive": true,
"clip_to_line": true
}
},
{
"keys": [
"super+h"
],
"command": "set_motion",
"args": {
"motion": "vi_move_to_first_non_white_space_character",
"motion_args": {
"extend": true
},
"clip_to_line": true
}
},
{
"keys": [
" ",
"<character>"
],
"command": "easy_motion",
"args": {
"select_text": false
},
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
" ",
"enter"
],
"command": "easy_motion",
"args": {
"select_text": false,
"character": "enter"
},
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"shift+space",
"<character>"
],
"command": "easy_motion",
"args": {
"select_text": true
},
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"shift+space",
"enter"
],
"command": "easy_motion",
"args": {
"select_text": true,
"character": "enter"
},
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"super+w"
],
"command": "close"
},
{
"keys": [
"super+shift+n"
],
"command": "toggle_side_bar"
},
{
"keys": [
"super+k"
],
"command": "move",
"args": {
"by": "stops",
"empty_line": true,
"forward": false
}
},
{
"keys": [
"super+k"
],
"command": "move",
"args": {
"by": "stops",
"empty_line": true,
"forward": false,
"extend": true
},
"context": [
{
"key": "selection_empty",
"operator": "equal",
"operand": false,
"match_all": false
}
]
},
{
"keys": [
"super+j"
],
"command": "move",
"args": {
"by": "stops",
"empty_line": true,
"forward": true
}
},
{
"keys": [
"super+j"
],
"command": "move",
"args": {
"by": "stops",
"empty_line": true,
"forward": true,
"extend": true
},
"context": [
{
"key": "selection_empty",
"operator": "equal",
"operand": false,
"match_all": false
}
]
},
{
"keys": [
"ctrl+f"
],
"command": "show_overlay",
"args": {
"overlay": "goto",
"show_files": true
}
},
{
"keys": [
"ctrl+b"
],
"command": "switch_tabs"
},
{
"keys": [
"super+shift+k"
],
"command": "swap_line_up",
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"super+e"
],
"command": "expand_selection",
"args": {
"to": "tag"
},
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"super+e"
],
"command": "expand_selection",
"args": {
"to": "indentation"
},
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"super+shift+j"
],
"command": "swap_line_down",
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"ctrl+k"
],
"command": "travel_to_pane",
"args": {
"direction": "up"
},
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"ctrl+l"
],
"command": "travel_to_pane",
"args": {
"direction": "right"
},
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"ctrl+j"
],
"command": "travel_to_pane",
"args": {
"direction": "down"
},
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"ctrl+h"
],
"command": "travel_to_pane",
"args": {
"direction": "left"
},
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"super+ctrl+a"
],
"command": "valign",
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"super+ctrl+k"
],
"command": "carry_file_to_pane",
"args": {
"direction": "up"
},
"context": [
{
"key": "setting.command_mode"
},
{
"key": "selection_empty",
"operator": "equal",
"operand": true
}
]
},
{
"keys": [
"super+ctrl+l"
],
"command": "carry_file_to_pane",
"args": {
"direction": "right"
},
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"super+ctrl+j"
],
"command": "carry_file_to_pane",
"args": {
"direction": "down"
},
"context": [
{
"key": "setting.command_mode"
},
{
"key": "selection_empty",
"operator": "equal",
"operand": true
}
]
},
{
"keys": [
"super+ctrl+h"
],
"command": "carry_file_to_pane",
"args": {
"direction": "left"
},
"context": [
{
"key": "setting.command_mode"
}
]
},
{
"keys": [
"ctrl+\\"
],
"command": "create_pane",
"args": {
"direction": "right"
}
},
{
"keys": [
"ctrl+-"
],
"command": "create_pane",
"args": {
"direction": "down"
}
},
{
"keys": [
"ctrl+q"
],
"command": "destroy_pane",
"args": {
"direction": "self"
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment