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

Keymap

These tables list the built-in bindings. To change them, see Key remapping.

<space> means Space, <ret> means Enter, <esc> means Escape, <C-x> means Ctrl-x, and <A-x> means Alt-x. Adjacent keys form a sequence: <space>f means press Space, then f. Some terminals intercept keys before Mitos receives them; check your terminal settings if a binding does not work.

Language-server commands require an active server, and syntax-aware commands require a tree-sitter grammar and the relevant queries for the file type.

Normal mode

Normal mode is the default when Mitos starts. Press Escape to return to it. Type a number before a command to give it a count, for example 42G to go to line 42. Unlike Vim, f, F, t, and T can cross line boundaries.

See Selections for building and transforming selections, Search and replacement for search, and Shell commands for filtering text. Search commands use the / register by default; select another register with "<char>.

Minor modes

Prefix keys open groups of commands. Most return to normal mode after a command; sticky groups stay open until Escape. See remapping minor modes.

  • z scrolls and positions the view; Z opens its sticky variant.
  • g jumps to locations.
  • m works with surround and textobjects.
  • Backtick opens case conversions for each selection. Formats such as snake_case treat punctuation and whitespace as word separators.
  • Ctrl-w manages split views.
  • Space x opens debugging commands; Space X keeps that group active.
  • Space opens pickers and project tools. Space ' reopens global search.
  • [ and ] move to previous and next items, including syntax textobjects.

Bindings

KeyDescriptionCommand
hMove leftmove_char_left
<left>Move leftmove_char_left
jMove downmove_visual_line_down
<down>Move downmove_visual_line_down
kMove upmove_visual_line_up
<up>Move upmove_visual_line_up
lMove rightmove_char_right
<right>Move rightmove_char_right
tMove till next occurrence of charfind_till_next_char
fMove to next occurrence of charfind_next_char
TMove till previous occurrence of charfind_till_previous_char
FMove to previous occurrence of charfind_previous_char
rReplace each selected grapheme with a characterreplace_char
<A-r>Replace selections with entered textreplace
RReplace with yanked textreplace_with_yanked
<A-.>Repeat last motionrepeat_last_motion
~Switch (toggle) caseswitch_case
`CasePrefix
<A-`>Switch to uppercaseswitch_to_uppercase
<home>Go to line startgoto_line_start
<end>Go to line endgoto_line_end
wMove to start of next wordmove_next_word_start
bMove to start of previous wordmove_previous_word_start
eMove to end of next wordmove_next_word_end
WMove to start of next long wordmove_next_long_word_start
BMove to start of previous long wordmove_previous_long_word_start
EMove to end of next long wordmove_next_long_word_end
vEnter selection extend modeselect_mode
GGo to linegoto_line
gGotoPrefix
:Enter command modecommand_mode
<A-q>Add current location to quicklistadd_to_quicklist
iInsert before selectioninsert_mode
IInsert at start of lineinsert_at_line_start
aAppend after selectionappend_mode
AInsert at end of lineinsert_at_line_end
oOpen new line below selectionopen_below
OOpen new line above selectionopen_above
dDelete selectiondelete_selection
<A-d>Delete selection without yankingdelete_selection_noyank
<ret>Jump from a diff review to its source locationvcs_diff_open_source
cChange selectionchange_selection
<A-c>Change selection without yankingchange_selection_noyank
CCopy selection on next linecopy_selection_on_next_line
<A-C>Copy selection on previous linecopy_selection_on_previous_line
sSelect all regex matches inside selectionsselect_regex
<A-s>Split selection on newlinessplit_selection_on_newline
<A-minus>Merge selectionsmerge_selections
<A-_>Merge consecutive selectionsmerge_consecutive_selections
SSplit selections on regex matchessplit_selection
;Collapse selection into single cursorcollapse_selection
<A-;>Flip selection cursor and anchorflip_selections
<A-o>Expand selection to enclosing structureexpand_selection
<A-up>Expand selection to enclosing structureexpand_selection
<A-i>Shrink selection to previously expanded structureshrink_selection
<A-down>Shrink selection to previously expanded structureshrink_selection
<A-I>Select all children of the current nodeselect_all_children
<S-A-down>Select all children of the current nodeselect_all_children
<A-p>Select previous sibling in the syntax treeselect_previous_sibling
<A-left>Select previous sibling in the syntax treeselect_previous_sibling
<A-n>Select next sibling in the syntax treeselect_next_sibling
<A-right>Select next sibling in the syntax treeselect_next_sibling
<A-e>Move to end of the parent nodemove_parent_node_end
<A-b>Move to beginning of the parent nodemove_parent_node_start
<A-a>Select all siblings of the current nodeselect_all_siblings
%Select whole documentselect_all
xSelect current line, if already selected, extend to next lineextend_line_below
XExtend selection to line boundsextend_to_line_bounds
<A-x>Shrink selection to line boundsshrink_to_line_bounds
mMatchPrefix
[Left bracketPrefix
]Right bracketPrefix
/Search forward for regex patternsearch_forward
?Search backward for regex patternsearch_backward
nSelect next search matchsearch_next
NSelect previous search matchsearch_previous
*Use current selection as the search pattern, automatically wrapping with \b on word boundariessearch_selection_detect_word_boundaries
<A-*>Use current selection as search patternsearch_selection
uUndo changeundo
URedo changeredo
<A-u>Go to previous selectionundo_selection
<A-U>Go to next selectionredo_selection
yYank selectionyank
pPaste after selectionpaste_after
PPaste before selectionpaste_before
QRecord macrorecord_macro
qReplay macroreplay_macro
<gt>Indent selectionindent
<lt>Unindent selectionunindent
=Format selectionformat_selections
JJoin lines inside selectionjoin_lines
<A-J>Join lines inside selection and select spacesjoin_lines_and_select_spaces
KKeep selections matching regexkeep_selections
<A-K>Remove selections matching regexremove_selections
,Keep primary selectionkeep_primary_selection
<A-,>Remove primary selectionremove_primary_selection
&Align selections in columnalign_selections
_Trim whitespace from selectionstrim_selections
(Make the previous selection primarycycle_primary_selection_backward
)Make the next selection primarycycle_primary_selection_forward
<A-(>Rotate selections contents backwardrotate_selection_contents_backward
<A-)>Rotate selection contents forwardrotate_selection_contents_forward
<A-:>Ensure all selections face forwardensure_selections_forward
<esc>Enter normal modenormal_mode
<C-b>Move page uppage_up
<pageup>Move page uppage_up
<C-e>Switch focus between editor and file explorer sidebarswitch_sidebar_focus
<C-f>Move page downpage_down
<pagedown>Move page downpage_down
<C-u>Move page and cursor half uppage_cursor_half_up
<C-d>Move page and cursor half downpage_cursor_half_down
<C-k>Move current line selection upmove_lines_up
<C-j>Move current line selection downmove_lines_down
<C-w>WindowPrefix
<C-c>Comment/uncomment selectionstoggle_comments
<C-i>Jump forward on jumplistjump_forward
<tab>Jump forward on jumplistjump_forward
<C-o>Jump backward on jumplistjump_backward
<C-s>Record current selections in the jumplistsave_selection
<space>SpacePrefix
zViewPrefix
ZView (sticky; Escape to exit)Prefix
"Select registerselect_register
|Pipe selections through shell commandshell_pipe
<A-|>Pipe selections into shell command ignoring outputshell_pipe_to
!Insert shell command output before selectionsshell_insert_output
<A-!>Append shell command output after selectionsshell_append_output
$Filter selections with shell predicateshell_keep_pipe
<C-z>Suspend and return to shellsuspend
<C-a>Increment item under cursorincrement
<C-x>Decrement item under cursordecrement

` — Case

KeyDescriptionCommand
`aSwitch (toggle) caseswitch_case
`lSwitch to lowercaseswitch_to_lowercase
`uSwitch to uppercaseswitch_to_uppercase
`cSwitch to lowerCamelCaseswitch_to_lower_camel_case
`pSwitch to UpperCamelCaseswitch_to_upper_camel_case
`sSwitch to snake_caseswitch_to_snake_case
`SSwitch to SHOUTY_SNAKE_CASEswitch_to_shouty_snake_case
`kSwitch to kebab-caseswitch_to_kebab_case
`KSwitch to SHOUTY-KEBAB-CASEswitch_to_shouty_kebab_case
`tSwitch to Title Caseswitch_to_title_case
`TSwitch to Train-Caseswitch_to_train_case

g — Goto

KeyDescriptionCommand
ggGo to line number <n> else file startgoto_file_start
g|Go to columngoto_column
geGo to last linegoto_last_line
gfGo to files/URLs in selectionsgoto_file
ghGo to line startgoto_line_start
glGo to line endgoto_line_end
gsGo to first non-blank in linegoto_first_nonwhitespace
gdGo to definitiongoto_definition
gDGo to declarationgoto_declaration
gyGo to type definitiongoto_type_definition
grGo to referencesgoto_reference
giGo to implementationgoto_implementation
gtGo to window topgoto_window_top
gcGo to window centergoto_window_center
gbGo to window bottomgoto_window_bottom
gaGo to last accessed filegoto_last_accessed_file
gmGo to last modified filegoto_last_modified_file
gnGo to next buffergoto_next_buffer
gpGo to previous buffergoto_previous_buffer
gkMove upmove_line_up
gjMove downmove_line_down
g.Go to last modificationgoto_last_modification
g<minus>Move backward in historyearlier
g+Move forward in historylater
gwJump to a two-character labelgoto_word

m — Match

KeyDescriptionCommand
mmGo to matching bracketmatch_brackets
msSurround addsurround_add
mrSurround replacesurround_replace
mdSurround deletesurround_delete
maSelect around objectselect_textobject_around
miSelect inside objectselect_textobject_inner
mASelect all textobjects around selectionsselect_all_textobjects_around
mISelect all textobjects inside selectionsselect_all_textobjects_inner

[ — Left bracket

KeyDescriptionCommand
[dGo to previous diagnosticgoto_previous_diagnostic
[sGo to previous spelling findinggoto_previous_spelling
[qGo to previous quicklist entrygoto_previous_quicklist
[DGo to first diagnosticgoto_first_diagnostic
[gGo to previous changevcs_goto_previous_change
[mGo to the previous unresolved conflictvcs_goto_previous_conflict
[GGo to first changevcs_goto_first_change
[lGo to previous quicklist entry in current filegoto_previous_file_quicklist
[fGo to previous functiongoto_previous_function
[tGo to previous type definitiongoto_previous_class
[aGo to previous parametergoto_previous_parameter
[cGo to previous commentgoto_previous_comment
[eGo to previous pairinggoto_previous_entry
[TGo to previous testgoto_previous_test
[pGo to previous paragraphgoto_previous_paragraph
[xGo to previous (X)HTML elementgoto_previous_xml_element
[<space>Add newline aboveadd_newline_above

] — Right bracket

KeyDescriptionCommand
]dGo to next diagnosticgoto_next_diagnostic
]sGo to next spelling findinggoto_next_spelling
]qGo to next quicklist entrygoto_next_quicklist
]DGo to last diagnosticgoto_last_diagnostic
]gGo to next changevcs_goto_next_change
]mGo to the next unresolved conflictvcs_goto_next_conflict
]GGo to last changevcs_goto_last_change
]lGo to next quicklist entry in current filegoto_next_file_quicklist
]fGo to next functiongoto_next_function
]tGo to next type definitiongoto_next_class
]aGo to next parametergoto_next_parameter
]cGo to next commentgoto_next_comment
]eGo to next pairinggoto_next_entry
]TGo to next testgoto_next_test
]pGo to next paragraphgoto_next_paragraph
]xGo to next (X)HTML elementgoto_next_xml_element
]<space>Add newline belowadd_newline_below

<C-w> — Window

KeyDescriptionCommand
<C-w>bToggle file explorer sidebartoggle_sidebar
<C-w>eOpen and focus file explorer sidebarfocus_sidebar
<C-w><C-w>Go to next windowrotate_view
<C-w>wGo to next windowrotate_view
<C-w>WGo to previous windowrotate_view_reverse
<C-w><C-s>Horizontal bottom splitsplit_horizontal
<C-w>sHorizontal bottom splitsplit_horizontal
<C-w><C-v>Vertical right splitsplit_vertical
<C-w>vVertical right splitsplit_vertical
<C-w><C-t>Transpose splitstranspose_view
<C-w>tTranspose splitstranspose_view
<C-w>rResize windows (Enter to confirm, Escape to cancel)resize_mode
<C-w>=Make all splits the same sizeequalize_views
<C-w>fOpen files in selections in a horizontal splitgoto_file_in_horizontal_split
<C-w>FOpen files in selections in a vertical splitgoto_file_in_vertical_split
<C-w><C-q>Close current viewclose_view
<C-w>qClose current viewclose_view
<C-w><C-o>Close views except currentclose_other_views
<C-w>oClose views except currentclose_other_views
<C-w><C-h>Jump to left splitjump_view_left
<C-w>hJump to left splitjump_view_left
<C-w><left>Jump to left splitjump_view_left
<C-w><C-j>Jump to split belowjump_view_down
<C-w>jJump to split belowjump_view_down
<C-w><down>Jump to split belowjump_view_down
<C-w><C-k>Jump to split abovejump_view_up
<C-w>kJump to split abovejump_view_up
<C-w><up>Jump to split abovejump_view_up
<C-w><C-l>Jump to right splitjump_view_right
<C-w>lJump to right splitjump_view_right
<C-w><right>Jump to right splitjump_view_right
<C-w>LSwap with right splitswap_view_right
<C-w><S-right>Swap with right splitswap_view_right
<C-w>KSwap with split aboveswap_view_up
<C-w><S-up>Swap with split aboveswap_view_up
<C-w>HSwap with left splitswap_view_left
<C-w><S-left>Swap with left splitswap_view_left
<C-w>JSwap with split belowswap_view_down
<C-w><S-down>Swap with split belowswap_view_down
<C-w>nNew split scratch bufferPrefix

<C-w>n — New split scratch buffer

KeyDescriptionCommand
<C-w>n<C-s>Horizontal bottom split scratch buffersplit_horizontal_new
<C-w>nsHorizontal bottom split scratch buffersplit_horizontal_new
<C-w>n<C-v>Vertical right split scratch buffersplit_vertical_new
<C-w>nvVertical right split scratch buffersplit_vertical_new

<space> — Space

KeyDescriptionCommand
<space>fOpen file pickerfile_picker
<space>FOpen file picker at current buffer’s directoryfile_picker_in_current_buffer_directory
<space>eOpen file explorer in workspace rootfile_explorer
<space>EOpen file explorer at current buffer’s directoryfile_explorer_in_current_buffer_directory
<space>bOpen buffer pickerbuffer_picker
<space>jOpen jumplist pickerjumplist_picker
<space>qOpen quicklist pickerquicklist_picker
<space>sOpen symbol picker from LSP or syntax informationlsp_or_syntax_symbol_picker
<space>SOpen workspace symbol picker from LSP or syntax informationlsp_or_syntax_workspace_symbol_picker
<space>dOpen diagnostic pickerdiagnostics_picker
<space>DOpen workspace diagnostic pickerworkspace_diagnostics_picker
<space>gVersion controlPrefix
<space>aPerform code actioncode_action
<space>lShow code lenses under cursorshow_code_lenses_under_cursor
<space>'Open last pickerlast_picker
<space>xDebugPrefix
<space>XDebug (sticky; Escape to exit)Prefix
<space>wWindowPrefix
<space>yYank selections to clipboardyank_to_clipboard
<space>YYank primary selection to clipboardyank_primary_selection_to_clipboard
<space>pPaste clipboard after selectionspaste_clipboard_after
<space>PPaste clipboard before selectionspaste_clipboard_before
<space>RReplace selections by clipboard contentreplace_selections_with_clipboard
<space>/Search text in the current working directorysearch_picker_in_current_working_directory
<space>kShow docs for item under cursorhover
<space>KShow docs for item under cursor in a new buffergoto_hover
<space>rRename symbolrename_symbol
<space>hSelect symbol referencesselect_references_to_symbol_under_cursor
<space>cComment/uncomment selectionstoggle_comments
<space>CBlock comment/uncomment selectionstoggle_block_comments
<space><A-c>Line comment/uncomment selectionstoggle_line_comments
<space>?Open command palettecommand_palette

<space>g — Version control

KeyDescriptionCommand
<space>gsBrowse changed filesvcs_changed_file_picker
<space>gdShow file diffvcs_diff
<space>gfBrowse file historyvcs_file_history_picker
<space>glBrowse commitsvcs_history_picker
<space>gbShow line blamevcs_blame_line
<space>giShow hunk diffvcs_show_change
<space>gtToggle inline blamevcs_toggle_inline_blame
<space>gSBrowse stashesvcs_stash_picker

<space>x — Debug

KeyDescriptionCommand
<space>xlChoose a launch configuration and start debuggingdebug_launch_picker
<space>xrRestart debugging sessiondebug_restart
<space>xbToggle breakpointsdebug_toggle_breakpoints
<space>xcContinue program executiondebug_continue
<space>xhPause program executiondebug_pause
<space>xiStep indebug_step_in
<space>xoStep outdebug_step_out
<space>xnStep over the current statementdebug_step_over
<space>xvBrowse variablesdebug_variables
<space>xtEnd debug sessiondebug_terminate
<space>xBBreakpoint settingsPrefix
<space>xsSwitchPrefix
<space>xeEnable exception breakpointsdebug_enable_exception_breakpoints
<space>xEDisable exception breakpointsdebug_disable_exception_breakpoints
<space>xB — Breakpoint settings
KeyDescriptionCommand
<space>xBcEdit breakpoint condition on current linedebug_edit_breakpoint_condition
<space>xBlEdit breakpoint log message on current linedebug_edit_breakpoint_log_message
<space>xs — Switch
KeyDescriptionCommand
<space>xssOpen debug session pickerdebug_session_picker
<space>xstChoose the current debug threaddebug_thread_picker
<space>xsfOpen debug stack frame pickerdebug_stack_frame_picker

<space>X — Debug

KeyDescriptionCommand
<space>XlChoose a launch configuration and start debuggingdebug_launch_picker
<space>XrRestart debugging sessiondebug_restart
<space>XbToggle breakpointsdebug_toggle_breakpoints
<space>XcContinue program executiondebug_continue
<space>XhPause program executiondebug_pause
<space>XiStep indebug_step_in
<space>XoStep outdebug_step_out
<space>XnStep over the current statementdebug_step_over
<space>XvBrowse variablesdebug_variables
<space>XtEnd debug sessiondebug_terminate
<space>XBBreakpoint settingsPrefix
<space>XsSwitchPrefix
<space>XeEnable exception breakpointsdebug_enable_exception_breakpoints
<space>XEDisable exception breakpointsdebug_disable_exception_breakpoints
<space>XB — Breakpoint settings
KeyDescriptionCommand
<space>XBcEdit breakpoint condition on current linedebug_edit_breakpoint_condition
<space>XBlEdit breakpoint log message on current linedebug_edit_breakpoint_log_message
<space>Xs — Switch
KeyDescriptionCommand
<space>XssOpen debug session pickerdebug_session_picker
<space>XstChoose the current debug threaddebug_thread_picker
<space>XsfOpen debug stack frame pickerdebug_stack_frame_picker

<space>w — Window

KeyDescriptionCommand
<space>wbToggle file explorer sidebartoggle_sidebar
<space>weOpen and focus file explorer sidebarfocus_sidebar
<space>w<C-w>Go to next windowrotate_view
<space>wwGo to next windowrotate_view
<space>wWGo to previous windowrotate_view_reverse
<space>w<C-s>Horizontal bottom splitsplit_horizontal
<space>wsHorizontal bottom splitsplit_horizontal
<space>w<C-v>Vertical right splitsplit_vertical
<space>wvVertical right splitsplit_vertical
<space>w<C-t>Transpose splitstranspose_view
<space>wtTranspose splitstranspose_view
<space>wrResize windows (Enter to confirm, Escape to cancel)resize_mode
<space>w=Make all splits the same sizeequalize_views
<space>wfOpen files in selections in a horizontal splitgoto_file_in_horizontal_split
<space>wFOpen files in selections in a vertical splitgoto_file_in_vertical_split
<space>w<C-q>Close current viewclose_view
<space>wqClose current viewclose_view
<space>w<C-o>Close views except currentclose_other_views
<space>woClose views except currentclose_other_views
<space>w<C-h>Jump to left splitjump_view_left
<space>whJump to left splitjump_view_left
<space>w<left>Jump to left splitjump_view_left
<space>w<C-j>Jump to split belowjump_view_down
<space>wjJump to split belowjump_view_down
<space>w<down>Jump to split belowjump_view_down
<space>w<C-k>Jump to split abovejump_view_up
<space>wkJump to split abovejump_view_up
<space>w<up>Jump to split abovejump_view_up
<space>w<C-l>Jump to right splitjump_view_right
<space>wlJump to right splitjump_view_right
<space>w<right>Jump to right splitjump_view_right
<space>wLSwap with right splitswap_view_right
<space>w<S-right>Swap with right splitswap_view_right
<space>wKSwap with split aboveswap_view_up
<space>w<S-up>Swap with split aboveswap_view_up
<space>wHSwap with left splitswap_view_left
<space>w<S-left>Swap with left splitswap_view_left
<space>wJSwap with split belowswap_view_down
<space>w<S-down>Swap with split belowswap_view_down
<space>wnNew split scratch bufferPrefix
<space>wn — New split scratch buffer
KeyDescriptionCommand
<space>wn<C-s>Horizontal bottom split scratch buffersplit_horizontal_new
<space>wnsHorizontal bottom split scratch buffersplit_horizontal_new
<space>wn<C-v>Vertical right split scratch buffersplit_vertical_new
<space>wnvVertical right split scratch buffersplit_vertical_new

z — View

KeyDescriptionCommand
zcClose the innermost foldfold_close
zoOpen the fold at each cursorfold_open
zaToggle the fold at each cursorfold_toggle
zfFold selected linesfold_selection
zCClose all foldsfold_all
zOOpen all foldsunfold_all
zAOpen all folds if any are closed, otherwise close all foldsfold_toggle_all
zzScroll vertically to center the primary cursorcenter_view_vertically
ztAlign view topalign_view_top
zbAlign view bottomalign_view_bottom
zmScroll horizontally to center the primary cursorcenter_view_horizontally
zkScroll view upscroll_up
z<up>Scroll view upscroll_up
zjScroll view downscroll_down
z<down>Scroll view downscroll_down
z<C-b>Move page uppage_up
z<pageup>Move page uppage_up
z<C-f>Move page downpage_down
z<pagedown>Move page downpage_down
z<C-u>Move page and cursor half uppage_cursor_half_up
z<backspace>Move page and cursor half uppage_cursor_half_up
z<C-d>Move page and cursor half downpage_cursor_half_down
z<space>Move page and cursor half downpage_cursor_half_down
z/Search forward for regex patternsearch_forward
z?Search backward for regex patternsearch_backward
znSelect next search matchsearch_next
zNSelect previous search matchsearch_previous

Z — View

KeyDescriptionCommand
ZcClose the innermost foldfold_close
ZoOpen the fold at each cursorfold_open
ZaToggle the fold at each cursorfold_toggle
ZfFold selected linesfold_selection
ZCClose all foldsfold_all
ZOOpen all foldsunfold_all
ZAOpen all folds if any are closed, otherwise close all foldsfold_toggle_all
ZzScroll vertically to center the primary cursorcenter_view_vertically
ZtAlign view topalign_view_top
ZbAlign view bottomalign_view_bottom
ZmScroll horizontally to center the primary cursorcenter_view_horizontally
ZkScroll view upscroll_up
Z<up>Scroll view upscroll_up
ZjScroll view downscroll_down
Z<down>Scroll view downscroll_down
Z<C-b>Move page uppage_up
Z<pageup>Move page uppage_up
Z<C-f>Move page downpage_down
Z<pagedown>Move page downpage_down
Z<C-u>Move page and cursor half uppage_cursor_half_up
Z<backspace>Move page and cursor half uppage_cursor_half_up
Z<C-d>Move page and cursor half downpage_cursor_half_down
Z<space>Move page and cursor half downpage_cursor_half_down
Z/Search forward for regex patternsearch_forward
Z?Search backward for regex patternsearch_backward
ZnSelect next search matchsearch_next
ZNSelect previous search matchsearch_previous

Insert mode

Press i in normal mode to enter insert mode. An insert session normally forms one undo step when you return to normal mode. Ctrl-s starts another undo step without leaving insert mode; see Macros and undo.

Tab uses smart tab. To disable a binding, map it to no_op in [keys.insert].

KeyDescriptionCommand
<esc>Enter normal modenormal_mode
<C-s>Start a new undo step without leaving insert modecommit_undo_checkpoint
<C-x>Invoke completion popupcompletion
<C-r>Insert registerinsert_register
<C-w>Delete previous worddelete_word_backward
<A-backspace>Delete previous worddelete_word_backward
<A-d>Delete next worddelete_word_forward
<A-del>Delete next worddelete_word_forward
<C-u>Delete till start of linekill_to_line_start
<C-k>Delete till end of linekill_to_line_end
<C-h>Delete previous chardelete_char_backward
<backspace>Delete previous chardelete_char_backward
<S-backspace>Delete previous chardelete_char_backward
<C-d>Delete next chardelete_char_forward
<del>Delete next chardelete_char_forward
<C-j>Insert newline charinsert_newline
<ret>Insert newline charinsert_newline
<tab>Insert tab if all cursors have all whitespace to their left; otherwise, run a separate command.smart_tab
<S-tab>Insert tab charinsert_tab
<up>Move upmove_visual_line_up
<down>Move downmove_visual_line_down
<left>Move leftmove_char_left
<right>Move rightmove_char_right
<pageup>Move page uppage_up
<pagedown>Move page downpage_down
<home>Go to line startgoto_line_start
<end>Go to newline at line endgoto_line_end_newline

Select / extend mode

Press v in normal mode to enter select mode. Motions extend selections rather than replace them; vgl, for example, extends to the end of the line. Searching with n or N keeps the current selection and adds the next match.

KeyDescriptionCommand
hExtend leftextend_char_left
<left>Extend leftextend_char_left
jExtend downextend_visual_line_down
<down>Extend downextend_visual_line_down
kExtend upextend_visual_line_up
<up>Extend upextend_visual_line_up
lExtend rightextend_char_right
<right>Extend rightextend_char_right
tExtend till next occurrence of charextend_till_next_char
fExtend to next occurrence of charextend_next_char
TExtend till previous occurrence of charextend_till_previous_char
FExtend to previous occurrence of charextend_previous_char
rReplace each selected grapheme with a characterreplace_char
<A-r>Replace selections with entered textreplace
RReplace with yanked textreplace_with_yanked
<A-.>Repeat last motionrepeat_last_motion
~Switch (toggle) caseswitch_case
`CasePrefix
<A-`>Switch to uppercaseswitch_to_uppercase
<home>Extend to line startextend_to_line_start
<end>Extend to line endextend_to_line_end
wExtend to start of next wordextend_next_word_start
bExtend to start of previous wordextend_previous_word_start
eExtend to end of next wordextend_next_word_end
WExtend to start of next long wordextend_next_long_word_start
BExtend to start of previous long wordextend_previous_long_word_start
EExtend to end of next long wordextend_next_long_word_end
vEnter normal modenormal_mode
GGo to linegoto_line
gGotoPrefix
:Enter command modecommand_mode
<A-q>Add current location to quicklistadd_to_quicklist
iInsert before selectioninsert_mode
IInsert at start of lineinsert_at_line_start
aAppend after selectionappend_mode
AInsert at end of lineinsert_at_line_end
oOpen new line below selectionopen_below
OOpen new line above selectionopen_above
dDelete selectiondelete_selection
<A-d>Delete selection without yankingdelete_selection_noyank
<ret>Jump from a diff review to its source locationvcs_diff_open_source
cChange selectionchange_selection
<A-c>Change selection without yankingchange_selection_noyank
CCopy selection on next linecopy_selection_on_next_line
<A-C>Copy selection on previous linecopy_selection_on_previous_line
sSelect all regex matches inside selectionsselect_regex
<A-s>Split selection on newlinessplit_selection_on_newline
<A-minus>Merge selectionsmerge_selections
<A-_>Merge consecutive selectionsmerge_consecutive_selections
SSplit selections on regex matchessplit_selection
;Collapse selection into single cursorcollapse_selection
<A-;>Flip selection cursor and anchorflip_selections
<A-o>Expand selection to enclosing structureexpand_selection
<A-up>Expand selection to enclosing structureexpand_selection
<A-i>Shrink selection to previously expanded structureshrink_selection
<A-down>Shrink selection to previously expanded structureshrink_selection
<A-I>Select all children of the current nodeselect_all_children
<S-A-down>Select all children of the current nodeselect_all_children
<A-p>Select previous sibling in the syntax treeselect_previous_sibling
<A-left>Select previous sibling in the syntax treeselect_previous_sibling
<A-n>Select next sibling in the syntax treeselect_next_sibling
<A-right>Select next sibling in the syntax treeselect_next_sibling
<A-e>Extend to end of the parent nodeextend_parent_node_end
<A-b>Extend to beginning of the parent nodeextend_parent_node_start
<A-a>Select all siblings of the current nodeselect_all_siblings
%Select whole documentselect_all
xSelect current line, if already selected, extend to next lineextend_line_below
XExtend selection to line boundsextend_to_line_bounds
<A-x>Shrink selection to line boundsshrink_to_line_bounds
mMatchPrefix
[Left bracketPrefix
]Right bracketPrefix
/Search forward for regex patternsearch_forward
?Search backward for regex patternsearch_backward
nAdd next search match to selectionextend_search_next
NAdd previous search match to selectionextend_search_previous
*Use current selection as the search pattern, automatically wrapping with \b on word boundariessearch_selection_detect_word_boundaries
<A-*>Use current selection as search patternsearch_selection
uUndo changeundo
URedo changeredo
<A-u>Go to previous selectionundo_selection
<A-U>Go to next selectionredo_selection
yYank selectionyank
pPaste after selectionpaste_after
PPaste before selectionpaste_before
QRecord macrorecord_macro
qReplay macroreplay_macro
<gt>Indent selectionindent
<lt>Unindent selectionunindent
=Format selectionformat_selections
JJoin lines inside selectionjoin_lines
<A-J>Join lines inside selection and select spacesjoin_lines_and_select_spaces
KKeep selections matching regexkeep_selections
<A-K>Remove selections matching regexremove_selections
,Keep primary selectionkeep_primary_selection
<A-,>Remove primary selectionremove_primary_selection
&Align selections in columnalign_selections
_Trim whitespace from selectionstrim_selections
(Make the previous selection primarycycle_primary_selection_backward
)Make the next selection primarycycle_primary_selection_forward
<A-(>Rotate selections contents backwardrotate_selection_contents_backward
<A-)>Rotate selection contents forwardrotate_selection_contents_forward
<A-:>Ensure all selections face forwardensure_selections_forward
<esc>Exit selection modeexit_select_mode
<C-b>Move page uppage_up
<pageup>Move page uppage_up
<C-e>Switch focus between editor and file explorer sidebarswitch_sidebar_focus
<C-f>Move page downpage_down
<pagedown>Move page downpage_down
<C-u>Move page and cursor half uppage_cursor_half_up
<C-d>Move page and cursor half downpage_cursor_half_down
<C-k>Move current line selection upmove_lines_up
<C-j>Move current line selection downmove_lines_down
<C-w>WindowPrefix
<C-c>Comment/uncomment selectionstoggle_comments
<C-i>Jump forward on jumplistjump_forward
<tab>Jump forward on jumplistjump_forward
<C-o>Jump backward on jumplistjump_backward
<C-s>Record current selections in the jumplistsave_selection
<space>SpacePrefix
zViewPrefix
ZView (sticky; Escape to exit)Prefix
"Select registerselect_register
|Pipe selections through shell commandshell_pipe
<A-|>Pipe selections into shell command ignoring outputshell_pipe_to
!Insert shell command output before selectionsshell_insert_output
<A-!>Append shell command output after selectionsshell_append_output
$Filter selections with shell predicateshell_keep_pipe
<C-z>Suspend and return to shellsuspend
<C-a>Increment item under cursorincrement
<C-x>Decrement item under cursordecrement

` — Case

KeyDescriptionCommand
`aSwitch (toggle) caseswitch_case
`lSwitch to lowercaseswitch_to_lowercase
`uSwitch to uppercaseswitch_to_uppercase
`cSwitch to lowerCamelCaseswitch_to_lower_camel_case
`pSwitch to UpperCamelCaseswitch_to_upper_camel_case
`sSwitch to snake_caseswitch_to_snake_case
`SSwitch to SHOUTY_SNAKE_CASEswitch_to_shouty_snake_case
`kSwitch to kebab-caseswitch_to_kebab_case
`KSwitch to SHOUTY-KEBAB-CASEswitch_to_shouty_kebab_case
`tSwitch to Title Caseswitch_to_title_case
`TSwitch to Train-Caseswitch_to_train_case

g — Goto

KeyDescriptionCommand
ggExtend to line number <n> else file startextend_to_file_start
g|Extend to columnextend_to_column
geExtend to last lineextend_to_last_line
gfGo to files/URLs in selectionsgoto_file
ghGo to line startgoto_line_start
glGo to line endgoto_line_end
gsGo to first non-blank in linegoto_first_nonwhitespace
gdGo to definitiongoto_definition
gDGo to declarationgoto_declaration
gyGo to type definitiongoto_type_definition
grGo to referencesgoto_reference
giGo to implementationgoto_implementation
gtGo to window topgoto_window_top
gcGo to window centergoto_window_center
gbGo to window bottomgoto_window_bottom
gaGo to last accessed filegoto_last_accessed_file
gmGo to last modified filegoto_last_modified_file
gnGo to next buffergoto_next_buffer
gpGo to previous buffergoto_previous_buffer
gkExtend upextend_line_up
gjExtend downextend_line_down
g.Go to last modificationgoto_last_modification
g<minus>Move backward in historyearlier
g+Move forward in historylater
gwExtend to a two-character labelextend_to_word

m — Match

KeyDescriptionCommand
mmGo to matching bracketmatch_brackets
msSurround addsurround_add
mrSurround replacesurround_replace
mdSurround deletesurround_delete
maSelect around objectselect_textobject_around
miSelect inside objectselect_textobject_inner
mASelect all textobjects around selectionsselect_all_textobjects_around
mISelect all textobjects inside selectionsselect_all_textobjects_inner

[ — Left bracket

KeyDescriptionCommand
[dGo to previous diagnosticgoto_previous_diagnostic
[sGo to previous spelling findinggoto_previous_spelling
[qGo to previous quicklist entrygoto_previous_quicklist
[DGo to first diagnosticgoto_first_diagnostic
[gGo to previous changevcs_goto_previous_change
[mGo to the previous unresolved conflictvcs_goto_previous_conflict
[GGo to first changevcs_goto_first_change
[lGo to previous quicklist entry in current filegoto_previous_file_quicklist
[fGo to previous functiongoto_previous_function
[tGo to previous type definitiongoto_previous_class
[aGo to previous parametergoto_previous_parameter
[cGo to previous commentgoto_previous_comment
[eGo to previous pairinggoto_previous_entry
[TGo to previous testgoto_previous_test
[pGo to previous paragraphgoto_previous_paragraph
[xGo to previous (X)HTML elementgoto_previous_xml_element
[<space>Add newline aboveadd_newline_above

] — Right bracket

KeyDescriptionCommand
]dGo to next diagnosticgoto_next_diagnostic
]sGo to next spelling findinggoto_next_spelling
]qGo to next quicklist entrygoto_next_quicklist
]DGo to last diagnosticgoto_last_diagnostic
]gGo to next changevcs_goto_next_change
]mGo to the next unresolved conflictvcs_goto_next_conflict
]GGo to last changevcs_goto_last_change
]lGo to next quicklist entry in current filegoto_next_file_quicklist
]fGo to next functiongoto_next_function
]tGo to next type definitiongoto_next_class
]aGo to next parametergoto_next_parameter
]cGo to next commentgoto_next_comment
]eGo to next pairinggoto_next_entry
]TGo to next testgoto_next_test
]pGo to next paragraphgoto_next_paragraph
]xGo to next (X)HTML elementgoto_next_xml_element
]<space>Add newline belowadd_newline_below

<C-w> — Window

KeyDescriptionCommand
<C-w>bToggle file explorer sidebartoggle_sidebar
<C-w>eOpen and focus file explorer sidebarfocus_sidebar
<C-w><C-w>Go to next windowrotate_view
<C-w>wGo to next windowrotate_view
<C-w>WGo to previous windowrotate_view_reverse
<C-w><C-s>Horizontal bottom splitsplit_horizontal
<C-w>sHorizontal bottom splitsplit_horizontal
<C-w><C-v>Vertical right splitsplit_vertical
<C-w>vVertical right splitsplit_vertical
<C-w><C-t>Transpose splitstranspose_view
<C-w>tTranspose splitstranspose_view
<C-w>rResize windows (Enter to confirm, Escape to cancel)resize_mode
<C-w>=Make all splits the same sizeequalize_views
<C-w>fOpen files in selections in a horizontal splitgoto_file_in_horizontal_split
<C-w>FOpen files in selections in a vertical splitgoto_file_in_vertical_split
<C-w><C-q>Close current viewclose_view
<C-w>qClose current viewclose_view
<C-w><C-o>Close views except currentclose_other_views
<C-w>oClose views except currentclose_other_views
<C-w><C-h>Jump to left splitjump_view_left
<C-w>hJump to left splitjump_view_left
<C-w><left>Jump to left splitjump_view_left
<C-w><C-j>Jump to split belowjump_view_down
<C-w>jJump to split belowjump_view_down
<C-w><down>Jump to split belowjump_view_down
<C-w><C-k>Jump to split abovejump_view_up
<C-w>kJump to split abovejump_view_up
<C-w><up>Jump to split abovejump_view_up
<C-w><C-l>Jump to right splitjump_view_right
<C-w>lJump to right splitjump_view_right
<C-w><right>Jump to right splitjump_view_right
<C-w>LSwap with right splitswap_view_right
<C-w><S-right>Swap with right splitswap_view_right
<C-w>KSwap with split aboveswap_view_up
<C-w><S-up>Swap with split aboveswap_view_up
<C-w>HSwap with left splitswap_view_left
<C-w><S-left>Swap with left splitswap_view_left
<C-w>JSwap with split belowswap_view_down
<C-w><S-down>Swap with split belowswap_view_down
<C-w>nNew split scratch bufferPrefix

