helix/helix-term/src
Daniel S Poulin 7711db3a3a
Adjust m textobject description and minor code clarification (#3343)
* Update description of `m` textobject to its actual functionality

Sometime recently the functionality of `m` was changed to match the
nearest pair to the cursor, rather than the former functionality of
matching the pair only if the cursor was on one of the brace characters
directly.

* Rename surround methods to reflect that they work on pairs

The current naming suggests that they may work generally on any
textobject, whereas their implementation really focuses on pairs.

* Change description of m textobject to match actual functionality

The current implementation of `m` no longer merely looks at the pair
character the cursor is on, but actually will search for the pair
(defined in helix-core/src/surround.rs) that encloses the cursor, and
not the entire selection.

* Accept suggested wording change

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Prefix pair surround for consistency

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2022-08-17 10:41:59 +09:00
..
commands Detect indent-style in :set-language (#3330) 2022-08-05 09:11:31 +09:00
keymap Remove C-n and C-p from the insert mode keymap (#3340) 2022-08-07 01:25:09 +09:00
ui remove duplicate entries from theme picker (#3439) 2022-08-16 00:18:04 +09:00
application.rs Add custom event type replacing crossterm's Event (#3169) 2022-08-09 10:31:26 +09:00
args.rs add a CLI flag for specifying config file location (#2666) 2022-08-04 13:05:52 +09:00
commands.rs Adjust m textobject description and minor code clarification (#3343) 2022-08-17 10:41:59 +09:00
compositor.rs Add custom event type replacing crossterm's Event (#3169) 2022-08-09 10:31:26 +09:00
config.rs Move top level lsp config to editor.lsp (#1868) 2022-03-28 10:11:52 +09:00
health.rs clipboard: add logging and healthcheck (#3271) 2022-07-31 17:05:34 +09:00
job.rs fix(command): write-quit: do not quit if write fails 2022-06-18 23:57:47 -04:00
keymap.rs Reuse menu::Item trait in picker (#2814) 2022-07-02 13:21:27 +02:00
lib.rs Add refresh-config and open-config command (#1803) 2022-03-25 18:05:20 +09:00
main.rs add a CLI flag for specifying config file location (#2666) 2022-08-04 13:05:52 +09:00