Skip to content

Commit bf65847

Browse files
committed
help/keybindings: document CutLine behavior
1 parent 68d6f43 commit bf65847

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

runtime/help/keybindings.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,14 @@ Autocomplete
274274
The `StartOfTextToggle` and `SelectToStartOfTextToggle` actions toggle between
275275
jumping to the start of the text (first) and start of the line.
276276

277+
The `CutLine` action cuts the current line and adds it to the previously cut
278+
lines in the clipboard since the last paste (rather than just replaces the
279+
clipboard contents with this line). So you can cut multiple, not necessarily
280+
consecutive lines to the clipboard just by pressing `Ctrl-k` multiple times,
281+
without selecting them. If you want the more traditional behavior i.e. just
282+
rewrite the clipboard every time, you can use `CopyLine,DeleteLine` action
283+
instead of `CutLine`.
284+
277285
You can also bind some mouse actions (these must be bound to mouse buttons)
278286

279287
```

0 commit comments

Comments
 (0)