<C-w>n — New split scratch buffer

KeyDescriptionCommand
<C-w>n<C-s>Horizontal bottom split scratch buffersplit_horizontal_new
<C-w>nsHorizontal bottom split scratch buffersplit_horizontal_new
<C-w>n<C-v>Vertical right split scratch buffersplit_vertical_new
<C-w>nvVertical right split scratch buffersplit_vertical_new

<space> — Space

KeyDescriptionCommand
<space>fOpen file pickerfile_picker
<space>FOpen file picker at current buffer’s directoryfile_picker_in_current_buffer_directory
<space>eOpen file explorer in workspace rootfile_explorer
<space>EOpen file explorer at current buffer’s directoryfile_explorer_in_current_buffer_directory
<space>bOpen buffer pickerbuffer_picker
<space>jOpen jumplist pickerjumplist_picker
<space>qOpen quicklist pickerquicklist_picker
<space>sOpen symbol picker from LSP or syntax informationlsp_or_syntax_symbol_picker
<space>SOpen workspace symbol picker from LSP or syntax informationlsp_or_syntax_workspace_symbol_picker
<space>dOpen diagnostic pickerdiagnostics_picker
<space>DOpen workspace diagnostic pickerworkspace_diagnostics_picker
<space>gVersion controlPrefix
<space>aPerform code actioncode_action
<space>lShow code lenses under cursorshow_code_lenses_under_cursor
<space>'Open last pickerlast_picker
<space>xDebugPrefix
<space>XDebug (sticky; Escape to exit)Prefix
<space>wWindowPrefix
<space>yYank selections to clipboardyank_to_clipboard
<space>YYank primary selection to clipboardyank_primary_selection_to_clipboard
<space>pPaste clipboard after selectionspaste_clipboard_after
<space>PPaste clipboard before selectionspaste_clipboard_before
<space>RReplace selections by clipboard contentreplace_selections_with_clipboard
<space>/Search text in the current working directorysearch_picker_in_current_working_directory
<space>kShow docs for item under cursorhover
<space>KShow docs for item under cursor in a new buffergoto_hover
<space>rRename symbolrename_symbol
<space>hSelect symbol referencesselect_references_to_symbol_under_cursor
<space>cComment/uncomment selectionstoggle_comments
<space>CBlock comment/uncomment selectionstoggle_block_comments
<space><A-c>Line comment/uncomment selectionstoggle_line_comments
<space>?Open command palettecommand_palette

<space>g — Version control

KeyDescriptionCommand
<space>gsBrowse changed filesvcs_changed_file_picker
<space>gdShow file diffvcs_diff
<space>gfBrowse file historyvcs_file_history_picker
<space>glBrowse commitsvcs_history_picker
<space>gbShow line blamevcs_blame_line
<space>giShow hunk diffvcs_show_change
<space>gtToggle inline blamevcs_toggle_inline_blame
<space>gSBrowse stashesvcs_stash_picker

<space>x — Debug

KeyDescriptionCommand
<space>xlChoose a launch configuration and start debuggingdebug_launch_picker
<space>xrRestart debugging sessiondebug_restart
<space>xbToggle breakpointsdebug_toggle_breakpoints
<space>xcContinue program executiondebug_continue
<space>xhPause program executiondebug_pause
<space>xiStep indebug_step_in
<space>xoStep outdebug_step_out
<space>xnStep over the current statementdebug_step_over
<space>xvBrowse variablesdebug_variables
<space>xtEnd debug sessiondebug_terminate
<space>xBBreakpoint settingsPrefix
<space>xsSwitchPrefix
<space>xeEnable exception breakpointsdebug_enable_exception_breakpoints
<space>xEDisable exception breakpointsdebug_disable_exception_breakpoints
<space>xB — Breakpoint settings
KeyDescriptionCommand
<space>xBcEdit breakpoint condition on current linedebug_edit_breakpoint_condition
<space>xBlEdit breakpoint log message on current linedebug_edit_breakpoint_log_message
<space>xs — Switch
KeyDescriptionCommand
<space>xssOpen debug session pickerdebug_session_picker
<space>xstChoose the current debug threaddebug_thread_picker
<space>xsfOpen debug stack frame pickerdebug_stack_frame_picker

<space>X — Debug

KeyDescriptionCommand
<space>XlChoose a launch configuration and start debuggingdebug_launch_picker
<space>XrRestart debugging sessiondebug_restart
<space>XbToggle breakpointsdebug_toggle_breakpoints
<space>XcContinue program executiondebug_continue
<space>XhPause program executiondebug_pause
<space>XiStep indebug_step_in
<space>XoStep outdebug_step_out
<space>XnStep over the current statementdebug_step_over
<space>XvBrowse variablesdebug_variables
<space>XtEnd debug sessiondebug_terminate
<space>XBBreakpoint settingsPrefix
<space>XsSwitchPrefix
<space>XeEnable exception breakpointsdebug_enable_exception_breakpoints
<space>XEDisable exception breakpointsdebug_disable_exception_breakpoints
<space>XB — Breakpoint settings
KeyDescriptionCommand
<space>XBcEdit breakpoint condition on current linedebug_edit_breakpoint_condition
<space>XBlEdit breakpoint log message on current linedebug_edit_breakpoint_log_message
<space>Xs — Switch
KeyDescriptionCommand
<space>XssOpen debug session pickerdebug_session_picker
<space>XstChoose the current debug threaddebug_thread_picker
<space>XsfOpen debug stack frame pickerdebug_stack_frame_picker

<space>w — Window

KeyDescriptionCommand
<space>wbToggle file explorer sidebartoggle_sidebar
<space>weOpen and focus file explorer sidebarfocus_sidebar
<space>w<C-w>Go to next windowrotate_view
<space>wwGo to next windowrotate_view
<space>wWGo to previous windowrotate_view_reverse
<space>w<C-s>Horizontal bottom splitsplit_horizontal
<space>wsHorizontal bottom splitsplit_horizontal
<space>w<C-v>Vertical right splitsplit_vertical
<space>wvVertical right splitsplit_vertical
<space>w<C-t>Transpose splitstranspose_view
<space>wtTranspose splitstranspose_view
<space>wrResize windows (Enter to confirm, Escape to cancel)resize_mode
<space>w=Make all splits the same sizeequalize_views
<space>wfOpen files in selections in a horizontal splitgoto_file_in_horizontal_split
<space>wFOpen files in selections in a vertical splitgoto_file_in_vertical_split
<space>w<C-q>Close current viewclose_view
<space>wqClose current viewclose_view
<space>w<C-o>Close views except currentclose_other_views
<space>woClose views except currentclose_other_views
<space>w<C-h>Jump to left splitjump_view_left
<space>whJump to left splitjump_view_left
<space>w<left>Jump to left splitjump_view_left
<space>w<C-j>Jump to split belowjump_view_down
<space>wjJump to split belowjump_view_down
<space>w<down>Jump to split belowjump_view_down
<space>w<C-k>Jump to split abovejump_view_up
<space>wkJump to split abovejump_view_up
<space>w<up>Jump to split abovejump_view_up
<space>w<C-l>Jump to right splitjump_view_right
<space>wlJump to right splitjump_view_right
<space>w<right>Jump to right splitjump_view_right
<space>wLSwap with right splitswap_view_right
<space>w<S-right>Swap with right splitswap_view_right
<space>wKSwap with split aboveswap_view_up
<space>w<S-up>Swap with split aboveswap_view_up
<space>wHSwap with left splitswap_view_left
<space>w<S-left>Swap with left splitswap_view_left
<space>wJSwap with split belowswap_view_down
<space>w<S-down>Swap with split belowswap_view_down
<space>wnNew split scratch bufferPrefix
<space>wn — New split scratch buffer
KeyDescriptionCommand
<space>wn<C-s>Horizontal bottom split scratch buffersplit_horizontal_new
<space>wnsHorizontal bottom split scratch buffersplit_horizontal_new
<space>wn<C-v>Vertical right split scratch buffersplit_vertical_new
<space>wnvVertical right split scratch buffersplit_vertical_new

z — View

KeyDescriptionCommand
zcClose the innermost foldfold_close
zoOpen the fold at each cursorfold_open
zaToggle the fold at each cursorfold_toggle
zfFold selected linesfold_selection
zCClose all foldsfold_all
zOOpen all foldsunfold_all
zAOpen all folds if any are closed, otherwise close all foldsfold_toggle_all
zzScroll vertically to center the primary cursorcenter_view_vertically
ztAlign view topalign_view_top
zbAlign view bottomalign_view_bottom
zmScroll horizontally to center the primary cursorcenter_view_horizontally
zkScroll view upscroll_up
z<up>Scroll view upscroll_up
zjScroll view downscroll_down
z<down>Scroll view downscroll_down
z<C-b>Move page uppage_up
z<pageup>Move page uppage_up
z<C-f>Move page downpage_down
z<pagedown>Move page downpage_down
z<C-u>Move page and cursor half uppage_cursor_half_up
z<backspace>Move page and cursor half uppage_cursor_half_up
z<C-d>Move page and cursor half downpage_cursor_half_down
z<space>Move page and cursor half downpage_cursor_half_down
z/Search forward for regex patternsearch_forward
z?Search backward for regex patternsearch_backward
znSelect next search matchsearch_next
zNSelect previous search matchsearch_previous

Z — View

KeyDescriptionCommand
ZcClose the innermost foldfold_close
ZoOpen the fold at each cursorfold_open
ZaToggle the fold at each cursorfold_toggle
ZfFold selected linesfold_selection
ZCClose all foldsfold_all
ZOOpen all foldsunfold_all
ZAOpen all folds if any are closed, otherwise close all foldsfold_toggle_all
ZzScroll vertically to center the primary cursorcenter_view_vertically
ZtAlign view topalign_view_top
ZbAlign view bottomalign_view_bottom
ZmScroll horizontally to center the primary cursorcenter_view_horizontally
ZkScroll view upscroll_up
Z<up>Scroll view upscroll_up
ZjScroll view downscroll_down
Z<down>Scroll view downscroll_down
Z<C-b>Move page uppage_up
Z<pageup>Move page uppage_up
Z<C-f>Move page downpage_down
Z<pagedown>Move page downpage_down
Z<C-u>Move page and cursor half uppage_cursor_half_up
Z<backspace>Move page and cursor half uppage_cursor_half_up
Z<C-d>Move page and cursor half downpage_cursor_half_down
Z<space>Move page and cursor half downpage_cursor_half_down
Z/Search forward for regex patternsearch_forward
Z?Search backward for regex patternsearch_backward
ZnSelect next search matchsearch_next
ZNSelect previous search matchsearch_previous

Component bindings

The tables below use the action names accepted by component key remapping. Prompt bindings also work in pickers, except where they conflict with picker bindings. Buffer pickers use their own binding table. Popups use the popup bindings together with their specific hover, signature-help, or blame bindings. In the completion menu, other typing accepts the completion and continues inserting text.

Picker

KeyAction
<ret>accept
<C-s>accept_horizontal_split
<A-ret>accept_keep_open
<C-v>accept_vertical_split
<C-c>, <esc>cancel
<C-n>, <tab>, <down>move_down
<end>move_end
<home>move_start
<up>, <C-p>, <S-tab>move_up
<A-a>open_all
<A-o>open_preview
<C-d>, <pagedown>page_down
<C-u>, <pageup>page_up
<C-q>populate_quicklist
<A-j>, <A-down>preview_scroll_down
<A-k>, <A-up>preview_scroll_up
<C-ret>, <Meta-ret>replace_all
<A-c>toggle_case_sensitive
<C-l>toggle_loading
<C-t>toggle_preview
<A-r>toggle_replacement

Buffer picker

KeyAction
<ret>accept
<C-s>accept_horizontal_split
<A-ret>accept_keep_open
<C-v>accept_vertical_split
<C-c>, <esc>cancel
<C-n>, <tab>, <down>move_down
<end>move_end
<home>move_start
<up>, <C-p>, <S-tab>move_up
<A-a>open_all
<A-o>open_preview
<C-d>, <pagedown>page_down
<C-u>, <pageup>page_up
<C-q>populate_quicklist
<A-j>, <A-down>preview_scroll_down
<A-k>, <A-up>preview_scroll_up
<C-ret>, <Meta-ret>replace_all
<A-c>toggle_case_sensitive
<C-l>toggle_loading
<C-t>toggle_preview
<A-r>toggle_replacement

Quicklist picker

KeyAction
<ret>accept
<C-s>accept_horizontal_split
<A-ret>accept_keep_open
<C-v>accept_vertical_split
<C-c>, <esc>cancel
<C-n>, <tab>, <down>move_down
<end>move_end
<home>move_start
<up>, <C-p>, <S-tab>move_up
<A-a>open_all
<A-o>open_preview
<C-d>, <pagedown>page_down
<C-u>, <pageup>page_up
<C-q>populate_quicklist
<A-j>, <A-down>preview_scroll_down
<A-k>, <A-up>preview_scroll_up
<C-x>remove_entry
<C-ret>, <Meta-ret>replace_all
<A-c>toggle_case_sensitive
<C-l>toggle_loading
<C-t>toggle_preview
<A-r>toggle_replacement

Git picker

KeyAction
<ret>accept
<C-s>accept_horizontal_split
<A-ret>accept_keep_open
<C-v>accept_vertical_split
<A-a>actions
<C-c>, <esc>cancel
<C-n>, <tab>, <down>move_down
<end>move_end
<home>move_start
<up>, <C-p>, <S-tab>move_up
<A-A>open_all
<A-o>open_preview
<C-d>, <pagedown>page_down
<C-u>, <pageup>page_up
<C-q>populate_quicklist
<A-n>preview_next
<A-p>preview_previous
<A-j>, <A-down>preview_scroll_down
<A-k>, <A-up>preview_scroll_up
<C-ret>, <Meta-ret>replace_all
<A-s>stage
<A-z>stash
<A-l>stashes
<A-c>toggle_case_sensitive
<C-l>toggle_loading
<C-t>toggle_preview
<A-r>toggle_replacement
<A-u>unstage

Branch picker

