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

Use TAB in -- command to complete partial option name #531

Closed
gwsw opened this issue Jun 18, 2024 · 4 comments
Closed

Use TAB in -- command to complete partial option name #531

gwsw opened this issue Jun 18, 2024 · 4 comments

Comments

@gwsw
Copy link
Owner

gwsw commented Jun 18, 2024

When setting options with long names, it would be nice to not have to type the whole name. TAB could cycle through option names in the -- command, similar to the way it works on filenames in the :e command.

@polluks
Copy link
Contributor

polluks commented Jun 19, 2024

Warp has already partial supported completion for less
https://docs.warp.dev/features/command-completions/completions#supported-completion-specs

@gwsw
Copy link
Owner Author

gwsw commented Jun 20, 2024

Thanks. To be clear, this issue is about adding TAB completion to the -- command inside less, not to the shell, since less cannot affect how the user's shell behaves.

@polluks
Copy link
Contributor

polluks commented Jun 21, 2024

Warp is not another shell, but a "modern, Rust-based terminal with AI built. Completions will suggest commands, option names, and path parameters".
2024: I don't know how this works, it's AI.

@gwsw
Copy link
Owner Author

gwsw commented Jun 26, 2024

Implemented in f800e8c in the post659 branch.

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