diff options
author | Daniel S Poulin | 2022-05-22 01:33:11 +0000 |
---|---|---|
committer | GitHub | 2022-05-22 01:33:11 +0000 |
commit | 0c05447d49103e96fc21910d336bdc75ab96338d (patch) | |
tree | 2763895357e870ed766c039617ef6830a9e09b44 /book | |
parent | 5bcb31a6dfb007b31b6ba38c5a1455727904ba27 (diff) |
Add shrink equivalent of extend_to_line_bounds (#2450)
* Add shrink equivalent of extend_to_line_bounds
* Add a check for being past rope end in end position calc
* Include the EOL character in calculations
* Bind to `A-x` for now
* Document new keybind
Diffstat (limited to 'book')
-rw-r--r-- | book/src/keymap.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md index e56eeefc..25280d71 100644 --- a/book/src/keymap.md +++ b/book/src/keymap.md @@ -107,6 +107,7 @@ | `%` | Select entire file | `select_all` | | `x` | Select current line, if already selected, extend to next line | `extend_line` | | `X` | Extend selection to line bounds (line-wise selection) | `extend_to_line_bounds` | +| `Alt-x` | Shrink selection to line bounds (line-wise selection) | `shrink_to_line_bounds` | | `J` | Join lines inside selection | `join_selections` | | `K` | Keep selections matching the regex | `keep_selections` | | `Alt-K` | Remove selections matching the regex | `remove_selections` | |