aboutsummaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorMichael Davis2023-07-11 16:15:38 +0000
committerBlaž Hrastnik2023-07-31 06:05:38 +0000
commitd4f9716fbc36bc20848b7be0b65551495fa52952 (patch)
tree5574db3e84ad0b07795146f3ddce09c0b4348747 /book
parent4555a6b4332b48384d4bccfef527d26060c34037 (diff)
Add yank_to_clipboard commands, bind to `<space>y` by default
The clipboard special registers are able to retain multiple selections and also join the value when copying it to the clipboard. So by default we should yank regularly to the '*' and '+' registers. That will have the same behavior for the clipboards but will allow pasting multiple selections if the clipboard doesn't change between yanks.
Diffstat (limited to 'book')
-rw-r--r--book/src/keymap.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md
index 153f3b64..5dc467f2 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -291,7 +291,7 @@ This layer is a kludge of mappings, mostly pickers.
| `w` | Enter [window mode](#window-mode) | N/A |
| `p` | Paste system clipboard after selections | `paste_clipboard_after` |
| `P` | Paste system clipboard before selections | `paste_clipboard_before` |
-| `y` | Join and yank selections to clipboard | `yank_joined_to_clipboard` |
+| `y` | Yank selections to clipboard | `yank_to_clipboard` |
| `Y` | Yank main selection to clipboard | `yank_main_selection_to_clipboard` |
| `R` | Replace selections by clipboard contents | `replace_selections_with_clipboard` |
| `/` | Global search in workspace folder | `global_search` |