Skip to content

Instantly share code, notes, and snippets.

@xtrasmal
Created February 2, 2026 13:37
Show Gist options
  • Select an option

  • Save xtrasmal/dbfa31a3cdca4e2faa8b04ec2f609198 to your computer and use it in GitHub Desktop.

Select an option

Save xtrasmal/dbfa31a3cdca4e2faa8b04ec2f609198 to your computer and use it in GitHub Desktop.
Sqlit - Custom Keybindings
{
"_note": "Custom keymap with modifications - demonstrates custom keybinding capabilities",
"_changes": [
"Leader quit changed from 'q' to 'x' (kakoune-style)",
"Leader help moved from 'h' to '?' (more intuitive)",
"Added F5 to execute query in insert mode",
"Added emacs-style Ctrl+N/P for autocomplete navigation"
],
"keymap": {
"leader_commands": [
{"key": "e", "action": "toggle_explorer", "label": "Toggle Explorer", "category": "View", "menu": "leader"},
{"key": "f", "action": "toggle_fullscreen", "label": "Toggle Maximize", "category": "View", "menu": "leader"},
{"key": "c", "action": "show_connection_picker", "label": "Connect", "category": "Connection", "menu": "leader"},
{"key": "d", "action": "disconnect", "label": "Disconnect", "category": "Connection", "guard": "has_connection", "menu": "leader"},
{"key": "z", "action": "cancel_operation", "label": "Cancel", "category": "Actions", "guard": "query_executing", "menu": "leader"},
{"key": "t", "action": "change_theme", "label": "Change Theme", "category": "Actions", "menu": "leader"},
{"key": "question_mark", "action": "show_help", "label": "Help", "category": "Actions", "menu": "leader"},
{"key": "space", "action": "telescope", "label": "Telescope", "category": "Actions", "menu": "leader"},
{"key": "slash", "action": "telescope_filter", "label": "Telescope Search", "category": "Actions", "menu": "leader"},
{"key": "x", "action": "quit", "label": "Quit", "category": "Actions", "menu": "leader"},
{"key": "d", "action": "line", "label": "Delete line", "category": "Delete", "menu": "delete"},
{"key": "w", "action": "word", "label": "Delete word", "category": "Delete", "menu": "delete"},
{"key": "W", "action": "WORD", "label": "Delete WORD", "category": "Delete", "menu": "delete"},
{"key": "b", "action": "word_back", "label": "Delete word back", "category": "Delete", "menu": "delete"},
{"key": "B", "action": "WORD_back", "label": "Delete WORD back", "category": "Delete", "menu": "delete"},
{"key": "e", "action": "word_end", "label": "Delete to word end", "category": "Delete", "menu": "delete"},
{"key": "E", "action": "WORD_end", "label": "Delete to WORD end", "category": "Delete", "menu": "delete"},
{"key": "0", "action": "line_start", "label": "Delete to line start", "category": "Delete", "menu": "delete"},
{"key": "dollar_sign", "action": "line_end_motion", "label": "Delete to line end", "category": "Delete", "menu": "delete"},
{"key": "D", "action": "line_end", "label": "Delete to line end", "category": "Delete", "menu": "delete"},
{"key": "x", "action": "char", "label": "Delete char", "category": "Delete", "menu": "delete"},
{"key": "X", "action": "char_back", "label": "Delete char back", "category": "Delete", "menu": "delete"},
{"key": "h", "action": "left", "label": "Delete left", "category": "Delete", "menu": "delete"},
{"key": "j", "action": "down", "label": "Delete line down", "category": "Delete", "menu": "delete"},
{"key": "k", "action": "up", "label": "Delete line up", "category": "Delete", "menu": "delete"},
{"key": "l", "action": "right", "label": "Delete right", "category": "Delete", "menu": "delete"},
{"key": "G", "action": "to_end", "label": "Delete to end", "category": "Delete", "menu": "delete"},
{"key": "f", "action": "find_char", "label": "Delete to char...", "category": "Delete", "menu": "delete"},
{"key": "F", "action": "find_char_back", "label": "Delete back to char...", "category": "Delete", "menu": "delete"},
{"key": "t", "action": "till_char", "label": "Delete till char...", "category": "Delete", "menu": "delete"},
{"key": "T", "action": "till_char_back", "label": "Delete back till char...", "category": "Delete", "menu": "delete"},
{"key": "percent_sign", "action": "matching_bracket", "label": "Delete to bracket", "category": "Delete", "menu": "delete"},
{"key": "i", "action": "inner", "label": "Delete inside...", "category": "Delete", "menu": "delete"},
{"key": "a", "action": "around", "label": "Delete around...", "category": "Delete", "menu": "delete"},
{"key": "y", "action": "line", "label": "Copy line", "category": "Copy", "menu": "yank"},
{"key": "w", "action": "word", "label": "Copy word", "category": "Copy", "menu": "yank"},
{"key": "W", "action": "WORD", "label": "Copy WORD", "category": "Copy", "menu": "yank"},
{"key": "b", "action": "word_back", "label": "Copy word back", "category": "Copy", "menu": "yank"},
{"key": "B", "action": "WORD_back", "label": "Copy WORD back", "category": "Copy", "menu": "yank"},
{"key": "e", "action": "word_end", "label": "Copy to word end", "category": "Copy", "menu": "yank"},
{"key": "E", "action": "WORD_end", "label": "Copy to WORD end", "category": "Copy", "menu": "yank"},
{"key": "0", "action": "line_start", "label": "Copy to line start", "category": "Copy", "menu": "yank"},
{"key": "dollar_sign", "action": "line_end_motion", "label": "Copy to line end", "category": "Copy", "menu": "yank"},
{"key": "h", "action": "left", "label": "Copy left", "category": "Copy", "menu": "yank"},
{"key": "j", "action": "down", "label": "Copy line down", "category": "Copy", "menu": "yank"},
{"key": "k", "action": "up", "label": "Copy line up", "category": "Copy", "menu": "yank"},
{"key": "l", "action": "right", "label": "Copy right", "category": "Copy", "menu": "yank"},
{"key": "G", "action": "to_end", "label": "Copy to end", "category": "Copy", "menu": "yank"},
{"key": "f", "action": "find_char", "label": "Copy to char...", "category": "Copy", "menu": "yank"},
{"key": "F", "action": "find_char_back", "label": "Copy back to char...", "category": "Copy", "menu": "yank"},
{"key": "t", "action": "till_char", "label": "Copy till char...", "category": "Copy", "menu": "yank"},
{"key": "T", "action": "till_char_back", "label": "Copy back till char...", "category": "Copy", "menu": "yank"},
{"key": "percent_sign", "action": "matching_bracket", "label": "Copy to bracket", "category": "Copy", "menu": "yank"},
{"key": "i", "action": "inner", "label": "Copy inside...", "category": "Copy", "menu": "yank"},
{"key": "a", "action": "around", "label": "Copy around...", "category": "Copy", "menu": "yank"},
{"key": "c", "action": "line", "label": "Change line", "category": "Change", "menu": "change"},
{"key": "w", "action": "word", "label": "Change word", "category": "Change", "menu": "change"},
{"key": "W", "action": "WORD", "label": "Change WORD", "category": "Change", "menu": "change"},
{"key": "b", "action": "word_back", "label": "Change word back", "category": "Change", "menu": "change"},
{"key": "B", "action": "WORD_back", "label": "Change WORD back", "category": "Change", "menu": "change"},
{"key": "e", "action": "word_end", "label": "Change to word end", "category": "Change", "menu": "change"},
{"key": "E", "action": "WORD_end", "label": "Change to WORD end", "category": "Change", "menu": "change"},
{"key": "0", "action": "line_start", "label": "Change to line start", "category": "Change", "menu": "change"},
{"key": "dollar_sign", "action": "line_end_motion", "label": "Change to line end", "category": "Change", "menu": "change"},
{"key": "h", "action": "left", "label": "Change left", "category": "Change", "menu": "change"},
{"key": "j", "action": "down", "label": "Change line down", "category": "Change", "menu": "change"},
{"key": "k", "action": "up", "label": "Change line up", "category": "Change", "menu": "change"},
{"key": "l", "action": "right", "label": "Change right", "category": "Change", "menu": "change"},
{"key": "G", "action": "to_end", "label": "Change to end", "category": "Change", "menu": "change"},
{"key": "f", "action": "find_char", "label": "Change to char...", "category": "Change", "menu": "change"},
{"key": "F", "action": "find_char_back", "label": "Change back to char...", "category": "Change", "menu": "change"},
{"key": "t", "action": "till_char", "label": "Change till char...", "category": "Change", "menu": "change"},
{"key": "T", "action": "till_char_back", "label": "Change back till char...", "category": "Change", "menu": "change"},
{"key": "percent_sign", "action": "matching_bracket", "label": "Change to bracket", "category": "Change", "menu": "change"},
{"key": "i", "action": "inner", "label": "Change inside...", "category": "Change", "menu": "change"},
{"key": "a", "action": "around", "label": "Change around...", "category": "Change", "menu": "change"},
{"key": "g", "action": "first_line", "label": "Go to first line", "category": "Go to", "menu": "g"},
{"key": "e", "action": "word_end_back", "label": "End of prev word", "category": "Go to", "menu": "g"},
{"key": "E", "action": "WORD_end_back", "label": "End of prev WORD", "category": "Go to", "menu": "g"},
{"key": "c", "action": "comment", "label": "Toggle comment...", "category": "Toggle", "menu": "g"},
{"key": "r", "action": "execute_query", "label": "Run query", "category": "Execute", "menu": "g"},
{"key": "s", "action": "execute_single_statement", "label": "Run statement at cursor", "category": "Execute", "menu": "g"},
{"key": "t", "action": "execute_query_atomic", "label": "Run as transaction", "category": "Execute", "menu": "g"},
{"key": "c", "action": "line", "label": "Toggle line comment", "category": "Comment", "menu": "gc"},
{"key": "j", "action": "down", "label": "Comment line down", "category": "Comment", "menu": "gc"},
{"key": "k", "action": "up", "label": "Comment line up", "category": "Comment", "menu": "gc"},
{"key": "G", "action": "to_end", "label": "Comment to end", "category": "Comment", "menu": "gc"},
{"key": "s", "action": "selection", "label": "Toggle selection", "category": "Comment", "menu": "gc"},
{"key": "S", "action": "statement", "label": "Toggle statement", "category": "Comment", "menu": "gc"},
{"key": "c", "action": "cell", "label": "Copy cell", "category": "Copy", "menu": "ry"},
{"key": "y", "action": "row", "label": "Copy row", "category": "Copy", "menu": "ry"},
{"key": "a", "action": "all", "label": "Copy all", "category": "Copy", "menu": "ry"},
{"key": "e", "action": "export", "label": "Export...", "category": "Export", "menu": "ry"},
{"key": "c", "action": "csv", "label": "Export as CSV", "category": "Export", "menu": "rye"},
{"key": "j", "action": "json", "label": "Export as JSON", "category": "Export", "menu": "rye"},
{"key": "y", "action": "value", "label": "Copy value", "category": "Copy", "menu": "vy"},
{"key": "f", "action": "field", "label": "Copy field", "category": "Copy", "menu": "vy"},
{"key": "a", "action": "all", "label": "Copy all", "category": "Copy", "menu": "vy"}
],
"action_keys": [
{"key": "n", "action": "new_connection", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "v", "action": "enter_tree_visual_mode", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "escape", "action": "exit_tree_visual_mode", "context": "tree_visual", "primary": true, "show": false, "priority": false},
{"key": "v", "action": "exit_tree_visual_mode", "context": "tree_visual", "primary": false, "show": false, "priority": false},
{"key": "escape", "action": "clear_connection_selection", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "s", "action": "select_table", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "f", "action": "refresh_tree", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "R", "action": "refresh_tree", "context": "tree", "primary": false, "show": false, "priority": false},
{"key": "e", "action": "edit_connection", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "M", "action": "rename_connection_folder", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "d", "action": "delete_connection_folder", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "delete", "action": "delete_connection_folder", "context": "tree", "primary": false, "show": false, "priority": false},
{"key": "d", "action": "delete_connection", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "delete", "action": "delete_connection", "context": "tree", "primary": false, "show": false, "priority": false},
{"key": "D", "action": "duplicate_connection", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "m", "action": "move_connection_to_folder", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "x", "action": "disconnect", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "z", "action": "collapse_tree", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "j", "action": "tree_cursor_down", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "down", "action": "tree_cursor_down", "context": "tree", "primary": false, "show": false, "priority": false},
{"key": "k", "action": "tree_cursor_up", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "up", "action": "tree_cursor_up", "context": "tree", "primary": false, "show": false, "priority": false},
{"key": "slash", "action": "tree_filter", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "escape", "action": "tree_filter_close", "context": "tree_filter", "primary": true, "show": false, "priority": false},
{"key": "enter", "action": "tree_filter_accept", "context": "tree_filter", "primary": true, "show": false, "priority": false},
{"key": "space", "action": "leader_key", "context": "global", "primary": true, "show": false, "priority": true},
{"key": "ctrl+x", "action": "quit", "context": "global", "primary": true, "show": false, "priority": false},
{"key": "escape", "action": "cancel_operation", "context": "global", "primary": true, "show": false, "priority": false},
{"key": "f1", "action": "show_help", "context": "global", "primary": true, "show": false, "priority": false},
{"key": "i", "action": "enter_insert_mode", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "I", "action": "prepend_insert_mode", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "o", "action": "open_line_below", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "O", "action": "open_line_above", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "enter", "action": "execute_query", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "p", "action": "paste", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "y", "action": "yank_leader_key", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "c", "action": "change_leader_key", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "g", "action": "g_leader_key", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "backspace", "action": "show_history", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "N", "action": "new_query", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "d", "action": "delete_leader_key", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "C", "action": "change_line_end_motion", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "D", "action": "delete_line_end", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "u", "action": "undo", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "ctrl+r", "action": "redo", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "h", "action": "cursor_left", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "j", "action": "cursor_down", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "k", "action": "cursor_up", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "l", "action": "cursor_right", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "w", "action": "cursor_word_forward", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "W", "action": "cursor_WORD_forward", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "b", "action": "cursor_word_back", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "B", "action": "cursor_WORD_back", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "0", "action": "cursor_line_start", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "dollar_sign", "action": "cursor_line_end", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "G", "action": "cursor_last_line", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "percent_sign", "action": "cursor_matching_bracket", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "f", "action": "cursor_find_char", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "F", "action": "cursor_find_char_back", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "t", "action": "cursor_till_char", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "T", "action": "cursor_till_char_back", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "a", "action": "append_insert_mode", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "A", "action": "append_line_end", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "escape", "action": "exit_insert_mode", "context": "query_insert", "primary": true, "show": false, "priority": false},
{"key": "ctrl+enter", "action": "execute_query_insert", "context": "query_insert", "primary": true, "show": false, "priority": false},
{"key": "f5", "action": "execute_query_insert", "context": "query_insert", "primary": false, "show": false, "priority": false},
{"key": "tab", "action": "autocomplete_accept", "context": "query_insert", "primary": true, "show": false, "priority": false},
{"key": "e", "action": "focus_explorer", "context": "navigation", "primary": true, "show": false, "priority": false},
{"key": "q", "action": "focus_query", "context": "navigation", "primary": true, "show": false, "priority": false},
{"key": "r", "action": "focus_results", "context": "navigation", "primary": true, "show": false, "priority": false},
{"key": "ctrl+j", "action": "autocomplete_next", "context": "autocomplete", "primary": true, "show": false, "priority": false},
{"key": "ctrl+n", "action": "autocomplete_next", "context": "autocomplete", "primary": false, "show": false, "priority": false},
{"key": "ctrl+k", "action": "autocomplete_prev", "context": "autocomplete", "primary": true, "show": false, "priority": false},
{"key": "ctrl+p", "action": "autocomplete_prev", "context": "autocomplete", "primary": false, "show": false, "priority": false},
{"key": "escape", "action": "autocomplete_close", "context": "autocomplete", "primary": true, "show": false, "priority": false},
{"key": "ctrl+a", "action": "select_all", "context": "query_insert", "primary": true, "show": false, "priority": false},
{"key": "ctrl+c", "action": "copy_selection", "context": "query_insert", "primary": true, "show": false, "priority": false},
{"key": "ctrl+v", "action": "paste", "context": "query_insert", "primary": true, "show": false, "priority": false},
{"key": "ctrl+z", "action": "undo", "context": "global", "primary": true, "show": false, "priority": false},
{"key": "ctrl+y", "action": "redo", "context": "global", "primary": true, "show": false, "priority": false},
{"key": "v", "action": "view_cell", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "V", "action": "view_cell_full", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "u", "action": "edit_cell", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "d", "action": "delete_row", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "y", "action": "results_yank_leader_key", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "x", "action": "clear_results", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "slash", "action": "results_filter", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "h", "action": "results_cursor_left", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "j", "action": "results_cursor_down", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "k", "action": "results_cursor_up", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "l", "action": "results_cursor_right", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "tab", "action": "next_result_section", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "shift+tab", "action": "prev_result_section", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "z", "action": "toggle_result_section", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "escape", "action": "results_filter_close", "context": "results_filter", "primary": true, "show": false, "priority": false},
{"key": "enter", "action": "results_filter_accept", "context": "results_filter", "primary": true, "show": false, "priority": false},
{"key": "q", "action": "close_value_view", "context": "value_view", "primary": true, "show": false, "priority": false},
{"key": "escape", "action": "close_value_view", "context": "value_view", "primary": true, "show": false, "priority": false},
{"key": "y", "action": "copy_value_view", "context": "value_view", "primary": true, "show": false, "priority": false},
{"key": "t", "action": "toggle_value_view_mode", "context": "value_view", "primary": true, "show": false, "priority": false},
{"key": "z", "action": "collapse_all_json_nodes", "context": "value_view", "primary": true, "show": false, "priority": false},
{"key": "Z", "action": "expand_all_json_nodes", "context": "value_view", "primary": true, "show": false, "priority": false}
]
}
}
{
"_note": "Complete default keymap - all sqlit default keybindings",
"keymap": {
"leader_commands": [
{"key": "e", "action": "toggle_explorer", "label": "Toggle Explorer", "category": "View", "menu": "leader"},
{"key": "f", "action": "toggle_fullscreen", "label": "Toggle Maximize", "category": "View", "menu": "leader"},
{"key": "c", "action": "show_connection_picker", "label": "Connect", "category": "Connection", "menu": "leader"},
{"key": "x", "action": "disconnect", "label": "Disconnect", "category": "Connection", "guard": "has_connection", "menu": "leader"},
{"key": "z", "action": "cancel_operation", "label": "Cancel", "category": "Actions", "guard": "query_executing", "menu": "leader"},
{"key": "t", "action": "change_theme", "label": "Change Theme", "category": "Actions", "menu": "leader"},
{"key": "h", "action": "show_help", "label": "Help", "category": "Actions", "menu": "leader"},
{"key": "space", "action": "telescope", "label": "Telescope", "category": "Actions", "menu": "leader"},
{"key": "slash", "action": "telescope_filter", "label": "Telescope Search", "category": "Actions", "menu": "leader"},
{"key": "q", "action": "quit", "label": "Quit", "category": "Actions", "menu": "leader"},
{"key": "d", "action": "line", "label": "Delete line", "category": "Delete", "menu": "delete"},
{"key": "w", "action": "word", "label": "Delete word", "category": "Delete", "menu": "delete"},
{"key": "W", "action": "WORD", "label": "Delete WORD", "category": "Delete", "menu": "delete"},
{"key": "b", "action": "word_back", "label": "Delete word back", "category": "Delete", "menu": "delete"},
{"key": "B", "action": "WORD_back", "label": "Delete WORD back", "category": "Delete", "menu": "delete"},
{"key": "e", "action": "word_end", "label": "Delete to word end", "category": "Delete", "menu": "delete"},
{"key": "E", "action": "WORD_end", "label": "Delete to WORD end", "category": "Delete", "menu": "delete"},
{"key": "0", "action": "line_start", "label": "Delete to line start", "category": "Delete", "menu": "delete"},
{"key": "dollar_sign", "action": "line_end_motion", "label": "Delete to line end", "category": "Delete", "menu": "delete"},
{"key": "D", "action": "line_end", "label": "Delete to line end", "category": "Delete", "menu": "delete"},
{"key": "x", "action": "char", "label": "Delete char", "category": "Delete", "menu": "delete"},
{"key": "X", "action": "char_back", "label": "Delete char back", "category": "Delete", "menu": "delete"},
{"key": "h", "action": "left", "label": "Delete left", "category": "Delete", "menu": "delete"},
{"key": "j", "action": "down", "label": "Delete line down", "category": "Delete", "menu": "delete"},
{"key": "k", "action": "up", "label": "Delete line up", "category": "Delete", "menu": "delete"},
{"key": "l", "action": "right", "label": "Delete right", "category": "Delete", "menu": "delete"},
{"key": "G", "action": "to_end", "label": "Delete to end", "category": "Delete", "menu": "delete"},
{"key": "f", "action": "find_char", "label": "Delete to char...", "category": "Delete", "menu": "delete"},
{"key": "F", "action": "find_char_back", "label": "Delete back to char...", "category": "Delete", "menu": "delete"},
{"key": "t", "action": "till_char", "label": "Delete till char...", "category": "Delete", "menu": "delete"},
{"key": "T", "action": "till_char_back", "label": "Delete back till char...", "category": "Delete", "menu": "delete"},
{"key": "percent_sign", "action": "matching_bracket", "label": "Delete to bracket", "category": "Delete", "menu": "delete"},
{"key": "i", "action": "inner", "label": "Delete inside...", "category": "Delete", "menu": "delete"},
{"key": "a", "action": "around", "label": "Delete around...", "category": "Delete", "menu": "delete"},
{"key": "y", "action": "line", "label": "Copy line", "category": "Copy", "menu": "yank"},
{"key": "w", "action": "word", "label": "Copy word", "category": "Copy", "menu": "yank"},
{"key": "W", "action": "WORD", "label": "Copy WORD", "category": "Copy", "menu": "yank"},
{"key": "b", "action": "word_back", "label": "Copy word back", "category": "Copy", "menu": "yank"},
{"key": "B", "action": "WORD_back", "label": "Copy WORD back", "category": "Copy", "menu": "yank"},
{"key": "e", "action": "word_end", "label": "Copy to word end", "category": "Copy", "menu": "yank"},
{"key": "E", "action": "WORD_end", "label": "Copy to WORD end", "category": "Copy", "menu": "yank"},
{"key": "0", "action": "line_start", "label": "Copy to line start", "category": "Copy", "menu": "yank"},
{"key": "dollar_sign", "action": "line_end_motion", "label": "Copy to line end", "category": "Copy", "menu": "yank"},
{"key": "h", "action": "left", "label": "Copy left", "category": "Copy", "menu": "yank"},
{"key": "j", "action": "down", "label": "Copy line down", "category": "Copy", "menu": "yank"},
{"key": "k", "action": "up", "label": "Copy line up", "category": "Copy", "menu": "yank"},
{"key": "l", "action": "right", "label": "Copy right", "category": "Copy", "menu": "yank"},
{"key": "G", "action": "to_end", "label": "Copy to end", "category": "Copy", "menu": "yank"},
{"key": "f", "action": "find_char", "label": "Copy to char...", "category": "Copy", "menu": "yank"},
{"key": "F", "action": "find_char_back", "label": "Copy back to char...", "category": "Copy", "menu": "yank"},
{"key": "t", "action": "till_char", "label": "Copy till char...", "category": "Copy", "menu": "yank"},
{"key": "T", "action": "till_char_back", "label": "Copy back till char...", "category": "Copy", "menu": "yank"},
{"key": "percent_sign", "action": "matching_bracket", "label": "Copy to bracket", "category": "Copy", "menu": "yank"},
{"key": "i", "action": "inner", "label": "Copy inside...", "category": "Copy", "menu": "yank"},
{"key": "a", "action": "around", "label": "Copy around...", "category": "Copy", "menu": "yank"},
{"key": "c", "action": "line", "label": "Change line", "category": "Change", "menu": "change"},
{"key": "w", "action": "word", "label": "Change word", "category": "Change", "menu": "change"},
{"key": "W", "action": "WORD", "label": "Change WORD", "category": "Change", "menu": "change"},
{"key": "b", "action": "word_back", "label": "Change word back", "category": "Change", "menu": "change"},
{"key": "B", "action": "WORD_back", "label": "Change WORD back", "category": "Change", "menu": "change"},
{"key": "e", "action": "word_end", "label": "Change to word end", "category": "Change", "menu": "change"},
{"key": "E", "action": "WORD_end", "label": "Change to WORD end", "category": "Change", "menu": "change"},
{"key": "0", "action": "line_start", "label": "Change to line start", "category": "Change", "menu": "change"},
{"key": "dollar_sign", "action": "line_end_motion", "label": "Change to line end", "category": "Change", "menu": "change"},
{"key": "h", "action": "left", "label": "Change left", "category": "Change", "menu": "change"},
{"key": "j", "action": "down", "label": "Change line down", "category": "Change", "menu": "change"},
{"key": "k", "action": "up", "label": "Change line up", "category": "Change", "menu": "change"},
{"key": "l", "action": "right", "label": "Change right", "category": "Change", "menu": "change"},
{"key": "G", "action": "to_end", "label": "Change to end", "category": "Change", "menu": "change"},
{"key": "f", "action": "find_char", "label": "Change to char...", "category": "Change", "menu": "change"},
{"key": "F", "action": "find_char_back", "label": "Change back to char...", "category": "Change", "menu": "change"},
{"key": "t", "action": "till_char", "label": "Change till char...", "category": "Change", "menu": "change"},
{"key": "T", "action": "till_char_back", "label": "Change back till char...", "category": "Change", "menu": "change"},
{"key": "percent_sign", "action": "matching_bracket", "label": "Change to bracket", "category": "Change", "menu": "change"},
{"key": "i", "action": "inner", "label": "Change inside...", "category": "Change", "menu": "change"},
{"key": "a", "action": "around", "label": "Change around...", "category": "Change", "menu": "change"},
{"key": "g", "action": "first_line", "label": "Go to first line", "category": "Go to", "menu": "g"},
{"key": "e", "action": "word_end_back", "label": "End of prev word", "category": "Go to", "menu": "g"},
{"key": "E", "action": "WORD_end_back", "label": "End of prev WORD", "category": "Go to", "menu": "g"},
{"key": "c", "action": "comment", "label": "Toggle comment...", "category": "Toggle", "menu": "g"},
{"key": "r", "action": "execute_query", "label": "Run query", "category": "Execute", "menu": "g"},
{"key": "s", "action": "execute_single_statement", "label": "Run statement at cursor", "category": "Execute", "menu": "g"},
{"key": "t", "action": "execute_query_atomic", "label": "Run as transaction", "category": "Execute", "menu": "g"},
{"key": "c", "action": "line", "label": "Toggle line comment", "category": "Comment", "menu": "gc"},
{"key": "j", "action": "down", "label": "Comment line down", "category": "Comment", "menu": "gc"},
{"key": "k", "action": "up", "label": "Comment line up", "category": "Comment", "menu": "gc"},
{"key": "G", "action": "to_end", "label": "Comment to end", "category": "Comment", "menu": "gc"},
{"key": "s", "action": "selection", "label": "Toggle selection", "category": "Comment", "menu": "gc"},
{"key": "S", "action": "statement", "label": "Toggle statement", "category": "Comment", "menu": "gc"},
{"key": "c", "action": "cell", "label": "Copy cell", "category": "Copy", "menu": "ry"},
{"key": "y", "action": "row", "label": "Copy row", "category": "Copy", "menu": "ry"},
{"key": "a", "action": "all", "label": "Copy all", "category": "Copy", "menu": "ry"},
{"key": "e", "action": "export", "label": "Export...", "category": "Export", "menu": "ry"},
{"key": "c", "action": "csv", "label": "Export as CSV", "category": "Export", "menu": "rye"},
{"key": "j", "action": "json", "label": "Export as JSON", "category": "Export", "menu": "rye"},
{"key": "y", "action": "value", "label": "Copy value", "category": "Copy", "menu": "vy"},
{"key": "f", "action": "field", "label": "Copy field", "category": "Copy", "menu": "vy"},
{"key": "a", "action": "all", "label": "Copy all", "category": "Copy", "menu": "vy"}
],
"action_keys": [
{"key": "n", "action": "new_connection", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "v", "action": "enter_tree_visual_mode", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "escape", "action": "exit_tree_visual_mode", "context": "tree_visual", "primary": true, "show": false, "priority": false},
{"key": "v", "action": "exit_tree_visual_mode", "context": "tree_visual", "primary": false, "show": false, "priority": false},
{"key": "escape", "action": "clear_connection_selection", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "s", "action": "select_table", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "f", "action": "refresh_tree", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "R", "action": "refresh_tree", "context": "tree", "primary": false, "show": false, "priority": false},
{"key": "e", "action": "edit_connection", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "M", "action": "rename_connection_folder", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "d", "action": "delete_connection_folder", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "delete", "action": "delete_connection_folder", "context": "tree", "primary": false, "show": false, "priority": false},
{"key": "d", "action": "delete_connection", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "delete", "action": "delete_connection", "context": "tree", "primary": false, "show": false, "priority": false},
{"key": "D", "action": "duplicate_connection", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "m", "action": "move_connection_to_folder", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "x", "action": "disconnect", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "z", "action": "collapse_tree", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "j", "action": "tree_cursor_down", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "down", "action": "tree_cursor_down", "context": "tree", "primary": false, "show": false, "priority": false},
{"key": "k", "action": "tree_cursor_up", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "up", "action": "tree_cursor_up", "context": "tree", "primary": false, "show": false, "priority": false},
{"key": "slash", "action": "tree_filter", "context": "tree", "primary": true, "show": false, "priority": false},
{"key": "escape", "action": "tree_filter_close", "context": "tree_filter", "primary": true, "show": false, "priority": false},
{"key": "enter", "action": "tree_filter_accept", "context": "tree_filter", "primary": true, "show": false, "priority": false},
{"key": "space", "action": "leader_key", "context": "global", "primary": true, "show": false, "priority": true},
{"key": "ctrl+q", "action": "quit", "context": "global", "primary": true, "show": false, "priority": false},
{"key": "escape", "action": "cancel_operation", "context": "global", "primary": true, "show": false, "priority": false},
{"key": "question_mark", "action": "show_help", "context": "global", "primary": true, "show": false, "priority": false},
{"key": "i", "action": "enter_insert_mode", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "I", "action": "prepend_insert_mode", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "o", "action": "open_line_below", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "O", "action": "open_line_above", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "enter", "action": "execute_query", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "p", "action": "paste", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "y", "action": "yank_leader_key", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "c", "action": "change_leader_key", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "g", "action": "g_leader_key", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "backspace", "action": "show_history", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "N", "action": "new_query", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "d", "action": "delete_leader_key", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "C", "action": "change_line_end_motion", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "D", "action": "delete_line_end", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "u", "action": "undo", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "ctrl+r", "action": "redo", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "h", "action": "cursor_left", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "j", "action": "cursor_down", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "k", "action": "cursor_up", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "l", "action": "cursor_right", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "w", "action": "cursor_word_forward", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "W", "action": "cursor_WORD_forward", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "b", "action": "cursor_word_back", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "B", "action": "cursor_WORD_back", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "0", "action": "cursor_line_start", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "dollar_sign", "action": "cursor_line_end", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "G", "action": "cursor_last_line", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "percent_sign", "action": "cursor_matching_bracket", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "f", "action": "cursor_find_char", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "F", "action": "cursor_find_char_back", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "t", "action": "cursor_till_char", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "T", "action": "cursor_till_char_back", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "a", "action": "append_insert_mode", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "A", "action": "append_line_end", "context": "query_normal", "primary": true, "show": false, "priority": false},
{"key": "escape", "action": "exit_insert_mode", "context": "query_insert", "primary": true, "show": false, "priority": false},
{"key": "ctrl+enter", "action": "execute_query_insert", "context": "query_insert", "primary": true, "show": false, "priority": false},
{"key": "tab", "action": "autocomplete_accept", "context": "query_insert", "primary": true, "show": false, "priority": false},
{"key": "e", "action": "focus_explorer", "context": "navigation", "primary": true, "show": false, "priority": false},
{"key": "q", "action": "focus_query", "context": "navigation", "primary": true, "show": false, "priority": false},
{"key": "r", "action": "focus_results", "context": "navigation", "primary": true, "show": false, "priority": false},
{"key": "ctrl+j", "action": "autocomplete_next", "context": "autocomplete", "primary": true, "show": false, "priority": false},
{"key": "ctrl+k", "action": "autocomplete_prev", "context": "autocomplete", "primary": true, "show": false, "priority": false},
{"key": "escape", "action": "autocomplete_close", "context": "autocomplete", "primary": true, "show": false, "priority": false},
{"key": "ctrl+a", "action": "select_all", "context": "query_insert", "primary": true, "show": false, "priority": false},
{"key": "ctrl+c", "action": "copy_selection", "context": "query_insert", "primary": true, "show": false, "priority": false},
{"key": "ctrl+v", "action": "paste", "context": "query_insert", "primary": true, "show": false, "priority": false},
{"key": "ctrl+z", "action": "undo", "context": "global", "primary": true, "show": false, "priority": false},
{"key": "ctrl+y", "action": "redo", "context": "global", "primary": true, "show": false, "priority": false},
{"key": "v", "action": "view_cell", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "V", "action": "view_cell_full", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "u", "action": "edit_cell", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "d", "action": "delete_row", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "y", "action": "results_yank_leader_key", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "x", "action": "clear_results", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "slash", "action": "results_filter", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "h", "action": "results_cursor_left", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "j", "action": "results_cursor_down", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "k", "action": "results_cursor_up", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "l", "action": "results_cursor_right", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "tab", "action": "next_result_section", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "shift+tab", "action": "prev_result_section", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "z", "action": "toggle_result_section", "context": "results", "primary": true, "show": false, "priority": false},
{"key": "escape", "action": "results_filter_close", "context": "results_filter", "primary": true, "show": false, "priority": false},
{"key": "enter", "action": "results_filter_accept", "context": "results_filter", "primary": true, "show": false, "priority": false},
{"key": "q", "action": "close_value_view", "context": "value_view", "primary": true, "show": false, "priority": false},
{"key": "escape", "action": "close_value_view", "context": "value_view", "primary": true, "show": false, "priority": false},
{"key": "y", "action": "copy_value_view", "context": "value_view", "primary": true, "show": false, "priority": false},
{"key": "t", "action": "toggle_value_view_mode", "context": "value_view", "primary": true, "show": false, "priority": false},
{"key": "z", "action": "collapse_all_json_nodes", "context": "value_view", "primary": true, "show": false, "priority": false},
{"key": "Z", "action": "expand_all_json_nodes", "context": "value_view", "primary": true, "show": false, "priority": false}
]
}
}
{
"custom_keymap": "default",
"theme": "tokyo-night"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment