aboutsummaryrefslogtreecommitdiff
path: root/book/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-07-05 01:12:34 +0000
committerBlaž Hrastnik2021-07-05 01:12:34 +0000
commita4e28c6927e59cf08d056e9c9a74be095eae5f29 (patch)
treeae517e0e4b6a80988d2cf1086b8b5e95355d944f /book/src
parentd02bbb7baec13e4d3c7ae0094431f2a20526cf18 (diff)
Implement `X` as extend selection to line bounds
Diffstat (limited to 'book/src')
-rw-r--r--book/src/keymap.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md
index 6b7ccd11..c0c455d3 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -73,6 +73,7 @@
| `Alt-;` | Flip selection cursor and anchor |
| `%` | Select entire file |
| `x` | Select current line, if already selected, extend to next line |
+| `X` | Extend selection to line bounds (line-wise selection) |
| | Expand selection to parent syntax node TODO: pick a key |
| `J` | join lines inside selection |
| `K` | keep selections matching the regex TODO: overlapped by hover help |