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

Ghost text in cmdline completions #939

Open
andysazima opened this issue Jan 8, 2025 · 1 comment
Open

Ghost text in cmdline completions #939

andysazima opened this issue Jan 8, 2025 · 1 comment
Labels
feature New feature or request windows Module which displays UI

Comments

@andysazima
Copy link

Feature Description

Context

I like to run blink.cmp with supertab, auto show off, and ghost text on. I only bring up the completion menu when I want to look at documentation or need a specific autocomplete option. I usually type enough of the code that the first option works, or I keep typing until it does.

Request

I want to run blink same way within the command line. Currently, with my settings configuration, I only get ^I (and no ghost text) when I try to tab on the command line. I would expect tab to give me the first completion. If this is not possible, then allowing auto_show to have separate options for the editor and the command line would fix this.

Bug vs Feature

I think this could be categorized as both a bug and a feature request. The bug portion relates to the fact that tab should complete the first option and not return ^I. The feature request relates to adding ghost text to the command line and/or allowing for the command line to have a separate auto_show option from the editor.

This makes me wonder if it's possible to show the help page for the current completion selection in the command line like how documentation shows up in the editor... That might be another issue, though.

@andysazima andysazima added the feature New feature or request label Jan 8, 2025
@Saghen
Copy link
Owner

Saghen commented Jan 8, 2025

Are you using noice.nvim? I've been thinking it would be nice to have ghost text in that case, however it's not possible for the built-in cmdline

@Saghen Saghen changed the title Allow for supertab + auto_show=false + ghost_text.enabled = true in cmdline completions Ghost text in cmdline completions Jan 8, 2025
@Saghen Saghen added the windows Module which displays UI label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request windows Module which displays UI
Projects
None yet
Development

No branches or pull requests

2 participants