Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Commands

The generated keybinding tables use <space> for Space, <ret> for Enter, and <C-x> for Ctrl-x. Adjacent keys form a sequence: <space>f means press Space, then f.

Canonical static command names use underscores; typable (:) command names use hyphens. Directional names spell out previous. Debugger commands use the debug_ or debug- prefix, snippet commands use snippet_ or snippet-, and version-control commands use vcs_ or vcs-.

Explicit browsing commands use _picker, followed by any scope qualifier, such as debug_session_picker or file_picker_in_current_buffer_directory. Commands that perform an action, such as goto_reference, keep action names even when they offer a choice of targets.

Use canonical names in keybindings and command invocations. Renamed commands do not retain their previous spellings. Conventional command-mode shorthands such as :w, :q, and :cd remain available and are listed in the reference.

Typable commands

Press : to run these commands. Some accept arguments; see Command mode syntax for quoting, flags, and expansions.

NameDescription
:exit, :x, :xitWrite changes to disk if the buffer is modified and then quit. Accepts an optional path (:exit some/path.txt).
:exit!, :x!, :xit!Force write changes to disk, creating necessary subdirectories, if the buffer is modified and then quit. Accepts an optional path (:exit! some/path.txt).
:quit, :qClose the current view.
:quit!, :q!Force close the current view, ignoring unsaved changes.
:open, :o, :edit, :eOpen a file from disk into the current view.
:buffer-close, :bc, :bcloseClose the current buffer.
:buffer-close!, :bc!, :bclose!Close the current buffer forcefully, ignoring unsaved changes.
:buffer-close-others, :bco, :bcloseotherClose all buffers but the currently focused one.
:buffer-close-others!, :bco!, :bcloseother!Force close all buffers but the currently focused one.
:buffer-close-all, :bca, :bcloseallClose all buffers without quitting.
:buffer-close-all!, :bca!, :bcloseall!Force close all buffers ignoring unsaved changes without quitting.
:buffer-next, :bn, :bnextGo to next buffer.
:buffer-previous, :bp, :bprevGo to previous buffer.
:buffer-move-previousMove current buffer one position earlier in the buffer list.
:buffer-move-nextMove current buffer one position later in the buffer list.
:buffer-move-startMove current buffer to the start of the buffer list.
:buffer-move-endMove current buffer to the end of the buffer list.
:write, :wWrite changes to disk. Accepts an optional path (:write some/path.txt).
:write!, :w!Force write changes to disk creating necessary subdirectories. Accepts an optional path (:write! some/path.txt).
:write-buffer-close, :wbcWrite changes to disk and closes the buffer. Accepts an optional path (:write-buffer-close some/path.txt).
:write-buffer-close!, :wbc!Force write changes to disk creating necessary subdirectories and closes the buffer. Accepts an optional path (:write-buffer-close! some/path.txt).
:new, :nCreate a new scratch buffer.
:format, :fmtFormat the file using an external formatter or language server.
:indent-styleSet the indentation style for editing. (‘t’ for tabs or 1-16 for number of spaces.)
:line-endingSet the document’s default line ending. Options: crlf, lf.
:earlier, :earJump back to an earlier point in edit history. Accepts a number of steps or a time span.
:later, :latJump to a later point in edit history. Accepts a number of steps or a time span.
:write-quit, :wqWrite changes to disk and close the current view. Accepts an optional path (:wq some/path.txt).
:write-quit!, :wq!Write changes to disk and close the current view forcefully. Accepts an optional path (:wq! some/path.txt).
:write-all, :waWrite changes from all buffers to disk.
:write-all!, :wa!Forcefully write changes from all buffers to disk creating necessary subdirectories.
:write-quit-all, :wqa, :xaWrite changes from all buffers to disk and close all views.
:write-quit-all!, :wqa!, :xa!Forcefully write changes from all buffers to disk, creating necessary subdirectories, and close all views after successful saves.
:quit-all, :qaClose all views.
:quit-all!, :qa!Force close all views ignoring unsaved changes.
:cquit, :cqQuit with exit code (default 1). Accepts an optional integer exit code (:cq 2).
:cquit!, :cq!Force quit with exit code (default 1) ignoring unsaved changes. Accepts an optional integer exit code (:cq! 2).
:themeChange the editor theme (show current theme if no name specified).
:yank-joinYank joined selections. A separator can be provided as first argument. Default value is newline.
:clipboard-yankYank main selection into system clipboard.
:clipboard-yank-joinYank joined selections into system clipboard. A separator can be provided as first argument. Default value is newline.
:primary-clipboard-yankYank main selection into system primary clipboard.
:primary-clipboard-yank-joinYank joined selections into system primary clipboard. A separator can be provided as first argument. Default value is newline.
:clipboard-paste-afterPaste system clipboard after selections.
:clipboard-paste-beforePaste system clipboard before selections.
:clipboard-paste-replaceReplace selections with content of system clipboard.
:primary-clipboard-paste-afterPaste primary clipboard after selections.
:primary-clipboard-paste-beforePaste primary clipboard before selections.
:primary-clipboard-paste-replaceReplace selections with content of system primary clipboard.
:show-clipboard-providerShow clipboard provider name in status bar.
:change-current-working-directory, :cdChange the current working directory.
:show-directory-stackShow the directory stack as a space-delimited string.
:push-directory, :pushdSave and then change the current directory.
:pop-directory, :popdRemove the top entry from the directory stack, and cd to the new top directory..
:show-current-working-directory, :pwdShow the current working directory.
:encodingSet encoding. Based on https://encoding.spec.whatwg.org.
:character-info, :charGet info about the character under the primary cursor.
:reload!, :rl!Discard changes and reload from the source file.
:reload-all!, :rla!Discard changes and reload all documents from the source files.
:reload, :rlReload from the source file if the buffer has no unsaved changes.
:reload-all, :rlaReload saved buffers, preserving documents with unsaved changes.
:update, :uWrite changes only if the file has been modified.
:lsp-workspace-commandOpen workspace command picker
:lsp-restartRestarts the given language servers, or all language servers that are used by the current file if no arguments are supplied
:lsp-stopStops the given language servers, or all language servers that are used by the current file if no arguments are supplied
:tree-sitter-scopesDisplay tree sitter scopes, primarily for theming and development.
:highlight-inspectInspect syntax captures, semantic classification, matching theme selectors and styles under the cursor.
:tree-sitter-layersDisplay language names of tree-sitter injection layers under the cursor.
:debug-start, :dbgStart a debug session from a given template with given parameters.
:debug-remote, :dbg-tcpConnect to a debug adapter by TCP address and start a debugging session from a given template with given parameters.
:debug-evaluateEvaluate expression in current debug context.
:split-vertical, :vsOpen the file in a vertical split.
:split-vertical-new, :vnewOpen a scratch buffer in a vertical split.
:split-horizontal, :hs, :spOpen the file in a horizontal split.
:split-horizontal-new, :hnewOpen a scratch buffer in a horizontal split.
:tutorOpen the tutorial.
:goto, :gGo to line number.
:set-language, :langSet the language of current buffer (show current language if no value specified).
:set-spelling-language, :spellingSet the spell-checking languages for the current buffer (e.g. en_US); a word is flagged only when every language rejects it. Pass off to disable, or no value to show the current languages.
:set-option, :setSet a config option at runtime.
For example to disable smart case search, use :set search.smart-case false.
:toggle-option, :toggleToggle a config option at runtime.
For example to toggle smart case search, use :toggle search.smart-case.
:get-option, :getGet the current value of a config option.
:sortStably sort selected contents. Supports –numeric (-n), –natural (-N), –length (-l), –key (-k) REGEX and –ignore-leading-blanks (-b), plus –insensitive (-i) and –reverse (-r).
:reflowHard-wrap the current selection of lines to a given width.
:tree-sitter-subtree, :ts-subtreeDisplay the smallest tree-sitter subtree that spans the primary selection, primarily for debugging queries.
:snippet-insertInsert a named user-defined snippet at the selections.
:snippet-reloadReload global and trusted workspace snippet definitions.
:snippet-openOpen the user snippet configuration or a named .toml file in snippets/.
:snippet-open-workspaceOpen the workspace snippet configuration or a named .toml file in .mitos/snippets/.
:config-reloadRefresh user config.
:config-openOpen the user config.toml file.
:config-migrateMigrate legacy user settings after confirmation, creating a backup.
:config-migrate-workspaceMigrate legacy trusted workspace settings after confirmation, creating a backup.
:config-open-workspaceOpen the workspace config.toml file.
:log-openOpen the mitos log file.
:insert-outputRun shell command, inserting output before each selection.
:append-outputRun shell command, appending output after each selection.
:pipe, :|Pipe each selection to the shell command.
:pipe-toPipe each selection to the shell command, ignoring output.
:run-shell-command, :sh, :!Run a shell command
:vcs-conflict-nextMove to the next conflict; pass previous to move backwards.
:vcs-conflict-resolveKeep the current side, incoming side, or both sides of the conflict at the cursor.
:vcs-conflict-sourceOpen the base, current, or incoming version of a conflicted file in a read-only split.
:vcs-blameShow commit details for the current line, with actions to copy the commit ID or message.
:vcs-branchesBrowse local branches. Press Enter to switch to the selected branch.
:vcs-branch-createCreate a local branch at the current commit without switching to it.
:vcs-branch-switchSwitch to an existing local branch. Save edited files first; Git refuses to overwrite changes.
:vcs-worktreesBrowse worktrees. Enter opens the selected worktree’s file picker.
:vcs-worktree-createCreate a worktree in a new folder. Give an existing branch name, or omit it to use the current commit without a branch.
:vcs-worktree-openChange directory to a worktree and open its file picker, keeping your open files.
:vcs-worktree-removeConfirm removal of a clean worktree, keeping its branch.
:vcs-fetchDownload remote commits without changing your files. Give a remote name when several are configured.
:vcs-pullDownload changes and move the current branch forward without creating a merge commit. Optionally give a remote name.
:vcs-pushUpload commits from the current branch. Optionally give a remote name.
:vcs-show-changeInspect the current change against HEAD, including deleted lines and unsaved edits.
:vcs-diffReview the current file. Choose head (all changes), staged (next commit), unstaged (saved changes), or buffer (unstaged and unsaved changes).
:vcs-historyBrowse repository commits and their files.
:vcs-file-historyBrowse commits that changed the current file.
:vcs-diff-refreshReload the current diff. Reviews of past commits keep the versions originally chosen.
:vcs-diff-open-sourceOpen the source at the selected diff line.
:vcs-diff-open-fileOpen the current file from a diff review.
:vcs-restore-changeRestore selected hunks from HEAD in the buffer. Use u to undo; saved files and staged changes stay unchanged.
:vcs-changesBrowse changed files in the workspace.
:vcs-repository-changesBrowse changed files throughout the current repository.
:vcs-stashesBrowse Git stashes in the current repository.
:vcs-toggle-inline-blameShow or hide inline Git blame.
:clear-registerClear given register. If no argument is provided, clear all registers.
:set-registerSet contents of the given register.
:redrawClear and re-render the whole UI
:move, :mvMove the current buffer and its corresponding file to a different path
:move!, :mv!Move the current buffer and its corresponding file to a different path creating necessary subdirectories
:yank-diagnosticYank diagnostic(s) under primary cursor to register, or clipboard by default
:read, :rLoad a file into buffer
:echoPrints the given arguments to the statusline.
:noopDoes nothing.
:workspace-trustAllow language servers and local config for the current workspace.
:workspace-untrustRevoke the current workspace’s trust grant or exclusion.
:workspace-excludeMark the current workspace as never-prompt. Never prompts for trust again.

Sorting selected text

:sort reorders the contents of multiple selections. Select lines with % and split them with Alt-s to sort a document by line. Text between selections stays in place. The default is case-sensitive lexicographic order.

OptionEffect
--reverse, -rSort in descending order. Equal keys keep their original order.
--insensitive, -iCompare lowercase keys. Original text is preserved.
--numeric, -nCompare leading decimal numbers exactly, without integer limits or floating-point rounding.
--natural, -NCompare ASCII digit runs as numbers: file2 comes before file10.
--length, -lCompare Unicode character counts, rather than bytes or displayed width. Combining marks count separately.
--ignore-leading-blanks, -bIgnore leading spaces and tabs in the comparison key.
--key REGEX, -k REGEXUse the first complete regex match as the comparison key. Selections without a match stay in their original slots.

Numeric, natural and length modes are mutually exclusive. Other options can be combined with any mode. Keys are extracted first, then leading blanks are removed if requested. Equal keys retain their input order in both directions; there is no implicit comparison of the rest of the selected text. --insensitive affects comparisons, not regex matching; put (?i) in the pattern to match without case sensitivity.

Numeric mode skips leading whitespace and accepts an optional minus sign, ASCII digits, and a decimal fraction. Missing numbers count as zero, including text starting with +. Exponents and number-base prefixes are not interpreted: 1e3 has the numeric key 1. Negative zero equals zero. Natural mode treats signs and punctuation as text and compares unsigned digit runs anywhere in the key; leading zeroes do not break ties (file02 and file2 have equal keys).

