2021-09-29 11:15:41 +00:00
|
|
|
# --------------------------------- General --------------------------------------------
|
|
|
|
|
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+p"
|
|
|
|
command = "palette"
|
|
|
|
|
|
|
|
[[keymaps]]
|
2021-10-07 20:31:03 +00:00
|
|
|
key = "meta+P"
|
2021-09-29 11:15:41 +00:00
|
|
|
command = "palette.command"
|
|
|
|
|
2021-09-28 17:08:36 +00:00
|
|
|
[[keymaps]]
|
2022-03-21 13:03:37 +00:00
|
|
|
key = "meta+e"
|
|
|
|
command = "toggle_code_lens"
|
|
|
|
mode = "i"
|
2021-10-15 21:09:31 +00:00
|
|
|
|
|
|
|
[[keymaps]]
|
2022-03-21 13:03:37 +00:00
|
|
|
key = "meta+,"
|
|
|
|
command = "open_settings"
|
2021-10-15 21:09:31 +00:00
|
|
|
|
|
|
|
[[keymaps]]
|
2022-03-21 13:03:37 +00:00
|
|
|
key = "meta+k meta+s"
|
|
|
|
command = "open_keyboard_shortcuts"
|
2021-10-15 21:09:31 +00:00
|
|
|
|
2022-03-21 13:03:37 +00:00
|
|
|
# --------------------------------- Basic editing ---------------------------------------
|
2021-10-15 21:09:31 +00:00
|
|
|
|
|
|
|
[[keymaps]]
|
2022-03-21 13:03:37 +00:00
|
|
|
key = "meta+z"
|
|
|
|
command = "undo"
|
2021-10-15 21:09:31 +00:00
|
|
|
|
2022-03-14 16:19:51 +00:00
|
|
|
[[keymaps]]
|
2022-03-21 13:03:37 +00:00
|
|
|
key = "meta+Z"
|
|
|
|
command = "redo"
|
2022-03-14 16:19:51 +00:00
|
|
|
|
2021-09-29 11:15:41 +00:00
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+x"
|
2022-03-15 09:16:19 +00:00
|
|
|
command = "clipboard_cut"
|
2021-09-29 11:15:41 +00:00
|
|
|
|
2022-03-04 13:22:36 +00:00
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+c"
|
|
|
|
command = "clipboard_copy"
|
|
|
|
|
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+v"
|
|
|
|
command = "clipboard_paste"
|
2022-03-21 13:03:37 +00:00
|
|
|
|
2022-03-23 17:44:34 +00:00
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+f"
|
|
|
|
command = "search"
|
|
|
|
|
2022-03-21 13:03:37 +00:00
|
|
|
[[keymaps]]
|
2022-03-25 08:51:01 +00:00
|
|
|
key = "alt+right"
|
2022-03-21 13:03:37 +00:00
|
|
|
command = "word_forward"
|
|
|
|
mode = "i"
|
|
|
|
|
|
|
|
[[keymaps]]
|
2022-03-25 08:51:01 +00:00
|
|
|
key = "alt+left"
|
2022-03-21 13:03:37 +00:00
|
|
|
command = "word_backward"
|
|
|
|
mode = "i"
|
|
|
|
|
|
|
|
[[keymaps]]
|
2022-03-25 16:21:33 +00:00
|
|
|
key = "alt+backspace"
|
2022-03-21 13:03:37 +00:00
|
|
|
command = "delete_word_backward"
|
|
|
|
mode = "i"
|
2022-03-04 13:22:36 +00:00
|
|
|
|
2022-03-21 13:53:16 +00:00
|
|
|
[[keymaps]]
|
2022-03-25 16:21:33 +00:00
|
|
|
key = "alt+delete"
|
2022-03-21 13:53:16 +00:00
|
|
|
command = "delete_word_forward"
|
|
|
|
mode = "i"
|
|
|
|
|
2022-03-21 13:23:19 +00:00
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+|"
|
|
|
|
command = "match_pairs"
|
|
|
|
mode = "i"
|
|
|
|
|
2022-03-22 13:39:47 +00:00
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+/"
|
|
|
|
command = "toggle_line_comment"
|
|
|
|
|
2022-03-22 22:04:11 +00:00
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+]"
|
|
|
|
command = "indent_line"
|
|
|
|
|
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+["
|
|
|
|
command = "outdent_line"
|
|
|
|
|
2022-03-24 13:06:27 +00:00
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+a"
|
|
|
|
command = "select_all"
|
|
|
|
|
2022-03-24 15:41:28 +00:00
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+enter"
|
|
|
|
command = "new_line_below"
|
|
|
|
mode = "i"
|
|
|
|
|
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+shift+enter"
|
|
|
|
command = "new_line_above"
|
|
|
|
mode = "i"
|
|
|
|
|
2021-09-29 11:15:41 +00:00
|
|
|
# ------------------------------------ Multi cursor -------------------------------------
|
|
|
|
|
|
|
|
[[keymaps]]
|
|
|
|
key = "alt+meta+up"
|
|
|
|
command = "insert_cursor_above"
|
|
|
|
mode = "i"
|
|
|
|
|
2022-03-15 13:03:08 +00:00
|
|
|
[[keymaps]]
|
|
|
|
key = "alt+meta+down"
|
|
|
|
command = "insert_cursor_below"
|
|
|
|
mode = "i"
|
2021-09-29 11:15:41 +00:00
|
|
|
|
2022-03-15 13:03:08 +00:00
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+l"
|
|
|
|
command = "select_current_line"
|
|
|
|
mode = "i"
|
2021-09-29 11:15:41 +00:00
|
|
|
|
2022-03-15 15:18:17 +00:00
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+L"
|
|
|
|
command = "select_all_current"
|
|
|
|
mode = "i"
|
|
|
|
|
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+u"
|
|
|
|
command = "select_undo"
|
|
|
|
mode = "i"
|
|
|
|
|
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+d"
|
|
|
|
command = "select_next_current"
|
|
|
|
mode = "i"
|
|
|
|
|
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+k meta+d"
|
|
|
|
command = "select_skip_current"
|
|
|
|
mode = "i"
|
|
|
|
|
2022-03-21 13:03:37 +00:00
|
|
|
# ------------------------------------ File Management --------------------------------
|
2021-09-28 17:08:36 +00:00
|
|
|
|
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+s"
|
|
|
|
command = "save"
|
|
|
|
|
2022-03-21 14:15:02 +00:00
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+o"
|
|
|
|
command = "open_file"
|
|
|
|
|
2022-03-21 13:03:37 +00:00
|
|
|
# ----------------------------------- Editor Management -------------------------------
|
2021-09-28 17:08:36 +00:00
|
|
|
|
|
|
|
[[keymaps]]
|
2022-03-21 13:03:37 +00:00
|
|
|
key = "meta+w"
|
|
|
|
command = "split_close"
|
2021-09-28 17:08:36 +00:00
|
|
|
|
2022-03-21 14:15:02 +00:00
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+k f"
|
|
|
|
command = "close_folder"
|
|
|
|
|
2022-03-21 13:19:53 +00:00
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+\\"
|
|
|
|
command = "split_vertical"
|
|
|
|
|
2022-03-21 13:03:37 +00:00
|
|
|
# --------------------------------- Rich Lanaguage Editing ----------------------------
|
2021-09-28 17:08:36 +00:00
|
|
|
|
|
|
|
[[keymaps]]
|
2022-03-21 13:03:37 +00:00
|
|
|
key = "ctrl+space"
|
|
|
|
command = "get_completion"
|
2021-09-28 17:08:36 +00:00
|
|
|
mode = "i"
|
|
|
|
|
|
|
|
[[keymaps]]
|
2022-03-21 13:03:37 +00:00
|
|
|
key = "meta+i"
|
|
|
|
command = "get_completion"
|
2022-03-18 16:14:43 +00:00
|
|
|
mode = "i"
|
|
|
|
|
2021-09-28 17:08:36 +00:00
|
|
|
[[keymaps]]
|
2022-03-21 13:03:37 +00:00
|
|
|
key = "meta+."
|
|
|
|
command = "show_code_actions"
|
2022-02-07 20:54:20 +00:00
|
|
|
|
2022-03-21 13:31:00 +00:00
|
|
|
# --------------------------------- Display -------------------------------------------
|
|
|
|
|
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+E"
|
2022-03-23 21:45:16 +00:00
|
|
|
command = "toggle_file_explorer_focus"
|
2022-03-21 13:31:00 +00:00
|
|
|
|
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+F"
|
2022-03-23 21:45:16 +00:00
|
|
|
command = "toggle_search_focus"
|
2022-03-21 13:31:00 +00:00
|
|
|
|
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+X"
|
2022-03-23 21:45:16 +00:00
|
|
|
command = "toggle_plugin_focus"
|
2022-03-21 13:31:00 +00:00
|
|
|
|
2022-03-21 13:43:32 +00:00
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+M"
|
2022-03-23 21:45:16 +00:00
|
|
|
command = "toggle_problem_focus"
|
2022-03-21 13:43:32 +00:00
|
|
|
|
2022-03-21 13:03:37 +00:00
|
|
|
# ------------------------------------ Navigation -------------------------------------
|
2021-09-28 17:08:36 +00:00
|
|
|
|
2022-03-24 06:15:59 +00:00
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+up"
|
|
|
|
command = "document_start"
|
|
|
|
|
|
|
|
[[keymaps]]
|
|
|
|
key = "meta+down"
|
|
|
|
command = "document_end"
|
|
|
|
|
2021-09-28 17:08:36 +00:00
|
|
|
[[keymaps]]
|
2022-03-21 13:03:37 +00:00
|
|
|
key = "meta+O"
|
|
|
|
command = "palette.symbol"
|
2021-09-28 17:08:36 +00:00
|
|
|
|
|
|
|
[[keymaps]]
|
2022-03-21 13:03:37 +00:00
|
|
|
key = "ctrl+g"
|
|
|
|
command = "palette.line"
|