User guide / Bindable action reference

Editing actions

Development reference · View source

ActionModescountregisterextendargPositionDescription
append-afternormal, select————anyInsert after the selection
insert-line-startnormal, select————anyInsert at line start
insert-line-endnormal, select————anyInsert at line end
open-line-belownormal, select————anyOpen a line below
open-line-abovenormal, select————anyOpen a line above
replace-charnormal, select———one characteranyReplace selection with a character
surround-addnormal, select———one characteranySurround selections with a pair
surround-replacenormal, select———two charactersanyReplace the surrounding pair
surround-deletenormal, select———one characteranyDelete the surrounding pair
toggle-casenormal, select————anySwitch case of the selection
undonormal, selectrepeats———anyUndo the last change
redonormal, selectrepeats———anyRedo the last change
yanknormal, select—yes——anyYank the selection or character
yank-linenormal, select—yes——anyYank the lines the selection touches
paste-after-or-replacenormal, selectaddress or extentyes——anyReplace the selection, or paste after the caret
paste-afternormal, selectaddress or extentyes——anyPaste after the selection or caret
replace-with-registernormal, select—yes——anyReplace the selection or character
paste-beforenormal, selectaddress or extentyes——anyPaste before the selection
indentnormal, select————anyIndent the selected lines
unindentnormal, select————anyUnindent the selected lines
toggle-commentsnormal, select, insert, replace————anyComment or uncomment the selected lines
cut-selectionnormal, select—yes——anyYank, then delete the selection or character
cut-selection-for-changenormal, select—yes——anyYank, then change the selection or character
delete-selectionnormal, select————anyDelete the selection or character without yanking
delete-selection-for-changenormal, select————anyDelete without yanking, preserving the insertion seam and mode
trim-trailing-whitespacenormal, select————anyDelete trailing whitespace from every selected line
hard-wrapnormal, select————anyHard-wrap the selection
reflownormal, select————anyReflow paragraphs in the selection
insert-textnormal, select, insert, replace———required textanyInsert literal text at each caret
join-selectionsnormal, select———delimiterlast unless argJoin the selected lines with a typed delimiter
join-linesnormal, select————anyJoin the selected lines, or the line below, with a space
format-tablenormal, select————anyAlign the columns of the selected table
delete-word-backwardinsert, replace————anyDelete the previous word
delete-word-forwardinsert, replace————anyDelete the next word
delete-to-line-startinsert, replace————anyDelete to the start of the line
delete-to-line-endinsert, replace————anyDelete to the end of the line
delete-char-backwardinsert, replace————anyDelete the previous character
delete-char-forwardinsert, replace————anyDelete the next character
insert-newlineinsert, replace————anyInsert a new line
insert-indentinsert, replace————anyInsert configured indentation
insert-other-indentinsert, replace————anyInsert the other indentation style