Vim-classic plugin support

It appears many of the shown plugin methods in the wiki (https://wiki.nixos.org/wiki/Vim) do not work when the vim source is set to the pkgs.vim-classic package, or at least I have not been able to find it. Any help here would be appreciated.

1 Like

The world largely moved on to Neovim… maintenance work is limited…

Sure. I’m just looking for how I can get feature parity with vim proper using vim-classic in declarative nix; nothing fancy.

The code seems to already exist in vim-full, I just can’t seem to figure out a way to swap out the main package.

I haven’t tried it, but vim-full is defined as:

vim-full = vimUtils.makeCustomizable (callPackage ../applications/editors/vim/full.nix { });

This suggests to me that you can (pkgs.vimUtils.makeCustomizable pkgs.vim-classic) to create a derivation that has the .customize function signature you need for the wiki examples. No idea whether the downstream definitions will work or not though…

1 Like