u/Shay-Hill

▲ 35 r/vim

I missed the milestone: Belated Happy 100 to the Awesome-Vim9 list

Over 100 plugins now on the awesome-vim9 list. Many slept on, so have a look around.

github.com
u/Shay-Hill — 5 days ago
▲ 5 r/vim

Opinionated TLDR for Windows users

After identifying another speed bump for Windows users, I've added a TLDR to Install Vim in Windows.

If you already have a setup you're happy with, these might help with any nagging issues.

  • Install PowerShell 7 # Vim in PowerShell 5 and CMD are tougher. "My OS is my IDE" doesn't with WSL.

​

winget install Microsoft.PowerShell --source winget
  • Install GNU zip and unzip # Plugins look for these

​

winget install GnuWin32.Zip GnuWin32.UnZip --source winget
[Environment]::SetEnvironmentVariable("PATH", "$($env:PATH);C:\Program Files (x86)\GnuWin32\bin", [EnvironmentVariableTarget]::User)
  • Don't use the latest Copilot. Lock version at 1.4.1 or clone ShayHill/copilot.vim
  • in vimrc (in this order):

​

set shell=pwsh
set termguicolors
&t_8u = "\<Esc>[58:2::%lu:%lu:%lum"  # fix spelling and `yegappan/lsp` error rendering
  • Install DejaVuSansMono.ttf # A fixed-width font with plenty of symbols and dotted 0
  • in gvimrc:

​

set guifont=DejaVu_Sans_Mono:h10:cANSI:qDRAFT
set renderoptions=type:directx,gamma:1.0,geom:0,renmode:5,taamode:1  # better symbol colors
u/Shay-Hill — 10 days ago
▲ 6 r/vim

Modernized Python sections for Vim-in-Windows article.

- Removed content related to multiple Python installs.
- Updated vimspector config for Python 3.11+.

github.com
u/Shay-Hill — 20 days ago
▲ 0 r/vim

If Copilot used to "just work" for you and now it doesn't, this looks like the reason. The problem lies in an update with pre-compiled binaries between 1.41.0 and 1.42.0. There might be an easy patch to get the latest version working, but I won't go down that rabbit hole.

This makes easy work of reverting without scripts, tweaking your package manager, or forking yourself. BTW, removing `github/copilot.vim` and adding `ShayHill/copilot.vim` to your package manager config probably won't accomplish anything, because the names are the same. You'll need to delete / clean / or similar before adding `ShayHill/copilot.vim`.

ShayHill/copilot.vim: GitHub copilot reverted to 1.41.0

reddit.com
u/Shay-Hill — 2 months ago
▲ 0 r/vim

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.

reddit.com
u/Shay-Hill — 2 months ago