wez / wezterm

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
https://wezfurlong.org/wezterm/
Other
17.28k stars 781 forks source link

Add letter hints for selecting instances of saved searches #732

Closed rodolf0 closed 3 years ago

rodolf0 commented 3 years ago

Would it be feasible to provide letter hints while doing scrollback search for easier selection of snippets?

How would this work?

  1. When triggering a pre-configured search (as in https://wezfurlong.org/wezterm/scrollback.html#configuring-saved-searches), each highlight would be prefixed by an alphanumeric char. Example [a-z0-9]-<search-result>.
  2. Pressing the keyboard key for that char/hint would copy the instance of the search result directly. (Possibly exiting search mode and pasting it too)
wez commented 3 years ago

someone previously mentioned https://github.com/fcsonline/tmux-thumbs and I think it would be great to have something like this integrated in our search functionality

wez commented 3 years ago

I just pushed the first draft at this kind of feature; it will show up in the nightly builds in about 20-30 minutes depending on the platform.

To activate, press: CTRLSHIFTSPACE

TODO:

github-actions[bot] commented 1 year ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.