Feature request: ghost text inline preview only when holding a modifier key #140

Open
opened 2025-05-24 14:21:52 -04:00 by HicaroD · 2 comments
HicaroD commented 2025-05-24 14:21:52 -04:00 (Migrated from github.com)

With Zed code editor, more specifically Edit's Prediction feature when mode is set to subtle, predictions appears inline only when holding a modifier key (for example Alt). I am wondering if it is possible to do with this plugin, if not, do you guys think it is a cool feature to have?

With Zed code editor, more specifically [Edit's Prediction](https://zed.dev/docs/ai/edit-prediction#switching-modes) feature when `mode` is set to `subtle`, predictions appears inline only when holding a modifier key (for example <kbd>Alt</kbd>). I am wondering if it is possible to do with this plugin, if not, do you guys think it is a cool feature to have?
HicaroD commented 2025-05-24 14:29:49 -04:00 (Migrated from github.com)

If you guys are willing to take this feature request further, I am willing to contribute to the project by implement that feature

If you guys are willing to take this feature request further, I am willing to contribute to the project by implement that feature
HicaroD commented 2025-05-24 14:48:46 -04:00 (Migrated from github.com)

Actually, I don't even know if it is possible to handle keyhold events using the native Neovim API, unfortunately. Maybe this feature can't be implemented due to Neovim API's limitations

Actually, I don't even know if it is possible to handle keyhold events using the native Neovim API, unfortunately. Maybe this feature can't be implemented due to Neovim API's limitations
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
supermaven-inc/supermaven-nvim#140
No description provided.