Examples, after splitting the desired text into selections:

:sort --numeric
:sort --natural --insensitive
:sort --length --reverse
:sort --key '\d+' --numeric
:sort --key '[^,]+$' --insensitive

The fourth example sorts by the first run of digits while keeping headers or other selections without digits in place. The last sorts by the final nonempty comma-separated field. Quote patterns using the normal command mode quoting rules.

Static Commands

Static commands take no arguments. Run them from the command palette (Space ?) or use their names in keybindings.

NameDescriptionDefault keybinds
no_opDo nothing
move_char_leftMove leftnormal: h, <left>, insert: <left>
move_char_rightMove rightnormal: l, <right>, insert: <right>
move_line_upMove upnormal: gk
move_line_downMove downnormal: gj
move_visual_line_upMove upnormal: k, <up>, insert: <up>
move_visual_line_downMove downnormal: j, <down>, insert: <down>
extend_char_leftExtend leftselect: h, <left>
extend_char_rightExtend rightselect: l, <right>
extend_line_upExtend upselect: gk
extend_line_downExtend downselect: gj
extend_visual_line_upExtend upselect: k, <up>
extend_visual_line_downExtend downselect: j, <down>
copy_selection_on_next_lineCopy selection on next linenormal: C, select: C
copy_selection_on_previous_lineCopy selection on previous linenormal: <A-C>, select: <A-C>
move_next_word_startMove to start of next wordnormal: w
move_previous_word_startMove to start of previous wordnormal: b
move_next_word_endMove to end of next wordnormal: e
move_previous_word_endMove to end of previous word
move_next_long_word_startMove to start of next long wordnormal: W
move_previous_long_word_startMove to start of previous long wordnormal: B
move_next_long_word_endMove to end of next long wordnormal: E
move_previous_long_word_endMove to end of previous long word
move_next_sub_word_startMove to start of next sub word
move_previous_sub_word_startMove to start of previous sub word
move_next_sub_word_endMove to end of next sub word
move_previous_sub_word_endMove to end of previous sub word
move_parent_node_endMove to end of the parent nodenormal: <A-e>
move_parent_node_startMove to beginning of the parent nodenormal: <A-b>
extend_next_word_startExtend to start of next wordselect: w
extend_previous_word_startExtend to start of previous wordselect: b
extend_next_word_endExtend to end of next wordselect: e
extend_previous_word_endExtend to end of previous word
extend_next_long_word_startExtend to start of next long wordselect: W
extend_previous_long_word_startExtend to start of previous long wordselect: B
extend_next_long_word_endExtend to end of next long wordselect: E
extend_previous_long_word_endExtend to end of prev long word
extend_next_sub_word_startExtend to start of next sub word
extend_previous_sub_word_startExtend to start of previous sub word
extend_next_sub_word_endExtend to end of next sub word
extend_previous_sub_word_endExtend to end of prev sub word
extend_parent_node_endExtend to end of the parent nodeselect: <A-e>
extend_parent_node_startExtend to beginning of the parent nodeselect: <A-b>
find_till_next_charMove till next occurrence of charnormal: t
find_next_charMove to next occurrence of charnormal: f
extend_till_next_charExtend till next occurrence of charselect: t
extend_next_charExtend to next occurrence of charselect: f
find_till_previous_charMove till previous occurrence of charnormal: T
find_previous_charMove to previous occurrence of charnormal: F
extend_till_previous_charExtend till previous occurrence of charselect: T
extend_previous_charExtend to previous occurrence of charselect: F
repeat_last_motionRepeat last motionnormal: <A-.>, select: <A-.>
replace_charReplace each selected grapheme with a characternormal: r, select: r
replaceReplace selections with entered textnormal: <A-r>, select: <A-r>
switch_caseSwitch (toggle) casenormal: ~, `a, select: ~, `a
switch_to_uppercaseSwitch to uppercasenormal: `u, <A-`>, select: `u, <A-`>
switch_to_lowercaseSwitch to lowercasenormal: `l, select: `l
switch_to_kebab_caseSwitch to kebab-casenormal: `k, select: `k
switch_to_lower_camel_caseSwitch to lowerCamelCasenormal: `c, select: `c
switch_to_shouty_kebab_caseSwitch to SHOUTY-KEBAB-CASEnormal: `K, select: `K
switch_to_shouty_snake_caseSwitch to SHOUTY_SNAKE_CASEnormal: `S, select: `S
switch_to_snake_caseSwitch to snake_casenormal: `s, select: `s
switch_to_title_caseSwitch to Title Casenormal: `t, select: `t
switch_to_upper_camel_caseSwitch to UpperCamelCasenormal: `p, select: `p
switch_to_train_caseSwitch to Train-Casenormal: `T, select: `T
page_upMove page upnormal: <C-b>, Z<C-b>, z<C-b>, <pageup>, Z<pageup>, z<pageup>, select: <C-b>, Z<C-b>, z<C-b>, <pageup>, Z<pageup>, z<pageup>, insert: <pageup>
page_downMove page downnormal: <C-f>, Z<C-f>, z<C-f>, <pagedown>, Z<pagedown>, z<pagedown>, select: <C-f>, Z<C-f>, z<C-f>, <pagedown>, Z<pagedown>, z<pagedown>, insert: <pagedown>
half_page_upMove half page up
half_page_downMove half page down
page_cursor_upMove page and cursor up
page_cursor_downMove page and cursor down
page_cursor_half_upMove page and cursor half upnormal: <C-u>, Z<C-u>, z<C-u>, Z<backspace>, z<backspace>, select: <C-u>, Z<C-u>, z<C-u>, Z<backspace>, z<backspace>
page_cursor_half_downMove page and cursor half downnormal: <C-d>, Z<C-d>, z<C-d>, Z<space>, z<space>, select: <C-d>, Z<C-d>, z<C-d>, Z<space>, z<space>
select_allSelect whole documentnormal: %, select: %
select_regexSelect all regex matches inside selectionsnormal: s, select: s
split_selectionSplit selections on regex matchesnormal: S, select: S
split_selection_on_newlineSplit selection on newlinesnormal: <A-s>, select: <A-s>
merge_selectionsMerge selectionsnormal: <A-minus>, select: <A-minus>
merge_consecutive_selectionsMerge consecutive selectionsnormal: <A-_>, select: <A-_>
search_forwardSearch forward for regex patternnormal: /, Z/, z/, select: /, Z/, z/
search_backwardSearch backward for regex patternnormal: ?, Z?, z?, select: ?, Z?, z?
search_nextSelect next search matchnormal: n, Zn, zn, select: Zn, zn
search_previousSelect previous search matchnormal: N, ZN, zN, select: ZN, zN
extend_search_nextAdd next search match to selectionselect: n
extend_search_previousAdd previous search match to selectionselect: N
search_selectionUse current selection as search patternnormal: <A-*>, select: <A-*>
search_selection_detect_word_boundariesUse current selection as the search pattern, automatically wrapping with \b on word boundariesnormal: *, select: *
make_search_word_boundedModify current search to make it word bounded
search_picker_in_current_working_directorySearch text in the current working directorynormal: <space>/, select: <space>/
search_picker_in_current_bufferSearch text in the current buffer
extend_lineSelect current line, if already selected, extend to another line based on the anchor
extend_line_belowSelect current line, if already selected, extend to next linenormal: x, select: x
extend_line_aboveSelect current line, if already selected, extend to previous line
select_line_aboveSelect current line, if already selected, extend or shrink line above based on the anchor
select_line_belowSelect current line, if already selected, extend or shrink line below based on the anchor
extend_to_line_boundsExtend selection to line boundsnormal: X, select: X
shrink_to_line_boundsShrink selection to line boundsnormal: <A-x>, select: <A-x>
delete_selectionDelete selectionnormal: d, select: d
delete_selection_noyankDelete selection without yankingnormal: <A-d>, select: <A-d>
change_selectionChange selectionnormal: c, select: c
change_selection_noyankChange selection without yankingnormal: <A-c>, select: <A-c>
fold_closeClose the innermost foldnormal: Zc, zc, select: Zc, zc
fold_openOpen the fold at each cursornormal: Zo, zo, select: Zo, zo
fold_toggleToggle the fold at each cursornormal: Za, za, select: Za, za
fold_selectionFold selected linesnormal: Zf, zf, select: Zf, zf
fold_allClose all foldsnormal: ZC, zC, select: ZC, zC
fold_commentsClose all LSP comment folds
fold_importsClose all LSP import folds
fold_regionsClose all LSP region folds
unfold_allOpen all foldsnormal: ZO, zO, select: ZO, zO
fold_toggle_allOpen all folds if any are closed, otherwise close all foldsnormal: ZA, zA, select: ZA, zA
collapse_selectionCollapse selection into single cursornormal: ;, select: ;
flip_selectionsFlip selection cursor and anchornormal: <A-;>, select: <A-;>
undo_selectionGo to previous selectionnormal: <A-u>, select: <A-u>
redo_selectionGo to next selectionnormal: <A-U>, select: <A-U>
ensure_selections_forwardEnsure all selections face forwardnormal: <A-:>, select: <A-:>
insert_modeInsert before selectionnormal: i, select: i
append_modeAppend after selectionnormal: a, select: a
command_modeEnter command modenormal: :, select: :
file_pickerOpen file pickernormal: <space>f, select: <space>f
file_picker_in_current_buffer_directoryOpen file picker at current buffer’s directorynormal: <space>F, select: <space>F
file_picker_in_current_working_directoryOpen file picker at current working directory
file_explorerOpen file explorer in workspace rootnormal: <space>e, select: <space>e
file_explorer_in_current_buffer_directoryOpen file explorer at current buffer’s directorynormal: <space>E, select: <space>E
file_explorer_in_current_working_directoryOpen file explorer at current working directory
code_actionPerform code actionnormal: <space>a, select: <space>a
buffer_pickerOpen buffer pickernormal: <space>b, select: <space>b
jumplist_pickerOpen jumplist pickernormal: <space>j, select: <space>j
quicklist_pickerOpen quicklist pickernormal: <space>q, select: <space>q
add_to_quicklistAdd current location to quicklistnormal: <A-q>, select: <A-q>
symbol_pickerOpen symbol picker
syntax_symbol_pickerOpen symbol picker from syntax information
lsp_or_syntax_symbol_pickerOpen symbol picker from LSP or syntax informationnormal: <space>s, select: <space>s
vcs_show_changeShow hunk diffnormal: <space>gi, select: <space>gi
vcs_goto_next_conflictGo to the next unresolved conflictnormal: ]m, select: ]m
vcs_goto_previous_conflictGo to the previous unresolved conflictnormal: [m, select: [m
vcs_blame_lineShow line blamenormal: <space>gb, select: <space>gb
vcs_toggle_inline_blameToggle inline blamenormal: <space>gt, select: <space>gt
vcs_history_pickerBrowse commitsnormal: <space>gl, select: <space>gl
vcs_file_history_pickerBrowse file historynormal: <space>gf, select: <space>gf
vcs_stash_pickerBrowse stashesnormal: <space>gS, select: <space>gS
vcs_changed_file_pickerBrowse changed filesnormal: <space>gs, select: <space>gs
vcs_diffShow file diffnormal: <space>gd, select: <space>gd
vcs_diff_refreshRetry loading the current diff review buffer
vcs_diff_open_sourceJump from a diff review to its source locationnormal: <ret>, select: <ret>
vcs_diff_open_fileOpen the current file from a diff review
vcs_changed_file_picker_in_repositoryOpen changed file picker in repository
select_references_to_symbol_under_cursorSelect symbol referencesnormal: <space>h, select: <space>h
workspace_symbol_pickerOpen workspace symbol picker
syntax_workspace_symbol_pickerOpen workspace symbol picker from syntax information
lsp_or_syntax_workspace_symbol_pickerOpen workspace symbol picker from LSP or syntax informationnormal: <space>S, select: <space>S
diagnostics_pickerOpen diagnostic pickernormal: <space>d, select: <space>d
workspace_diagnostics_pickerOpen workspace diagnostic pickernormal: <space>D, select: <space>D
last_pickerOpen last pickernormal: <space>', select: <space>'
insert_at_line_startInsert at start of linenormal: I, select: I
insert_at_line_endInsert at end of linenormal: A, select: A
open_belowOpen new line below selectionnormal: o, select: o
open_aboveOpen new line above selectionnormal: O, select: O
normal_modeEnter normal modenormal: <esc>, select: v, insert: <esc>
select_modeEnter selection extend modenormal: v
exit_select_modeExit selection modeselect: <esc>
goto_definitionGo to definitionnormal: gd, select: gd
goto_declarationGo to declarationnormal: gD, select: gD
add_newline_aboveAdd newline abovenormal: [<space>, select: [<space>
add_newline_belowAdd newline belownormal: ]<space>, select: ]<space>
move_lines_upMove current line selection upnormal: <C-k>, select: <C-k>
move_lines_downMove current line selection downnormal: <C-j>, select: <C-j>
goto_type_definitionGo to type definitionnormal: gy, select: gy
goto_implementationGo to implementationnormal: gi, select: gi
show_code_lenses_under_cursorShow code lenses under cursornormal: <space>l, select: <space>l
goto_file_startGo to line number <n> else file startnormal: gg
goto_file_endGo to file end
extend_to_file_startExtend to line number <n> else file startselect: gg
extend_to_file_endExtend to file end
goto_fileGo to files/URLs in selectionsnormal: gf, select: gf
goto_file_in_horizontal_splitOpen files in selections in a horizontal splitnormal: <C-w>f, <space>wf, select: <C-w>f, <space>wf
goto_file_in_vertical_splitOpen files in selections in a vertical splitnormal: <C-w>F, <space>wF, select: <C-w>F, <space>wF
goto_referenceGo to referencesnormal: gr, select: gr
goto_window_topGo to window topnormal: gt, select: gt
goto_window_centerGo to window centernormal: gc, select: gc
goto_window_bottomGo to window bottomnormal: gb, select: gb
goto_last_accessed_fileGo to last accessed filenormal: ga, select: ga
goto_last_modified_fileGo to last modified filenormal: gm, select: gm
goto_last_modificationGo to last modificationnormal: g., select: g.
goto_lineGo to linenormal: G, select: G
goto_last_lineGo to last linenormal: ge
extend_to_last_lineExtend to last lineselect: ge
goto_first_errorGo to first error
goto_last_errorGo to last error
goto_next_errorGo to next error
goto_previous_errorGo to previous error
goto_first_warningGo to first warning diagnostic
goto_last_warningGo to last warning diagnostic
goto_next_warningGo to next warning diagnostic
goto_previous_warningGo to previous warning diagnostic
goto_first_infoGo to first info diagnostic
goto_last_infoGo to last info diagnostic
goto_next_infoGo to next info diagnostic
goto_previous_infoGo to previous info diagnostic
goto_first_hintGo to first hint diagnostic
goto_last_hintGo to last hint diagnostic
goto_next_hintGo to next hint diagnostic
goto_previous_hintGo to previous hint diagnostic
goto_first_diagnosticGo to first diagnosticnormal: [D, select: [D
goto_last_diagnosticGo to last diagnosticnormal: ]D, select: ]D
goto_next_diagnosticGo to next diagnosticnormal: ]d, select: ]d
goto_previous_diagnosticGo to previous diagnosticnormal: [d, select: [d
goto_next_spellingGo to next spelling findingnormal: ]s, select: ]s
goto_previous_spellingGo to previous spelling findingnormal: [s, select: [s
goto_next_quicklistGo to next quicklist entrynormal: ]q, select: ]q
goto_previous_quicklistGo to previous quicklist entrynormal: [q, select: [q
goto_next_file_quicklistGo to next quicklist entry in current filenormal: ]l, select: ]l
goto_previous_file_quicklistGo to previous quicklist entry in current filenormal: [l, select: [l
vcs_goto_next_changeGo to next changenormal: ]g, select: ]g
vcs_goto_previous_changeGo to previous changenormal: [g, select: [g
vcs_goto_first_changeGo to first changenormal: [G, select: [G
vcs_goto_last_changeGo to last changenormal: ]G, select: ]G
goto_line_startGo to line startnormal: gh, <home>, select: gh, insert: <home>
goto_line_endGo to line endnormal: gl, <end>, select: gl
goto_columnGo to columnnormal: g|
extend_to_columnExtend to columnselect: g|
goto_next_bufferGo to next buffernormal: gn, select: gn
goto_previous_bufferGo to previous buffernormal: gp, select: gp
goto_line_end_newlineGo to newline at line endinsert: <end>
goto_first_nonwhitespaceGo to first non-blank in linenormal: gs, select: gs
trim_selectionsTrim whitespace from selectionsnormal: _, select: _
extend_to_line_startExtend to line startselect: <home>
extend_to_first_nonwhitespaceExtend to first non-blank in line
extend_to_line_endExtend to line endselect: <end>
extend_to_line_end_newlineExtend to line end
signature_helpShow signature help
smart_tabInsert tab if all cursors have all whitespace to their left; otherwise, run a separate command.insert: <tab>
insert_tabInsert tab charinsert: <S-tab>
insert_newlineInsert newline charinsert: <C-j>, <ret>
insert_char_interactiveInsert an interactively-chosen char
append_char_interactiveAppend an interactively-chosen char
delete_char_backwardDelete previous charinsert: <C-h>, <backspace>, <S-backspace>
delete_char_forwardDelete next charinsert: <C-d>, <del>
delete_sub_word_backwardDelete previous subword
delete_sub_word_forwardDelete next subword
delete_word_backwardDelete previous wordinsert: <C-w>, <A-backspace>
delete_word_forwardDelete next wordinsert: <A-d>, <A-del>
kill_to_line_startDelete till start of lineinsert: <C-u>
kill_to_line_endDelete till end of lineinsert: <C-k>
undoUndo changenormal: u, select: u
redoRedo changenormal: U, select: U
earlierMove backward in historynormal: g<minus>, select: g<minus>
laterMove forward in historynormal: g+, select: g+
commit_undo_checkpointStart a new undo step without leaving insert modeinsert: <C-s>
yankYank selectionnormal: y, select: y
yank_to_clipboardYank selections to clipboardnormal: <space>y, select: <space>y
yank_to_primary_clipboardYank selections to primary clipboard
yank_joinedJoin and yank selections
yank_joined_to_clipboardJoin and yank selections to clipboard
yank_primary_selection_to_clipboardYank primary selection to clipboardnormal: <space>Y, select: <space>Y
yank_joined_to_primary_clipboardJoin and yank selections to primary clipboard
yank_primary_selection_to_primary_clipboardYank primary selection to primary clipboard
replace_with_yankedReplace with yanked textnormal: R, select: R
replace_selections_with_clipboardReplace selections by clipboard contentnormal: <space>R, select: <space>R
replace_selections_with_primary_clipboardReplace selections by primary clipboard
paste_afterPaste after selectionnormal: p, select: p
paste_beforePaste before selectionnormal: P, select: P
paste_after_allPaste every register value after each selection
paste_before_allPaste every register value before each selection
paste_clipboard_afterPaste clipboard after selectionsnormal: <space>p, select: <space>p
paste_clipboard_beforePaste clipboard before selectionsnormal: <space>P, select: <space>P
paste_primary_clipboard_afterPaste primary clipboard after selections
paste_primary_clipboard_beforePaste primary clipboard before selections
indentIndent selectionnormal: <gt>, select: <gt>
unindentUnindent selectionnormal: <lt>, select: <lt>
format_selectionsFormat selectionnormal: =, select: =
join_linesJoin lines inside selectionnormal: J, select: J
join_lines_and_select_spacesJoin lines inside selection and select spacesnormal: <A-J>, select: <A-J>
keep_selectionsKeep selections matching regexnormal: K, select: K
remove_selectionsRemove selections matching regexnormal: <A-K>, select: <A-K>
align_selectionsAlign selections in columnnormal: &, select: &
keep_primary_selectionKeep primary selectionnormal: ,, select: ,
remove_primary_selectionRemove primary selectionnormal: <A-,>, select: <A-,>
completionInvoke completion popupinsert: <C-x>
inline_completion_acceptAccept inline completion
inline_completion_dismissDismiss inline completion
inline_completion_nextCycle to next inline completion
inline_completion_previousCycle to previous inline completion
inline_completion_triggerTrigger inline completion
hoverShow docs for item under cursornormal: <space>k, select: <space>k
goto_hoverShow docs for item under cursor in a new buffernormal: <space>K, select: <space>K
toggle_commentsComment/uncomment selectionsnormal: <C-c>, <space>c, select: <C-c>, <space>c
toggle_line_commentsLine comment/uncomment selectionsnormal: <space><A-c>, select: <space><A-c>
toggle_block_commentsBlock comment/uncomment selectionsnormal: <space>C, select: <space>C
cycle_primary_selection_forwardMake the next selection primarynormal: ), select: )
cycle_primary_selection_backwardMake the previous selection primarynormal: (, select: (
rotate_selection_contents_forwardRotate selection contents forwardnormal: <A-)>, select: <A-)>
rotate_selection_contents_backwardRotate selections contents backwardnormal: <A-(>, select: <A-(>
reverse_selection_contentsReverse selections contents
expand_selectionExpand selection to enclosing structurenormal: <A-o>, <A-up>, select: <A-o>, <A-up>
shrink_selectionShrink selection to previously expanded structurenormal: <A-i>, <A-down>, select: <A-i>, <A-down>
select_next_siblingSelect next sibling in the syntax treenormal: <A-n>, <A-right>, select: <A-n>, <A-right>
select_previous_siblingSelect previous sibling in the syntax treenormal: <A-p>, <A-left>, select: <A-p>, <A-left>
select_all_siblingsSelect all siblings of the current nodenormal: <A-a>, select: <A-a>
select_all_childrenSelect all children of the current nodenormal: <A-I>, <S-A-down>, select: <A-I>, <S-A-down>
jump_forwardJump forward on jumplistnormal: <C-i>, <tab>, select: <C-i>, <tab>
jump_backwardJump backward on jumplistnormal: <C-o>, select: <C-o>
save_selectionRecord current selections in the jumplistnormal: <C-s>, select: <C-s>
jump_view_rightJump to right splitnormal: <C-w>l, <space>wl, <C-w><C-l>, <C-w><right>, <space>w<C-l>, <space>w<right>, select: <C-w>l, <space>wl, <C-w><C-l>, <C-w><right>, <space>w<C-l>, <space>w<right>
jump_view_leftJump to left splitnormal: <C-w>h, <space>wh, <C-w><C-h>, <C-w><left>, <space>w<C-h>, <space>w<left>, select: <C-w>h, <space>wh, <C-w><C-h>, <C-w><left>, <space>w<C-h>, <space>w<left>
toggle_sidebarToggle file explorer sidebarnormal: <C-w>b, <space>wb, select: <C-w>b, <space>wb
focus_sidebarOpen and focus file explorer sidebarnormal: <C-w>e, <space>we, select: <C-w>e, <space>we
switch_sidebar_focusSwitch focus between editor and file explorer sidebarnormal: <C-e>, select: <C-e>
jump_view_upJump to split abovenormal: <C-w>k, <C-w><up>, <space>wk, <C-w><C-k>, <space>w<up>, <space>w<C-k>, select: <C-w>k, <C-w><up>, <space>wk, <C-w><C-k>, <space>w<up>, <space>w<C-k>
jump_view_downJump to split belownormal: <C-w>j, <space>wj, <C-w><C-j>, <C-w><down>, <space>w<C-j>, <space>w<down>, select: <C-w>j, <space>wj, <C-w><C-j>, <C-w><down>, <space>w<C-j>, <space>w<down>
swap_view_rightSwap with right splitnormal: <C-w>L, <space>wL, <C-w><S-right>, <space>w<S-right>, select: <C-w>L, <space>wL, <C-w><S-right>, <space>w<S-right>
swap_view_leftSwap with left splitnormal: <C-w>H, <space>wH, <C-w><S-left>, <space>w<S-left>, select: <C-w>H, <space>wH, <C-w><S-left>, <space>w<S-left>
swap_view_upSwap with split abovenormal: <C-w>K, <space>wK, <C-w><S-up>, <space>w<S-up>, select: <C-w>K, <space>wK, <C-w><S-up>, <space>w<S-up>
swap_view_downSwap with split belownormal: <C-w>J, <space>wJ, <C-w><S-down>, <space>w<S-down>, select: <C-w>J, <space>wJ, <C-w><S-down>, <space>w<S-down>
transpose_viewTranspose splitsnormal: <C-w>t, <space>wt, <C-w><C-t>, <space>w<C-t>, select: <C-w>t, <space>wt, <C-w><C-t>, <space>w<C-t>
resize_modeResize windows (Enter to confirm, Escape to cancel)normal: <C-w>r, <space>wr, select: <C-w>r, <space>wr
resize_view_leftResize window left
resize_view_rightResize window right
resize_view_upResize window up
resize_view_downResize window down
grow_view_widthGrow split width
shrink_view_widthShrink split width
grow_view_heightGrow split height
shrink_view_heightShrink split height
equalize_viewsMake all splits the same sizenormal: <C-w>=, <space>w=, select: <C-w>=, <space>w=
rotate_viewGo to next windownormal: <C-w>w, <space>ww, <C-w><C-w>, <space>w<C-w>, select: <C-w>w, <space>ww, <C-w><C-w>, <space>w<C-w>
rotate_view_reverseGo to previous windownormal: <C-w>W, <space>wW, select: <C-w>W, <space>wW
split_horizontalHorizontal bottom splitnormal: <C-w>s, <space>ws, <C-w><C-s>, <space>w<C-s>, select: <C-w>s, <space>ws, <C-w><C-s>, <space>w<C-s>
split_horizontal_newHorizontal bottom split scratch buffernormal: <C-w>ns, <space>wns, <C-w>n<C-s>, <space>wn<C-s>, select: <C-w>ns, <space>wns, <C-w>n<C-s>, <space>wn<C-s>
split_verticalVertical right splitnormal: <C-w>v, <space>wv, <C-w><C-v>, <space>w<C-v>, select: <C-w>v, <space>wv, <C-w><C-v>, <space>w<C-v>
split_vertical_newVertical right split scratch buffernormal: <C-w>nv, <space>wnv, <C-w>n<C-v>, <space>wn<C-v>, select: <C-w>nv, <space>wnv, <C-w>n<C-v>, <space>wn<C-v>
close_viewClose current viewnormal: <C-w>q, <space>wq, <C-w><C-q>, <space>w<C-q>, select: <C-w>q, <space>wq, <C-w><C-q>, <space>w<C-q>
close_other_viewsClose views except currentnormal: <C-w>o, <space>wo, <C-w><C-o>, <space>w<C-o>, select: <C-w>o, <space>wo, <C-w><C-o>, <space>w<C-o>
select_registerSelect registernormal: ", select: "
insert_registerInsert registerinsert: <C-r>
copy_between_registersCopy between two registers
center_view_horizontallyScroll horizontally to center the primary cursornormal: Zm, zm, select: Zm, zm
align_view_topAlign view topnormal: Zt, zt, select: Zt, zt
center_view_verticallyScroll vertically to center the primary cursornormal: Zz, zz, select: Zz, zz
align_view_bottomAlign view bottomnormal: Zb, zb, select: Zb, zb
scroll_upScroll view upnormal: Zk, zk, Z<up>, z<up>, select: Zk, zk, Z<up>, z<up>
scroll_downScroll view downnormal: Zj, zj, Z<down>, z<down>, select: Zj, zj, Z<down>, z<down>
match_bracketsGo to matching bracketnormal: mm, select: mm
surround_addSurround addnormal: ms, select: ms
surround_replaceSurround replacenormal: mr, select: mr
surround_deleteSurround deletenormal: md, select: md
select_textobject_aroundSelect around objectnormal: ma, select: ma
select_textobject_innerSelect inside objectnormal: mi, select: mi
select_all_textobjects_aroundSelect all textobjects around selectionsnormal: mA, select: mA
select_all_textobjects_innerSelect all textobjects inside selectionsnormal: mI, select: mI
goto_next_functionGo to next functionnormal: ]f, select: ]f
goto_previous_functionGo to previous functionnormal: [f, select: [f
goto_next_classGo to next type definitionnormal: ]t, select: ]t
goto_previous_classGo to previous type definitionnormal: [t, select: [t
goto_next_parameterGo to next parameternormal: ]a, select: ]a
goto_previous_parameterGo to previous parameternormal: [a, select: [a
goto_next_commentGo to next commentnormal: ]c, select: ]c
goto_previous_commentGo to previous commentnormal: [c, select: [c
goto_next_testGo to next testnormal: ]T, select: ]T
goto_previous_testGo to previous testnormal: [T, select: [T
goto_next_xml_elementGo to next (X)HTML elementnormal: ]x, select: ]x
goto_previous_xml_elementGo to previous (X)HTML elementnormal: [x, select: [x
goto_next_entryGo to next pairingnormal: ]e, select: ]e
goto_previous_entryGo to previous pairingnormal: [e, select: [e
goto_next_paragraphGo to next paragraphnormal: ]p, select: ]p
goto_previous_paragraphGo to previous paragraphnormal: [p, select: [p
debug_launch_pickerChoose a launch configuration and start debuggingnormal: <space>Xl, <space>xl, select: <space>Xl, <space>xl
debug_restartRestart debugging sessionnormal: <space>Xr, <space>xr, select: <space>Xr, <space>xr
debug_toggle_breakpointsToggle breakpointsnormal: <space>Xb, <space>xb, select: <space>Xb, <space>xb
debug_continueContinue program executionnormal: <space>Xc, <space>xc, select: <space>Xc, <space>xc
debug_pausePause program executionnormal: <space>Xh, <space>xh, select: <space>Xh, <space>xh
debug_step_inStep innormal: <space>Xi, <space>xi, select: <space>Xi, <space>xi
debug_step_outStep outnormal: <space>Xo, <space>xo, select: <space>Xo, <space>xo
debug_step_overStep over the current statementnormal: <space>Xn, <space>xn, select: <space>Xn, <space>xn
debug_variablesBrowse variablesnormal: <space>Xv, <space>xv, select: <space>Xv, <space>xv
debug_terminateEnd debug sessionnormal: <space>Xt, <space>xt, select: <space>Xt, <space>xt
debug_edit_breakpoint_conditionEdit breakpoint condition on current linenormal: <space>XBc, <space>xBc, select: <space>XBc, <space>xBc
debug_edit_breakpoint_log_messageEdit breakpoint log message on current linenormal: <space>XBl, <space>xBl, select: <space>XBl, <space>xBl
debug_session_pickerOpen debug session pickernormal: <space>Xss, <space>xss, select: <space>Xss, <space>xss
debug_thread_pickerChoose the current debug threadnormal: <space>Xst, <space>xst, select: <space>Xst, <space>xst
debug_stack_frame_pickerOpen debug stack frame pickernormal: <space>Xsf, <space>xsf, select: <space>Xsf, <space>xsf
debug_enable_exception_breakpointsEnable exception breakpointsnormal: <space>Xe, <space>xe, select: <space>Xe, <space>xe
debug_disable_exception_breakpointsDisable exception breakpointsnormal: <space>XE, <space>xE, select: <space>XE, <space>xE
shell_pipePipe selections through shell commandnormal: |, select: |
shell_pipe_toPipe selections into shell command ignoring outputnormal: <A-|>, select: <A-|>
shell_insert_outputInsert shell command output before selectionsnormal: !, select: !
shell_append_outputAppend shell command output after selectionsnormal: <A-!>, select: <A-!>
shell_keep_pipeFilter selections with shell predicatenormal: $, select: $
suspendSuspend and return to shellnormal: <C-z>, select: <C-z>
rename_symbolRename symbolnormal: <space>r, select: <space>r
incrementIncrement item under cursornormal: <C-a>, select: <C-a>
decrementDecrement item under cursornormal: <C-x>, select: <C-x>
record_macroRecord macronormal: Q, select: Q
replay_macroReplay macronormal: q, select: q
command_paletteOpen command palettenormal: <space>?, select: <space>?
goto_wordJump to a two-character labelnormal: gw
extend_to_wordExtend to a two-character labelselect: gw
snippet_pickerChoose and insert a user-defined snippet
snippet_next_choiceChoose the next snippet placeholder value
snippet_previous_choiceChoose the previous snippet placeholder value
snippet_next_tabstopGo to next snippet placeholder
snippet_previous_tabstopGo to previous snippet placeholder
make_first_selection_primaryMake the first selection your primary one
make_last_selection_primaryMake the last selection your primary one