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-view/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>
3 years ago
..
clipboard.rs log syntax highlighting init errors (#895) 3 years ago
document.rs Configurable auto pairs (#1624) 3 years ago
editor.rs Show infobox to hint textobjects with `mi` and `ma` (#1686) 3 years ago
graphics.rs Merge pull request #1154 from sudormrfbin/cursor-shape-new 3 years ago
gutter.rs Merge remote-tracking branch 'origin/master' into debug 3 years ago
info.rs Handle newlines in register infobox 3 years ago
input.rs Extract macro parsing to `helix-view` and add unit tests 3 years ago
keyboard.rs fix: Normalize backtab into shift-tab 3 years ago
lib.rs helix-term/commands: display buffer id in picker 3 years ago
macros.rs Simplify view/doc macros 3 years ago
theme.rs Put some tests behind #[cfg(test)] (#1459) 3 years ago
tree.rs helix-term/commands: implement buffer-close (bc, bclose) (#1035) 3 years ago
view.rs Merge remote-tracking branch 'origin/master' into debug 3 years ago