install / update
the latest version of pe-vim is built around nix! or else!
# flake.nix
# replace "trunk" with a release version to pin!
{ inputs.pe-vim.url = "https://src.ix.cyb.red/pe-vim/tarball/trunk/pe-vim.tar.gz"; }
# home.nix
{
modules = [ pe-vim.homeManagerModules.pe-vim ];
programs.pe-vim.enable = true;
}
home-manager switch
to install, nix flake update pe-vim
to update.
live demo
if you just want to try out the stand-alone editor without messing with home-manager, you can do that!
nix run https://src.ix.cyb.red/pe-vim/tarball/trunk/pe-vim.tar.gz
allow unfree
if you find yourself needing to burn unholy amounts of energy for advanced autocomplete:
# home.nix
{
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (pkgs.lib.getName pkg) [
"copilot.vim"
];
programs.pe-vim.enableUnholyCopilot = true;
}