Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-completion based on buffer #264

Closed
j4hangir opened this issue May 24, 2020 · 1 comment
Closed

Auto-completion based on buffer #264

j4hangir opened this issue May 24, 2020 · 1 comment

Comments

@j4hangir
Copy link

j4hangir commented May 24, 2020

Thanks for the ongoing impressive job, the terminal emulator is becoming better and better every day 👍

The only thing I miss as I used to work on my Mac with iTerm is its smart auto-completion feature, one could press a key and a drop-down box would open with suggestions from the buffer, say the line above:

>>>
>>> name=root
>>> echo $n<HOTKEY>

There, name would be one of the top suggestions (pre-selected, similar to autocompletion in Fish)

I think implementing this wouldn't be that difficult, given that the buffer is readily available and it'd be merely a matter of ordering the suggestions based on their distance to the cursor + LD (Levenshtein distance). On the plus side, it's exceedingly a useful feature, reducing the strain on fingers to move and copy paste things around.

@sedwards2009
Copy link
Owner

Released in v0.58.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants