helix/helix-core/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
..
increment Resolve clippy lints (#3307) 2022-08-04 14:32:59 +09:00
auto_pairs.rs use main application event loop 2022-06-18 23:54:03 -04:00
chars.rs Temporarily turn on unicode-lines 2022-03-17 10:53:50 +09:00
comment.rs Fix toggle_comments command on multiple selections (#1882) 2022-04-05 10:01:58 +09:00
config.rs Add support for local language configuration (#1249) 2022-04-18 12:10:51 +09:00
diagnostic.rs Suport diagnostic code (#3096) 2022-07-26 10:26:50 +09:00
diff.rs Fix Clippy lints in tests (#1563) 2022-01-23 16:37:23 +09:00
graphemes.rs Improve Readability (#2639) 2022-06-01 12:01:37 -05:00
history.rs Improve Readability (#2639) 2022-06-01 12:01:37 -05:00
indent.rs Fix some typos (#2978) 2022-07-05 21:49:54 -05:00
lib.rs feat: make `move_vertically` aware of tabs and wide characters (#2620) 2022-06-22 01:36:36 +09:00
line_ending.rs Fix failing test with unicode-lines feature (#3455) 2022-08-17 10:37:34 +09:00
macros.rs Split parts of helix-term into helix-view. 2020-09-21 18:24:16 +09:00
match_brackets.rs Fix match brackets comment (#1346) 2021-12-24 07:27:31 +05:30
movement.rs respect count in treesitter movement (#3058) 2022-07-14 08:08:09 +08:00
object.rs Fix edge-case in tree-sitter expand_selection selection command (#2877) 2022-06-25 13:12:30 -05:00
path.rs Add workspace and document diagnostics picker (#2013) 2022-06-30 18:16:18 +09:00
position.rs feat: make `move_vertically` aware of tabs and wide characters (#2620) 2022-06-22 01:36:36 +09:00
register.rs fixes showing the last prompt on empty input (#2870) 2022-06-24 17:14:48 +02:00
search.rs Jump to the next number on the line before incrementing (#1778) 2022-04-01 22:14:37 +09:00
selection.rs Avoid copying fragments (#3136) 2022-08-04 14:44:43 +09:00
shellwords.rs Enable shellwords for Windows (with escaping disabled) (#2767) 2022-06-22 01:48:01 +09:00
state.rs Reduce State use a bit further 2021-08-26 09:21:07 +09:00
surround.rs Improve Readability (#2639) 2022-06-01 12:01:37 -05:00
syntax.rs Fix nondeterministic highlighting (#3275) 2022-08-05 09:12:14 +09:00
test.rs Remove usage of format ident feature from tests (#2028) 2022-04-08 21:26:50 +05:30
textobject.rs Adjust `m` textobject description and minor code clarification (#3343) 2022-08-17 10:41:59 +09:00
transaction.rs core: transaction: Resolve some TODOs 2022-03-03 17:04:25 +09:00
wrap.rs add reflow command (#2128) 2022-05-02 23:24:22 +09:00