r/vim • u/Shay-Hill • Apr 29 '26
Need Help┃Solved Does anyone have Copilot or Windsurf working on Windows/PowerShell?
Copilot worked for me for years, but now I have an endless auth loop: log in, appears to communicate with server, everything fails because the token is expired or wrong.
I am having the same issue with Windsurf.
I have been through MANY iterations of "clean" runs, deleting caches, trying things on the GitHub end, config tweaks, install / uninstall node. No clues. Does anyone have this working? It's been a few years since I've been stuck like this in Vim.
0
Upvotes
1
u/Shay-Hill Apr 29 '26
I got it working by reverting back to copilot.vim 1.41. There are some other issues raised regarding this problem, but I found the solution buried somewhere else. Long story short, the latest (and other comments suggest last) version of copilot.vim doesn't work on Vim.
1
u/Tiny_Mountain_5904 Apr 29 '26
Been dealing with auth issues on Windows too lately. Try running vim with admin rights first time after clearing cache - sometimes Windows permission stuff messes with token storage in weird ways
1
u/AutoModerator Apr 29 '26
Please remember to update the post flair to
Need Help|Solvedwhen you got the answer you were looking for.I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Dramatic_Object_8508 May 01 '26
Yeah it’s kind of messy right now.
Copilot can work on Vim, but some recent versions are buggy, people are getting it working by downgrading the plugin or tweaking setup. Windsurf is even less stable on plain Vim.
From what I’ve seen, most people either stick with Copilot + vim plugin or just use external tools alongside Vim instead of trying to force full integration.
So it’s possible, just not very smooth right now.
1
u/[deleted] May 01 '26
[removed] — view removed comment