diff options
author | Ivan Tham | 2022-04-13 01:02:53 +0000 |
---|---|---|
committer | GitHub | 2022-04-13 01:02:53 +0000 |
commit | 62283fdadb762d77deaba7ff820fbdac0b2d3a3b (patch) | |
tree | bed99274678beba6d73a48939f90a0536d4829b5 /helix-tui/tests | |
parent | a0c6c45c1b5dc36f3c5151363d3f360bea388a99 (diff) |
Make textobject select last paragraph (#1992)
* Make textobject select last paragraph
Last paragraph shoud be selected if the cursor was placed on the
whitespace paragraph part and `map` is done, otherwise it would do
nothing useful, but now we select backwards for the last paragraph
which behaves similarly to kakoune, making `map` useful for the last
paragraph with whitespace. Example usecase is to copy and paste last
ledger cli paragraph quickly by `mapyp` to duplicate last entry.
* Fix typo in core textobject
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Diffstat (limited to 'helix-tui/tests')
0 files changed, 0 insertions, 0 deletions