From bf6584739f21f37af3160f8e1081d27555dad65b Mon Sep 17 00:00:00 2001 From: Dmytro Maluka Date: Fri, 14 Jun 2024 00:49:51 +0200 Subject: [PATCH] help/keybindings: document CutLine behavior --- runtime/help/keybindings.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/runtime/help/keybindings.md b/runtime/help/keybindings.md index fb463d68..3178664d 100644 --- a/runtime/help/keybindings.md +++ b/runtime/help/keybindings.md @@ -274,6 +274,14 @@ Autocomplete The `StartOfTextToggle` and `SelectToStartOfTextToggle` actions toggle between jumping to the start of the text (first) and start of the line. +The `CutLine` action cuts the current line and adds it to the previously cut +lines in the clipboard since the last paste (rather than just replaces the +clipboard contents with this line). So you can cut multiple, not necessarily +consecutive lines to the clipboard just by pressing `Ctrl-k` multiple times, +without selecting them. If you want the more traditional behavior i.e. just +rewrite the clipboard every time, you can use `CopyLine,DeleteLine` action +instead of `CutLine`. + You can also bind some mouse actions (these must be bound to mouse buttons) ```