User guide / Custom key bindings

Action name migration

Development reference · View source

In 0.5, actions belonging to a subject family use subject-first names. Replace old names in key bindings, sequences and { action: ... } entries using this table. Old names report their replacement; they are not aliases. The same change applies to colon commands whose spelling matches a row. Other colon spellings, such as :terminal and :terminal-file-directory, remain available. Default keys and action behavior do not change.

Core text operations and syntax text objects keep their names. Viewport, existing-selection and pane operations use view-, selection-/selections- and pane- names; syntax selection growth uses syntax-extend-selection. Ctrl-w, keys.window, UI actions and pointer action names stay unchanged. The four enter-*-mode actions are removed; use the replacement programs .

Old actionReplacement
select-registerregister-select
record-macromacro-record
record-default-macromacro-record-default
stop-macro-recordingmacro-stop-recording
replay-macromacro-replay
replay-default-macromacro-replay-default
list-macrosmacro-list
global-searchsearch-workspace
global-search-regexsearch-workspace-regex
open-workspace-search-resultsearch-open-workspace-result
open-fuzzy-grepsearch-open-fuzzy-grep
expand-syntax-selectionsyntax-extend-selection
shrink-syntax-selectionsyntax-shrink-selection
document-outlinesyntax-document-outline
toggle-syntax-foldsyntax-toggle-fold
fold-all-syntaxsyntax-fold-all
unfold-all-syntaxsyntax-unfold-all
open-explorerdirectory-open
open-working-directory-explorerdirectory-open-working-directory
open-directory-file-pickerdirectory-open-file-picker
open-directory-fuzzy-grepdirectory-open-fuzzy-grep
open-directory-entrydirectory-open-entry
open-parent-directorydirectory-open-parent
refresh-directorydirectory-refresh
toggle-hidden-filesdirectory-toggle-hidden-files
toggle-directory-detailsdirectory-toggle-details
choose-explorer-orderdirectory-choose-order
open-explorer-systemdirectory-open-system
open-explorer-finderdirectory-open-finder
open-explorer-workspacedirectory-open-workspace
toggle-directory-treedirectory-tree-toggle
focus-directory-treedirectory-tree-focus
open-changed-filegit-open-changed-file
stage-all-changed-filesgit-stage-all-changed-files
checkout-branchgit-checkout-branch
create-branchgit-create-branch
delete-branchgit-delete-branch
open-git-conflictgit-open-conflict
pull-branchgit-pull-branch
push-branchgit-push-branch
open-worktreegit-open-worktree
create-worktreegit-create-worktree
create-new-worktreegit-create-new-worktree
remove-worktreegit-remove-worktree
next-git-network-pagegit-network-next-page
previous-git-network-pagegit-network-previous-page
next-git-log-pagegit-log-next-page
previous-git-log-pagegit-log-previous-page
open-git-commitgit-open-commit
open-terminalterminal-open
open-terminal-file-directoryterminal-open-file-directory
open-terminal-directory-rootterminal-open-directory-root
open-terminal-selected-directoryterminal-open-selected-directory
open-terminal-session-directoryterminal-open-session-directory
open-terminal-listterminal-open-list
show-terminalterminal-show
rename-terminalterminal-rename
leave-terminalterminal-leave
copy-terminal-outputterminal-copy-output
send-to-terminalterminal-send
previous-sessionsession-previous
next-running-sessionsession-next-running
previous-running-sessionsession-previous-running
open-session-directorysession-open-directory
open-explorer-sessionsession-open-explorer
open-session-destinationssession-open-destinations
page-upview-page-up
half-page-upview-page-up-half
scroll-view-upview-scroll-up
page-downview-page-down
half-page-downview-page-down-half
scroll-view-downview-scroll-down
align-view-centerview-align-center
align-view-topview-align-top
align-view-bottomview-align-bottom
align-view-middleview-align-middle
collapse-selectionselection-collapse
flip-selectionselection-flip
keep-primary-selectionselection-keep-primary
remove-primary-selectionselection-remove-primary
collapse-selection-startselection-collapse-start
collapse-selection-headselection-collapse-head
split-selection-at-line-endsselection-split-at-line-ends
split-selection-at-line-startsselection-split-at-line-starts
copy-selection-downselection-copy-down
copy-selection-down-paddedselection-copy-down-padded
copy-selection-upselection-copy-up
copy-selection-up-paddedselection-copy-up-padded
rotate-selection-forwardselection-rotate-forward
rotate-selection-contents-forwardselection-rotate-contents-forward
rotate-selection-backwardselection-rotate-backward
rotate-selection-contents-backwardselection-rotate-contents-backward
keep-matching-selectionsselections-keep-matching
remove-matching-selectionsselections-remove-matching
align-selectionsselections-align
trim-selectionsselections-trim
split-verticalpane-split-vertical
split-horizontalpane-split-horizontal
focus-window-leftpane-focus-left
move-window-leftpane-move-left
focus-window-downpane-focus-down
move-window-downpane-move-down
focus-window-uppane-focus-up
move-window-uppane-move-up
focus-window-rightpane-focus-right
move-window-rightpane-move-right
next-windowpane-next
swap-windowpane-swap
close-windowpane-close
only-windowpane-only
equalize-windowspane-equalize
syntax-expand-selectionsyntax-extend-selection