alacritty / alacritty

A cross-platform, OpenGL terminal emulator.
https://alacritty.org
Apache License 2.0
56.41k stars 3.03k forks source link

Whishlist: scrollback completion #8137

Closed trou closed 2 months ago

trou commented 2 months ago

Hello, first, thank you for alacritty, which is awesome. Having migrated from termite, there's just one killer feature that I'm missing: scrollback completion.

An example, one might want to type a long word resulting from a previous command:

$ grep long /usr/share/dict/american-english
[...]
longitudinally
[...]

instead of doing: searching, select, copy, paste, one could hit the "complete from scrollback" key, start typing and select the desired word with either a list or a hint.

The following recording shows how termite implements it.

simplescreenrecorder-2024-08-18_20.23.01.webm

I'd be happy to start PoC'ing an implementation, but I'd be very glad to have an opinion on which design is preferable and a (maybe) rough idea of the code arch.

chrisduerr commented 2 months ago

Not interested in this.