aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/surround.rs
Commit message (Collapse)AuthorAge
* Fix buggy surround behavior from #376.Nathan Vegdahl2021-08-04
| | | | Fixes #543.
* Switch to a cleaner range-head moving abstraction.Nathan Vegdahl2021-07-24
| | | | Also fix a bunch of bugs related to it.
* Update surround commands to work with gap indexing.Nathan Vegdahl2021-07-08
|
* Fix typo on comment in surroundIvan Tham2021-07-03
|
* Fix surround bug when cursor on same pairGokul Soumya2021-07-03
| | | | | | For example when the cursor is _on_ the `'` in `'word'`, the cursor wouldn't move because the search for a matching pair started _from_ the position of the cursor and simply found itself.
* Skip enclosed pairs in surroundGokul Soumya2021-06-24
| | | | | | | | | Surround operations previously ignored other pairs that are enclosed within which should be skipped. For example if the cursor is on the `,` in `{{a},{b}}`, doing `md{` previously would delete the `{` on the left of `a` and `}` on the right of `b` instead of the outermost braces. This commit corrects this behavior.
* Correctly identify pairs when cursor on pairGokul Soumya2021-06-22
|
* Refactor and add tests for surroundGokul Soumya2021-06-22
|
* Add more surround pair charactersGokul Soumya2021-06-22
|
* Add surround keybindsGokul Soumya2021-06-22