Vim: how to load plugin

Hi, I have added vim_configurable and vimPlugins.terminus to the environment.systemPackages of configuration.nix, and I have set programs.vim.package = pkgs.vim_configurable;.

How do I get vim to actually load this plugin?

this is somewhat unintuitive but what you do is create a package containing your configuration and which depends on the wanted plugins so basically you add the wanted plugins in start or opt and they will load.the nixpkgs manual has more info Nixpkgs 22.05 manual you can just copy paste it and add the wanted plugins on the start list

1 Like

Alright, I will give this a look, thank you.