KeyAction
<ret>accept
<C-s>accept_horizontal_split
<A-ret>accept_keep_open
<C-v>accept_vertical_split
<C-c>, <esc>cancel
<A-n>create_branch
<A-d>delete_branch
<C-n>, <tab>, <down>move_down
<end>move_end
<home>move_start
<up>, <C-p>, <S-tab>move_up
<A-a>open_all
<A-o>open_preview
<C-d>, <pagedown>page_down
<C-u>, <pageup>page_up
<C-q>populate_quicklist
<A-j>, <A-down>preview_scroll_down
<A-k>, <A-up>preview_scroll_up
<C-ret>, <Meta-ret>replace_all
<A-c>toggle_case_sensitive
<C-t>toggle_preview
<A-r>toggle_replacement

Worktree picker

KeyAction
<ret>accept
<C-s>accept_horizontal_split
<A-ret>accept_keep_open
<C-v>accept_vertical_split
<C-c>, <esc>cancel
<A-n>create_worktree
<A-l>lock_worktree
<C-n>, <tab>, <down>move_down
<end>move_end
<home>move_start
<up>, <C-p>, <S-tab>move_up
<A-a>open_all
<A-o>open_preview
<C-d>, <pagedown>page_down
<C-u>, <pageup>page_up
<C-q>populate_quicklist
<A-j>, <A-down>preview_scroll_down
<A-k>, <A-up>preview_scroll_up
<A-d>remove_worktree
<C-ret>, <Meta-ret>replace_all
<A-c>toggle_case_sensitive
<C-t>toggle_preview
<A-r>toggle_replacement
<A-u>unlock_worktree

Stash picker

KeyAction
<ret>accept
<C-s>accept_horizontal_split
<A-ret>accept_keep_open
<C-v>accept_vertical_split
<A-a>actions
<A-s>apply_stash
<A-i>apply_stash_with_index
<C-c>, <esc>cancel
<C-n>, <tab>, <down>move_down
<end>move_end
<home>move_start
<up>, <C-p>, <S-tab>move_up
<A-o>open_preview
<C-d>, <pagedown>page_down
<C-u>, <pageup>page_up
<C-q>populate_quicklist
<A-j>, <A-down>preview_scroll_down
<A-k>, <A-up>preview_scroll_up
<C-ret>, <Meta-ret>replace_all
<A-c>toggle_case_sensitive
<C-l>toggle_loading
<C-t>toggle_preview
<A-r>toggle_replacement

History picker

KeyAction
<ret>accept
<C-s>accept_horizontal_split
<A-ret>accept_keep_open
<C-v>accept_vertical_split
<A-a>actions
<A-h>back
<C-c>, <esc>cancel
<C-n>, <tab>, <down>move_down
<end>move_end
<home>move_start
<up>, <C-p>, <S-tab>move_up
<A-o>open_preview
<C-d>, <pagedown>page_down
<C-u>, <pageup>page_up
<C-q>populate_quicklist
<A-j>, <A-down>preview_scroll_down
<A-k>, <A-up>preview_scroll_up
<C-ret>, <Meta-ret>replace_all
<A-c>toggle_case_sensitive
<C-l>toggle_loading
<C-t>toggle_preview
<A-r>toggle_replacement

File explorer

KeyAction
<ret>accept
<C-s>accept_horizontal_split
<A-ret>accept_keep_open
<C-v>accept_vertical_split
<C-c>, <esc>cancel
<A-c>copy_path
<A-n>create_path
<A-d>delete_path
<C-n>, <tab>, <down>move_down
<end>move_end
<A-m>move_path
<home>move_start
<up>, <C-p>, <S-tab>move_up
<A-a>open_all
<A-o>open_preview
<C-d>, <pagedown>page_down
<C-u>, <pageup>page_up
<C-q>populate_quicklist
<A-j>, <A-down>preview_scroll_down
<A-k>, <A-up>preview_scroll_up
<C-ret>, <Meta-ret>replace_all
<C-l>toggle_loading
<C-t>toggle_preview
<A-r>toggle_replacement
<A-y>yank_path
KeyAction
<ret>accept
<C-s>accept_horizontal_split
<A-ret>accept_keep_open
<C-v>accept_vertical_split
<C-c>, <esc>cancel
<A-c>copy_path
<A-n>create_path
<A-d>delete_path
/filter
<C-e>, <C-w>l, <C-w><C-l>, <C-w><right>focus_editor
zCfold_all
zcfold_close
zofold_open
zafold_toggle
q, <C-w>b, <C-w>q, <C-w><C-q>hide
j, <C-n>, <tab>, <down>move_down
ge, <end>move_end
<A-m>move_path
gg, <home>move_start
k, <up>, <C-p>, <S-tab>move_up
<C-w>w, <C-w><C-w>next_view
<A-a>open_all
<A-o>open_preview
<C-d>, <pagedown>page_down
<C-u>, <pageup>page_up
<C-q>populate_quicklist
<A-j>, <A-down>preview_scroll_down
<A-k>, <A-up>preview_scroll_up
<C-w>Wprevious_view
<C-ret>, <Meta-ret>replace_all
<C-w>rresize
<C-l>toggle_loading
<C-t>toggle_preview
<A-r>toggle_replacement
<A-y>yank_path
KeyAction
<ret>accept
<C-s>accept_horizontal_split
<A-ret>accept_keep_open
<C-v>accept_vertical_split
<C-c>, <esc>cancel
<A-c>copy_path
<A-n>create_path
<A-d>delete_path
<C-e>focus_editor
<C-n>, <tab>, <down>move_down
<end>move_end
<A-m>move_path
<home>move_start
<up>, <C-p>, <S-tab>move_up
<A-a>open_all
<A-o>open_preview
<C-d>, <pagedown>page_down
<C-u>, <pageup>page_up
<C-q>populate_quicklist
<A-j>, <A-down>preview_scroll_down
<A-k>, <A-up>preview_scroll_up
<C-ret>, <Meta-ret>replace_all
<C-l>toggle_loading
<C-t>toggle_preview
<A-r>toggle_replacement
<A-y>yank_path

Prompt

KeyAction
<ret>accept
<C-c>, <esc>cancel
<tab>complete_next
<S-tab>complete_previous
<C-h>, <backspace>, <S-backspace>delete_backward
<C-d>, <del>delete_forward
<C-k>delete_to_end
<C-u>, <Meta-backspace>delete_to_start
<C-w>, <A-backspace>, <C-backspace>delete_word_backward
<A-d>, <A-del>, <C-del>delete_word_forward
<C-q>exit_selection
<C-n>, <down>history_next
<up>, <C-p>history_previous
<C-r>insert_register
<C-s>insert_word
<C-e>, <end>, <C-end>, <Meta-right>move_end
<C-b>, <left>move_left
<C-f>, <right>move_right
<C-a>, <home>, <C-home>, <Meta-left>move_start
<A-right>move_word_end
<A-b>, <A-left>, <C-left>move_word_left
<A-f>, <C-right>move_word_right
<A-r>toggle_search_syntax

Completion menu

KeyAction
<ret>accept
<C-c>, <esc>cancel
<C-n>, <tab>, <down>move_down
<up>, <C-p>, <S-tab>move_up
<C-d>, <pagedown>page_down
<C-u>, <pageup>page_up
KeyAction
<C-c>, <esc>cancel
<C-d>, <pagedown>scroll_down
<C-u>, <pageup>scroll_up

Hover

KeyAction
<A-n>next
<A-p>previous

Signature-help popup

KeyAction
<A-n>next
<A-p>previous

Blame

KeyAction
ycopy_commit_id
Ycopy_message

Diff popup

KeyAction
rrestore
<left>scroll_left
<right>scroll_right