You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/helix-term/src
Gokul Soumya c68fe1f2a3
Add object selection (textobjects) (#385)
* Add textobjects for word

* Add textobjects for surround characters

* Apply clippy lints

* Remove ThisWordPrevBound in favor of PrevWordEnd

It's the same as PrevWordEnd except for taking the current char
into account, so use a "flag" to capture that usecase

* Add tests for PrevWordEnd movement

* Remove ThisWord* movements

They did not preserve anchor positions and were only used
for textobject boundary search anyway so replace them with
simple position finding functions

* Rewrite tests of word textobject

* Add tests for surround textobject

* Add textobject docs

* Refactor textobject word position functions

* Apply clippy lints on textobject

* Fix overflow error with textobjects
3 years ago
..
ui Fix unused variable, parameter, and `mut` warnings in helix-term. 3 years ago
application.rs Fix unused `Result` warnings in helix-term. 3 years ago
args.rs Address nightly clippy warnings 3 years ago
commands.rs Add object selection (textobjects) (#385) 3 years ago
compositor.rs Fix unused `Result` warnings in helix-term. 3 years ago
config.rs Remove #[allow(unused)] from helix-term, and fix unused imports. 3 years ago
job.rs Remove #[allow(unused)] from helix-term, and fix unused imports. 3 years ago
keymap.rs Remove #[allow(unused)] from helix-term, and fix unused imports. 3 years ago
lib.rs Remove #[allow(unused)] from helix-term, and fix unused imports. 3 years ago
main.rs Fix previous broken refactor key into helix-view 3 years ago