Keyboard shortcuts
The default keymaps. Change any of them in keymaps.toml (Open Keyboard Shortcuts), where
the same [[keymaps]] entries can be added; a when condition limits a binding to a context
and mode to a modal mode (n, i, v).
Generated by scripts/gen_docs.py from defaults/keymaps-*.toml; edit those, not this file.
macOS
| Shortcut | Command | When |
|---|---|---|
MetaShiftW |
Close window (close_window) |
|
⌘P |
Palette (palette) |
|
⌘⇧P |
Palette: command (palette.command) |
|
⌘E |
Toggle minimap (toggle_minimap) |
mode i |
⌘, |
Open settings (open_settings) |
|
⌘K then ⌘S |
Open keyboard shortcuts (open_keyboard_shortcuts) |
mode inv |
⌘= |
Zoom in (zoom_in) |
|
⌘- |
Zoom out (zoom_out) |
|
⌘Enter |
Source control commit (source_control_commit) |
source_control_focus |
⌘Z |
Undo (undo) |
|
⌘⇧Z |
Redo (redo) |
|
⌘Y |
Redo (redo) |
|
⌘X |
Clipboard cut (clipboard_cut) |
|
⌘C |
Clipboard copy (clipboard_copy) |
|
⌘V |
Clipboard paste (clipboard_paste) |
|
⌘F |
Search (search) |
|
⌥→ |
Word end forward (word_end_forward) |
mode i |
⌥← |
Word backward (word_backward) |
mode i |
⌘← |
Line start non blank (line_start_non_blank) |
mode i |
⌘→ |
Line end (line_end) |
mode i |
⌃A |
Line start non blank (line_start_non_blank) |
mode i |
⌃E |
Line end (line_end) |
mode i |
⌘⇧K |
Delete line (delete_line) |
mode i |
⌥Backspace |
Delete word backward (delete_word_backward) |
mode i |
⌘Backspace |
Delete to beginning of line (delete_to_beginning_of_line) |
mode i |
⌃K |
Delete to end of line (delete_to_end_of_line) |
mode i |
⌥Delete |
Delete word forward (delete_word_forward) |
mode i |
⌘⇧\\ |
Match pairs (match_pairs) |
mode i |
⌘/ |
Toggle line comment (toggle_line_comment) |
|
⌘] |
Indent line (indent_line) |
|
⌘[ |
Outdent line (outdent_line) |
|
⌘A |
Select all (select_all) |
|
⌘Enter |
New line below (new_line_below) |
!source_control_focus · mode i |
⌘⇧Enter |
New line above (new_line_above) |
mode i |
⌥⌘↑ |
Insert cursor above (insert_cursor_above) |
mode i |
⌥⌘↓ |
Insert cursor below (insert_cursor_below) |
mode i |
⌘L |
Select current line (select_current_line) |
mode i |
⌘⇧L |
Select all current (select_all_current) |
mode i |
⌘U |
Select undo (select_undo) |
mode i |
⌘D |
Select next current (select_next_current) |
mode i |
⌘K then ⌘D |
Select skip current (select_skip_current) |
mode i |
⌘S |
Save (save) |
|
⇧⌥F |
Format document (format_document) |
|
⌘K then ⌘F |
Format selection (format_selection) |
mode inv |
⌘O |
Open file (open_file) |
|
⌘N |
New file (new_file) |
|
⌘W |
Split close (split_close) |
|
⌘K then F |
Close folder (close_folder) |
mode inv |
⌘\\ |
Split vertical (split_vertical) |
|
⌃Space |
Get completion (get_completion) |
mode i |
⌘I |
Get completion (get_completion) |
mode i |
⌃⇧Space |
Get signature (get_signature) |
mode i |
⌘. |
Show code actions (show_code_actions) |
|
⌘⇧E |
Toggle file explorer focus (toggle_file_explorer_focus) |
|
⌘⇧F |
Toggle search focus (toggle_search_focus) |
|
⌘⇧X |
Toggle plugin focus (toggle_plugin_focus) |
|
⌘⇧V |
Toggle markdown preview (toggle_markdown_preview) |
|
⌘⇧A |
Toggle ai focus (toggle_ai_focus) |
|
⌘⇧A |
Ask ai about selection (ask_ai_about_selection) |
editor_focus |
⌘⇧M |
Toggle problem focus (toggle_problem_focus) |
|
⌘↑ |
Document start (document_start) |
mode inv |
⌘↓ |
Document end (document_end) |
mode inv |
⌃F |
Right (right) |
mode i |
⌃P |
Up (up) |
!list_focus · mode i |
⌃N |
Down (down) |
!list_focus · mode i |
⌘⇧O |
Palette: symbol (palette.symbol) |
|
⌘T |
Palette: workspace symbol (palette.workspace_symbol) |
|
⌃G |
Palette: line (palette.line) |
|
⌥→ |
Inline completion: select word (inline_completion.select_word) |
inline_completion_visible && !search_focus && !modal_focus && !list_focus && !search_active |
⌥⇧→ |
Inline completion: select line (inline_completion.select_line) |
inline_completion_visible && !search_focus && !modal_focus && !list_focus && !search_active |
⌘⇧B |
Run build task (run_build_task) |
|
⌥⌘C |
Copy path (copy_path) |
|
⇧⌥⌘C |
Copy relative path (copy_relative_path) |
|
⌘⌥Enter |
Global search replace all (global_search_replace_all) |
global_search_focus |
⌥⌘R |
Reveal in file explorer (reveal_in_file_explorer) |
|
⇧⌥A |
Toggle block comment (toggle_block_comment) |
mode i |
F1 |
Palette: command (palette.command) |
|
⌥↑ |
Move line up (move_line_up) |
mode i |
⌥↓ |
Move line down (move_line_down) |
mode i |
Delete |
Delete forward (delete_forward) |
mode i |
Backspace |
Delete backward (delete_backward) |
mode i |
⇧Backspace |
Delete forward (delete_forward) |
mode i |
Home |
Line start non blank (line_start_non_blank) |
mode inv |
End |
Line end (line_end) |
mode inv |
PageUp |
Page up (page_up) |
|
PageDown |
Page down (page_down) |
|
CtrlPageUp |
Scroll up (scroll_up) |
|
CtrlPageDown |
Scroll down (scroll_down) |
|
⌥⇧I |
Insert cursor end of line (insert_cursor_end_of_line) |
mode i |
⌃Tab |
Next editor tab (next_editor_tab) |
|
⌃⇧Tab |
Previous editor tab (previous_editor_tab) |
|
F2 |
Rename symbol (rename_symbol) |
|
F12 |
Goto definition (goto_definition) |
|
G then F |
Show code actions (show_code_actions) |
mode n |
F8 |
Next error (next_error) |
|
⇧F8 |
Previous error (previous_error) |
|
⌃- |
Jump location backward (jump_location_backward) |
mode i |
⌃⇧- |
Jump location forward (jump_location_forward) |
mode i |
Ctrl`` | Toggle terminal focus (toggle_terminal_focus`) |
||
Tab |
Jump to next snippet placeholder (jump_to_next_snippet_placeholder) |
in_snippet · mode i |
⇧Tab |
Jump to prev snippet placeholder (jump_to_prev_snippet_placeholder) |
in_snippet · mode i |
Esc |
Clear search (clear_search) |
search_active |
⌃⇧↑ |
Select next syntax item (select_next_syntax_item) |
|
⌃⇧↓ |
Select previous syntax item (select_previous_syntax_item) |
|
⌃M |
List: select (list.select) |
list_focus |
Tab |
List: select (list.select) |
completion_focus |
Enter |
List: select (list.select) |
list_focus |
⌃P |
List: previous (list.previous) |
list_focus |
↑ |
List: previous (list.previous) |
list_focus |
PageUp |
List: previous page (list.previous_page) |
list_focus |
⌃N |
List: next (list.next) |
list_focus |
↓ |
List: next (list.next) |
list_focus |
PageDown |
List: next page (list.next_page) |
list_focus |
Esc |
Modal: close (modal.close) |
modal_focus |
Tab |
Inline completion: select (inline_completion.select) |
inline_completion_visible && !search_focus && !modal_focus && !list_focus && !search_active · mode i |
Esc |
Inline completion: cancel (inline_completion.cancel) |
inline_completion_visible && !search_focus && !modal_focus && !list_focus && !search_active · mode i |
⌥[ |
Inline completion: previous (inline_completion.previous) |
inline_completion_visible && !search_focus && !modal_focus && !list_focus && !search_active · mode i |
⌥] |
Inline completion: next (inline_completion.next) |
inline_completion_visible && !search_focus && !modal_focus && !list_focus && !search_active · mode i |
⌥\\ |
Inline completion: invoke (inline_completion.invoke) |
!inline_completion_visible && !search_focus && !modal_focus && !list_focus && !search_active · mode i |
→ |
Right (right) |
mode inv |
← |
Left (left) |
mode inv |
↑ |
Up (up) |
!list_focus · mode inv |
↓ |
Down (down) |
!list_focus · mode inv |
⌃H |
Delete backward (delete_backward) |
mode i |
Enter |
Insert new line (insert_new_line) |
!list_focus && !input_focus · mode i |
Tab |
Focus replace editor (focus_replace_editor) |
search_focus |
Tab |
Focus find editor (focus_find_editor) |
replace_focus |
⇧Enter |
Search backward (search_backward) |
search_focus · mode i |
Enter |
Search forward (search_forward) |
search_focus · mode i |
Enter |
Global search refresh (global_search_refresh) |
global_search_focus · mode i |
Enter |
Confirm rename (confirm_rename) |
rename_focus · mode i |
Tab |
Insert tab (insert_tab) |
!in_snippet && !completion_focus && !inline_completion_visible && !search_focus && !replace_focus && !global_search_focus · mode i |
⌃M |
Insert new line (insert_new_line) |
!list_focus · mode i |
⌥⇧↑ |
Duplicate line up (duplicate_line_up) |
mode i |
⌥⇧↓ |
Duplicate line down (duplicate_line_down) |
mode i |
Esc |
Normal mode (normal_mode) |
!search_focus && !modal_focus && !search_active && !inline_completion_visible · mode niv |
⌃C |
Normal mode (normal_mode) |
!search_focus && !modal_focus && !search_active · mode niv |
⌃[ |
Normal mode (normal_mode) |
!search_focus && !search_active · mode niv |
⇧; |
Palette: command (palette.command) |
mode n |
⇧G |
Go to line default last (go_to_line_default_last) |
mode nv |
G then G |
Go to line default first (go_to_line_default_first) |
mode nv |
H |
Left (left) |
mode nv |
J |
Down (down) |
mode nv |
K |
Up (up) |
mode nv |
L |
Right (right) |
mode nv |
A |
Append (append) |
mode n |
⇧A |
Append end of line (append_end_of_line) |
mode n |
I |
Insert mode (insert_mode) |
mode n |
U |
Undo (undo) |
mode n |
⌃R |
Redo (redo) |
mode n |
⌃I |
Jump location forward local (jump_location_forward_local) |
mode n |
⌃O |
Jump location backward local (jump_location_backward_local) |
mode n |
⌃N |
Goto definition (goto_definition) |
mode n |
G then D |
Goto definition (goto_definition) |
mode n |
G then H |
Show hover (show_hover) |
mode n |
P |
Paste (paste) |
mode nv |
⇧P |
Paste before (paste_before) |
mode nv |
⇧J |
Join lines (join_lines) |
mode n |
Y |
Yank (yank) |
mode v |
X |
Delete forward (delete_forward) |
mode nv |
⇧X |
Delete backward (delete_backward) |
mode n |
⌃P |
Find references (find_references) |
mode n |
S |
Delete forward and insert (delete_forward_and_insert) |
mode nv |
C |
Delete forward and insert (delete_forward_and_insert) |
mode v |
⇧S |
Delete line and insert (delete_line_and_insert) |
mode n |
⇧I |
Insert first non blank (insert_first_non_blank) |
mode nv |
O |
New line below (new_line_below) |
mode n |
0 |
Line start (line_start) |
mode nv |
⇧6 |
Line start non blank (line_start_non_blank) |
mode nv |
⇧4 |
Line end (line_end) |
mode nv |
W |
Word forward (word_forward) |
mode nv |
E |
Word end forward (word_end_forward) |
mode nv |
B |
Word backward (word_backward) |
mode nv |
⇧O |
New line above (new_line_above) |
mode nv |
⌃E |
Scroll down (scroll_down) |
mode nv |
⌃Y |
Scroll up (scroll_up) |
mode nv |
⌃U |
Page up (page_up) |
mode nv |
⌃D |
Page down (page_down) |
mode nv |
Z then Z |
Center of window (center_of_window) |
mode nv |
Z then T |
Top of window (top_of_window) |
mode nv |
Z then B |
Bottom of window (bottom_of_window) |
mode nv |
D |
Delete forward (delete_forward) |
mode v |
M |
Create mark (create_mark) |
mode nv |
' |
Go to mark (go_to_mark) |
mode nv |
D |
Motion mode delete (motion_mode_delete) |
mode n |
C |
Motion mode change (motion_mode_change) |
mode n |
f2 |
Rename symbol (rename_symbol) |
|
⇧D |
Delete to end of line (delete_to_end_of_line) |
mode n |
⇧] |
Paragraph forward (paragraph_forward) |
mode nv |
⇧[ |
Paragraph backward (paragraph_backward) |
mode nv |
⇧. |
Motion mode indent (motion_mode_indent) |
mode n |
⇧, |
Motion mode outdent (motion_mode_outdent) |
mode n |
Y |
Motion mode yank (motion_mode_yank) |
mode n |
⇧8 |
Search whole word forward (search_whole_word_forward) |
mode nv |
N |
Search forward (search_forward) |
mode nv |
⇧N |
Search backward (search_backward) |
mode nv |
⇧5 |
Match pairs (match_pairs) |
mode nv |
] then ⇧0 |
Next unmatched right bracket (next_unmatched_right_bracket) |
mode nv |
[ then ⇧9 |
Previous unmatched left bracket (previous_unmatched_left_bracket) |
mode nv |
] then ⇧] |
Next unmatched right curly bracket (next_unmatched_right_curly_bracket) |
mode nv |
[ then ⇧[ |
Previous unmatched left curly bracket (previous_unmatched_left_curly_bracket) |
mode nv |
V |
Toggle visual mode (toggle_visual_mode) |
mode nv |
⇧V |
Toggle linewise visual mode (toggle_linewise_visual_mode) |
mode nv |
⌃V |
Toggle blockwise visual mode (toggle_blockwise_visual_mode) |
mode nv |
⌃W then L |
Split right (split_right) |
mode n |
⌃W then H |
Split left (split_left) |
mode n |
⌃W then J |
Split down (split_down) |
mode n |
⌃W then K |
Split up (split_up) |
mode n |
⌃W then S |
Split horizontal (split_horizontal) |
mode n |
⌃W then V |
Split vertical (split_vertical) |
mode n |
⌃W then C |
Split close (split_close) |
mode n |
⌃W then X |
Split exchange (split_exchange) |
mode n |
Space |
Toggle minimap (toggle_minimap) |
mode nv |
⇧. |
Indent line (indent_line) |
mode v |
⇧, |
Outdent line (outdent_line) |
mode v |
⇧C |
Delete to end and insert (delete_to_end_and_insert) |
mode n |
⌥f5 |
Go to next change (go_to_next_change) |
|
⇧⌥f5 |
Go to previous change (go_to_previous_change) |
|
⌃⌥E |
Emmet expand (emmet_expand) |
|
f9 |
Toggle breakpoint (toggle_breakpoint) |
|
f5 |
Debug continue (debug_continue) |
|
f10 |
Debug step over (debug_step_over) |
|
f11 |
Debug step into (debug_step_into) |
|
⇧f11 |
Debug step out (debug_step_out) |
|
⇧f10 |
Show context menu (show_context_menu) |
|
contextmenu |
Show context menu (show_context_menu) |
|
⇧W |
Vim big word forward (vim_big_word_forward) |
mode nv |
⇧B |
Vim big word backward (vim_big_word_backward) |
mode nv |
⇧E |
Vim big word end (vim_big_word_end) |
mode nv |
G then E |
Vim word end backward (vim_word_end_backward) |
mode nv |
G then ⇧E |
Vim big word end backward (vim_big_word_end_backward) |
mode nv |
⇧= |
Vim next line start (vim_next_line_start) |
mode nv |
Enter |
Vim next line start (vim_next_line_start) |
!list_focus · mode n |
- |
Vim previous line start (vim_previous_line_start) |
mode nv |
⇧- |
Vim line start count (vim_line_start_count) |
mode nv |
F |
Vim find forward (vim_find_forward) |
mode nv |
⇧F |
Vim find backward (vim_find_backward) |
mode nv |
T |
Vim till forward (vim_till_forward) |
mode nv |
⇧T |
Vim till backward (vim_till_backward) |
mode nv |
; |
Vim repeat find (vim_repeat_find) |
mode nv |
, |
Vim repeat find reverse (vim_repeat_find_reverse) |
mode nv |
| ``` | Vim go to mark exact (vim_go_to_mark_exact) |
mode nv |
G then U |
Vim lowercase operator (vim_lowercase_operator) |
mode n |
G then ⇧U |
Vim uppercase operator (vim_uppercase_operator) |
mode n |
G then ⇧`` | Vim toggle case operator (vim_toggle_case_operator`) |
mode n | |
⇧`` | Vim toggle case (vim_toggle_case`) |
mode nv | |
⇧U |
Vim uppercase (vim_uppercase) |
mode v |
U |
Vim lowercase (vim_lowercase) |
mode v |
O |
Vim visual other end (vim_visual_other_end) |
mode v |
G then ⇧I |
Vim insert at line start (vim_insert_at_line_start) |
mode n |
⇧Y |
Vim yank line (vim_yank_line) |
mode n |
/ |
Vim search forward (vim_search_forward) |
mode nv |
⇧/ |
Vim search backward (vim_search_backward) |
mode nv |
⇧3 |
Vim search word backward (vim_search_word_backward) |
mode nv |
Backspace |
Vim backspace (vim_backspace) |
mode n |
Linux and Windows
| Shortcut | Command | When |
|---|---|---|
Alt+F4 |
Close window (close_window) |
|
Ctrl+P |
Palette (palette) |
|
Ctrl+Shift+P |
Palette: command (palette.command) |
|
Ctrl+E |
Toggle minimap (toggle_minimap) |
mode i |
Ctrl+, |
Open settings (open_settings) |
|
Ctrl+K then Ctrl+S |
Open keyboard shortcuts (open_keyboard_shortcuts) |
|
Ctrl+= |
Zoom in (zoom_in) |
|
Ctrl+- |
Zoom out (zoom_out) |
|
Ctrl+Enter |
Source control commit (source_control_commit) |
source_control_focus |
Ctrl+Shift+C |
Clipboard copy (clipboard_copy) |
mode t |
Ctrl+Shift+V |
Clipboard paste (clipboard_paste) |
mode t |
Ctrl+Z |
Undo (undo) |
mode i |
Ctrl+Shift+Z |
Redo (redo) |
mode i |
Ctrl+Y |
Redo (redo) |
mode i |
Ctrl+X |
Clipboard cut (clipboard_cut) |
mode i |
Shift+Delete |
Clipboard cut (clipboard_cut) |
mode i |
Ctrl+C |
Clipboard copy (clipboard_copy) |
mode i |
Ctrl+insert |
Clipboard copy (clipboard_copy) |
mode i |
Ctrl+V |
Clipboard paste (clipboard_paste) |
mode i |
Shift+insert |
Clipboard paste (clipboard_paste) |
mode i |
Ctrl+F |
Search (search) |
|
Ctrl+→ |
Word end forward (word_end_forward) |
mode i |
Ctrl+← |
Word backward (word_backward) |
mode i |
Ctrl+Backspace |
Delete word backward (delete_word_backward) |
mode i |
Ctrl+Delete |
Delete word forward (delete_word_forward) |
mode i |
Ctrl+Shift+\\ |
Match pairs (match_pairs) |
mode i |
Ctrl+/ |
Toggle line comment (toggle_line_comment) |
|
Ctrl+] |
Indent line (indent_line) |
|
Ctrl+[ |
Outdent line (outdent_line) |
|
Ctrl+A |
Select all (select_all) |
mode inv |
Ctrl+Enter |
New line below (new_line_below) |
!source_control_focus · mode i |
Ctrl+Shift+Enter |
New line above (new_line_above) |
mode i |
Alt+Ctrl+↑ |
Insert cursor above (insert_cursor_above) |
mode i |
Alt+Ctrl+↓ |
Insert cursor below (insert_cursor_below) |
mode i |
Ctrl+L |
Select current line (select_current_line) |
mode i |
Ctrl+Shift+L |
Select all current (select_all_current) |
mode i |
Ctrl+U |
Select undo (select_undo) |
mode i |
Ctrl+D |
Select next current (select_next_current) |
mode i |
Ctrl+K then Ctrl+D |
Select skip current (select_skip_current) |
mode i |
Ctrl+S |
Save (save) |
|
Shift+Alt+F |
Format document (format_document) |
|
Ctrl+K then Ctrl+F |
Format selection (format_selection) |
|
Ctrl+O |
Open file (open_file) |
|
Ctrl+N |
New file (new_file) |
|
Ctrl+W |
Split close (split_close) |
mode i |
Ctrl+K then F |
Close folder (close_folder) |
|
Ctrl+F4 |
Split close (split_close) |
|
Ctrl+\\ |
Split vertical (split_vertical) |
|
Ctrl+Space |
Get completion (get_completion) |
mode i |
Ctrl+I |
Get completion (get_completion) |
mode i |
Ctrl+Shift+Space |
Get signature (get_signature) |
mode i |
Ctrl+. |
Show code actions (show_code_actions) |
|
Ctrl+Shift+E |
Toggle file explorer focus (toggle_file_explorer_focus) |
|
Ctrl+Shift+F |
Toggle search focus (toggle_search_focus) |
|
Ctrl+Shift+X |
Toggle plugin focus (toggle_plugin_focus) |
|
Ctrl+Shift+V |
Toggle markdown preview (toggle_markdown_preview) |
|
Ctrl+Shift+A |
Toggle ai focus (toggle_ai_focus) |
|
Ctrl+Shift+A |
Ask ai about selection (ask_ai_about_selection) |
editor_focus |
Ctrl+Shift+M |
Toggle problem focus (toggle_problem_focus) |
|
Ctrl+Home |
Document start (document_start) |
|
Ctrl+End |
Document end (document_end) |
|
Ctrl+B |
Left (left) |
mode n |
Ctrl+F |
Right (right) |
mode n |
Ctrl+P |
Up (up) |
!list_focus · mode n |
Ctrl+N |
Down (down) |
!list_focus · mode n |
Ctrl+Shift+O |
Palette: symbol (palette.symbol) |
|
Ctrl+T |
Palette: workspace symbol (palette.workspace_symbol) |
|
Ctrl+G |
Palette: line (palette.line) |
|
Ctrl+→ |
Inline completion: select word (inline_completion.select_word) |
inline_completion_visible && !search_focus && !modal_focus && !list_focus && !search_active |
Ctrl+Shift+→ |
Inline completion: select line (inline_completion.select_line) |
inline_completion_visible && !search_focus && !modal_focus && !list_focus && !search_active |
Ctrl+Shift+B |
Run build task (run_build_task) |
|
Shift+Alt+C |
Copy path (copy_path) |
|
Ctrl+Shift+Alt+C |
Copy relative path (copy_relative_path) |
|
Ctrl+Alt+Enter |
Global search replace all (global_search_replace_all) |
global_search_focus |
Shift+Alt+R |
Reveal in file explorer (reveal_in_file_explorer) |
|
Shift+Alt+A |
Toggle block comment (toggle_block_comment) |
mode i |
F1 |
Palette: command (palette.command) |
|
Alt+↑ |
Move line up (move_line_up) |
mode i |
Alt+↓ |
Move line down (move_line_down) |
mode i |
Delete |
Delete forward (delete_forward) |
mode i |
Backspace |
Delete backward (delete_backward) |
mode i |
Shift+Backspace |
Delete forward (delete_forward) |
mode i |
Home |
Line start non blank (line_start_non_blank) |
mode inv |
End |
Line end (line_end) |
mode inv |
PageUp |
Page up (page_up) |
|
PageDown |
Page down (page_down) |
|
Ctrl+PageUp |
Scroll up (scroll_up) |
|
Ctrl+PageDown |
Scroll down (scroll_down) |
|
Alt+Shift+I |
Insert cursor end of line (insert_cursor_end_of_line) |
mode i |
Ctrl+Tab |
Next editor tab (next_editor_tab) |
|
Ctrl+Shift+Tab |
Previous editor tab (previous_editor_tab) |
|
F2 |
Rename symbol (rename_symbol) |
|
F12 |
Goto definition (goto_definition) |
|
G then F |
Show code actions (show_code_actions) |
mode n |
F8 |
Next error (next_error) |
|
Shift+F8 |
Previous error (previous_error) |
|
Ctrl+- |
Jump location backward (jump_location_backward) |
mode i |
Ctrl+Shift+- |
Jump location forward (jump_location_forward) |
mode i |
Ctrl+`` | Toggle terminal focus (toggle_terminal_focus`) |
||
Tab |
Jump to next snippet placeholder (jump_to_next_snippet_placeholder) |
in_snippet · mode i |
Shift+Tab |
Jump to prev snippet placeholder (jump_to_prev_snippet_placeholder) |
in_snippet · mode i |
Esc |
Clear search (clear_search) |
search_active |
Ctrl+Shift+↑ |
Select next syntax item (select_next_syntax_item) |
|
Ctrl+Shift+↓ |
Select previous syntax item (select_previous_syntax_item) |
|
Ctrl+M |
List: select (list.select) |
list_focus |
Tab |
List: select (list.select) |
completion_focus |
Enter |
List: select (list.select) |
list_focus |
Ctrl+P |
List: previous (list.previous) |
list_focus |
↑ |
List: previous (list.previous) |
list_focus |
PageUp |
List: previous page (list.previous_page) |
list_focus |
Ctrl+N |
List: next (list.next) |
list_focus |
↓ |
List: next (list.next) |
list_focus |
PageDown |
List: next page (list.next_page) |
list_focus |
Esc |
Modal: close (modal.close) |
modal_focus |
Tab |
Inline completion: select (inline_completion.select) |
inline_completion_visible && !search_focus && !modal_focus && !list_focus && !search_active · mode i |
Esc |
Inline completion: cancel (inline_completion.cancel) |
inline_completion_visible && !search_focus && !modal_focus && !list_focus && !search_active · mode i |
Alt+[ |
Inline completion: previous (inline_completion.previous) |
inline_completion_visible && !search_focus && !modal_focus && !list_focus && !search_active · mode i |
Alt+] |
Inline completion: next (inline_completion.next) |
inline_completion_visible && !search_focus && !modal_focus && !list_focus && !search_active · mode i |
Alt+\\ |
Inline completion: invoke (inline_completion.invoke) |
!inline_completion_visible && !search_focus && !modal_focus && !list_focus && !search_active · mode i |
→ |
Right (right) |
mode inv |
← |
Left (left) |
mode inv |
↑ |
Up (up) |
!list_focus · mode inv |
↓ |
Down (down) |
!list_focus · mode inv |
Ctrl+H |
Delete backward (delete_backward) |
mode i |
Enter |
Insert new line (insert_new_line) |
!list_focus && !input_focus · mode i |
Tab |
Focus replace editor (focus_replace_editor) |
search_focus |
Tab |
Focus find editor (focus_find_editor) |
replace_focus |
Shift+Enter |
Search backward (search_backward) |
search_focus · mode i |
Enter |
Search forward (search_forward) |
search_focus · mode i |
Enter |
Global search refresh (global_search_refresh) |
global_search_focus · mode i |
Enter |
Confirm rename (confirm_rename) |
rename_focus · mode i |
Tab |
Insert tab (insert_tab) |
!in_snippet && !completion_focus && !inline_completion_visible && !search_focus && !replace_focus && !global_search_focus · mode i |
Ctrl+M |
Insert new line (insert_new_line) |
!list_focus · mode i |
Alt+Shift+↑ |
Duplicate line up (duplicate_line_up) |
mode i |
Alt+Shift+↓ |
Duplicate line down (duplicate_line_down) |
mode i |
Esc |
Normal mode (normal_mode) |
!search_focus && !modal_focus && !search_active && !inline_completion_visible · mode niv |
Ctrl+C |
Normal mode (normal_mode) |
!search_focus && !modal_focus && !search_active · mode niv |
Ctrl+[ |
Normal mode (normal_mode) |
!search_focus && !search_active · mode niv |
Shift+; |
Palette: command (palette.command) |
mode n |
Shift+G |
Go to line default last (go_to_line_default_last) |
mode nv |
G then G |
Go to line default first (go_to_line_default_first) |
mode nv |
H |
Left (left) |
mode nv |
J |
Down (down) |
mode nv |
K |
Up (up) |
mode nv |
L |
Right (right) |
mode nv |
A |
Append (append) |
mode n |
Shift+A |
Append end of line (append_end_of_line) |
mode n |
I |
Insert mode (insert_mode) |
mode n |
U |
Undo (undo) |
mode n |
Ctrl+R |
Redo (redo) |
mode n |
Ctrl+I |
Jump location forward local (jump_location_forward_local) |
mode n |
Ctrl+O |
Jump location backward local (jump_location_backward_local) |
mode n |
Ctrl+N |
Goto definition (goto_definition) |
mode n |
G then D |
Goto definition (goto_definition) |
mode n |
G then H |
Show hover (show_hover) |
mode n |
P |
Paste (paste) |
mode nv |
Shift+P |
Paste before (paste_before) |
mode nv |
Shift+J |
Join lines (join_lines) |
mode n |
Y |
Yank (yank) |
mode v |
X |
Delete forward (delete_forward) |
mode nv |
Shift+X |
Delete backward (delete_backward) |
mode n |
Ctrl+P |
Find references (find_references) |
mode n |
S |
Delete forward and insert (delete_forward_and_insert) |
mode nv |
C |
Delete forward and insert (delete_forward_and_insert) |
mode v |
Shift+S |
Delete line and insert (delete_line_and_insert) |
mode n |
Shift+I |
Insert first non blank (insert_first_non_blank) |
mode nv |
O |
New line below (new_line_below) |
mode n |
0 |
Line start (line_start) |
mode nv |
Shift+6 |
Line start non blank (line_start_non_blank) |
mode nv |
Shift+4 |
Line end (line_end) |
mode nv |
W |
Word forward (word_forward) |
mode nv |
E |
Word end forward (word_end_forward) |
mode nv |
B |
Word backward (word_backward) |
mode nv |
Shift+O |
New line above (new_line_above) |
mode nv |
Ctrl+E |
Scroll down (scroll_down) |
mode nv |
Ctrl+Y |
Scroll up (scroll_up) |
mode nv |
Ctrl+U |
Page up (page_up) |
mode nv |
Ctrl+D |
Page down (page_down) |
mode nv |
Z then Z |
Center of window (center_of_window) |
mode nv |
Z then T |
Top of window (top_of_window) |
mode nv |
Z then B |
Bottom of window (bottom_of_window) |
mode nv |
D |
Delete forward (delete_forward) |
mode v |
M |
Create mark (create_mark) |
mode nv |
' |
Go to mark (go_to_mark) |
mode nv |
D |
Motion mode delete (motion_mode_delete) |
mode n |
C |
Motion mode change (motion_mode_change) |
mode n |
f2 |
Rename symbol (rename_symbol) |
|
Shift+D |
Delete to end of line (delete_to_end_of_line) |
mode n |
Shift+] |
Paragraph forward (paragraph_forward) |
mode nv |
Shift+[ |
Paragraph backward (paragraph_backward) |
mode nv |
Shift+. |
Motion mode indent (motion_mode_indent) |
mode n |
Shift+, |
Motion mode outdent (motion_mode_outdent) |
mode n |
Y |
Motion mode yank (motion_mode_yank) |
mode n |
Shift+8 |
Search whole word forward (search_whole_word_forward) |
mode nv |
N |
Search forward (search_forward) |
mode nv |
Shift+N |
Search backward (search_backward) |
mode nv |
Shift+5 |
Match pairs (match_pairs) |
mode nv |
] then Shift+0 |
Next unmatched right bracket (next_unmatched_right_bracket) |
mode nv |
[ then Shift+9 |
Previous unmatched left bracket (previous_unmatched_left_bracket) |
mode nv |
] then Shift+] |
Next unmatched right curly bracket (next_unmatched_right_curly_bracket) |
mode nv |
[ then Shift+[ |
Previous unmatched left curly bracket (previous_unmatched_left_curly_bracket) |
mode nv |
V |
Toggle visual mode (toggle_visual_mode) |
mode nv |
Shift+V |
Toggle linewise visual mode (toggle_linewise_visual_mode) |
mode nv |
Ctrl+V |
Toggle blockwise visual mode (toggle_blockwise_visual_mode) |
mode nv |
Ctrl+W then L |
Split right (split_right) |
mode n |
Ctrl+W then H |
Split left (split_left) |
mode n |
Ctrl+W then J |
Split down (split_down) |
mode n |
Ctrl+W then K |
Split up (split_up) |
mode n |
Ctrl+W then S |
Split horizontal (split_horizontal) |
mode n |
Ctrl+W then V |
Split vertical (split_vertical) |
mode n |
Ctrl+W then C |
Split close (split_close) |
mode n |
Ctrl+W then X |
Split exchange (split_exchange) |
mode n |
Space |
Toggle minimap (toggle_minimap) |
mode nv |
Shift+. |
Indent line (indent_line) |
mode v |
Shift+, |
Outdent line (outdent_line) |
mode v |
Shift+C |
Delete to end and insert (delete_to_end_and_insert) |
mode n |
Alt+f5 |
Go to next change (go_to_next_change) |
|
Shift+Alt+f5 |
Go to previous change (go_to_previous_change) |
|
Ctrl+Alt+E |
Emmet expand (emmet_expand) |
|
f9 |
Toggle breakpoint (toggle_breakpoint) |
|
f5 |
Debug continue (debug_continue) |
|
f10 |
Debug step over (debug_step_over) |
|
f11 |
Debug step into (debug_step_into) |
|
Shift+f11 |
Debug step out (debug_step_out) |
|
Shift+f10 |
Show context menu (show_context_menu) |
|
contextmenu |
Show context menu (show_context_menu) |
|
Shift+W |
Vim big word forward (vim_big_word_forward) |
mode nv |
Shift+B |
Vim big word backward (vim_big_word_backward) |
mode nv |
Shift+E |
Vim big word end (vim_big_word_end) |
mode nv |
G then E |
Vim word end backward (vim_word_end_backward) |
mode nv |
G then Shift+E |
Vim big word end backward (vim_big_word_end_backward) |
mode nv |
Shift+= |
Vim next line start (vim_next_line_start) |
mode nv |
Enter |
Vim next line start (vim_next_line_start) |
!list_focus · mode n |
- |
Vim previous line start (vim_previous_line_start) |
mode nv |
Shift+- |
Vim line start count (vim_line_start_count) |
mode nv |
F |
Vim find forward (vim_find_forward) |
mode nv |
Shift+F |
Vim find backward (vim_find_backward) |
mode nv |
T |
Vim till forward (vim_till_forward) |
mode nv |
Shift+T |
Vim till backward (vim_till_backward) |
mode nv |
; |
Vim repeat find (vim_repeat_find) |
mode nv |
, |
Vim repeat find reverse (vim_repeat_find_reverse) |
mode nv |
| ``` | Vim go to mark exact (vim_go_to_mark_exact) |
mode nv |
G then U |
Vim lowercase operator (vim_lowercase_operator) |
mode n |
G then Shift+U |
Vim uppercase operator (vim_uppercase_operator) |
mode n |
G then Shift+`` | Vim toggle case operator (vim_toggle_case_operator`) |
mode n | |
Shift+`` | Vim toggle case (vim_toggle_case`) |
mode nv | |
Shift+U |
Vim uppercase (vim_uppercase) |
mode v |
U |
Vim lowercase (vim_lowercase) |
mode v |
O |
Vim visual other end (vim_visual_other_end) |
mode v |
G then Shift+I |
Vim insert at line start (vim_insert_at_line_start) |
mode n |
Shift+Y |
Vim yank line (vim_yank_line) |
mode n |
/ |
Vim search forward (vim_search_forward) |
mode nv |
Shift+/ |
Vim search backward (vim_search_backward) |
mode nv |
Shift+3 |
Vim search word backward (vim_search_word_backward) |
mode nv |
Backspace |
Vim backspace (vim_backspace) |
mode n |
Source: docs/keyboard-shortcuts.md