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-plus/helix-term/src
Daniel S Poulin b13d44156c
Show infobox to hint textobjects with `mi` and `ma` (#1686)
* Show infobox to hint textobjects with `mi` and `ma`

* Add note to infobox than any pair of characters will work too

The wording could probably be a little more clear, but I wanted to
keep it short but still accurate.

* Don't allocate a vec for the static help text

* Fix bug where `mi<esc>` would swallow next input and persist infobox

* Better help text for arbitrary pair matching in textobject selection

* Add way to add fake pending key data below status, use with `mi`/`ma`

This is a bit hacky as it makes use of global state which will end
up managed in multiple places, but has precedent in the way autoinfo
works. There should probably be a bigger refactor to handle this
kind of state better.

* Return early on anything other than `mi` and `ma` for autoinfo

* Remove "ascii" from help text with `mi` and `ma`

* Update helix-term/src/ui/editor.rs

Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
2 years ago
..
commands Alert if LSP is inactive when command is invoked (#1703) 2 years ago
ui Show infobox to hint textobjects with `mi` and `ma` (#1686) 2 years ago
application.rs Implement LSP `workspace/configuration` and `workspace/didChangeConfiguration` (#1684) 2 years ago
args.rs Fix bug when launching hx file.rs:10 (#1676) 2 years ago
commands.rs Show infobox to hint textobjects with `mi` and `ma` (#1686) 2 years ago
compositor.rs Close some popups automatically (#1285) 2 years ago
config.rs Put some tests behind #[cfg(test)] (#1459) 3 years ago
job.rs Don't use block_on in jobs.finish(), we can .await 2 years ago
keymap.rs feat(commands): command palette (#1400) 2 years ago
lib.rs Assume true color support on Windows 3 years ago
main.rs Allow specifying file start position (#445) 2 years ago