You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is / are there setting(s) that make Copilot only suggest a line at at time? I have a hacky config that achieves this but even then it doesn't do what I would prefer which is only ghost inline whatever completion lands on the current line number I am on, even if it may be incomplete.
I.e.
variable I want to write:
let foo = bar
.moo.baz.ok_or_else(|| format!("hello")).await;
What I want Copilot to do:
let foo = bar
.moo// .baz <---- cursor is here, copilot only suggests the completion of baz instead of entire variable
If it might fit your need, you can accept Copilot suggestion only partially — by word or by line — rather than accepting whole thing
@yermulnik This works fine but I still get the noise of the rest of the suggestion. I think it's probably a Copilot quirk, not necessarily a vim/nvim specifc thing that can fix. Although I guess you can simply render [0] of whatever the len() lines is of a suggestion batch.
Activity
[-]Suggest one line at a time[/-][+]Question: Can we suggest one line at a time[/+]yermulnik commentedon Apr 22, 2026
If it might fit your need, you can accept Copilot suggestion only partially — by word or by line — rather than accepting whole thing. See https://github.com/github/copilot.vim/blob/release/doc/copilot.txt#L196-L203
You also can remap these to another key combination at your discretion.
cachebag commentedon Apr 22, 2026
@yermulnik This works fine but I still get the noise of the rest of the suggestion. I think it's probably a Copilot quirk, not necessarily a vim/nvim specifc thing that can fix. Although I guess you can simply render [0] of whatever the len() lines is of a suggestion batch.
Thank you anyway!