diff --git a/flake.nix b/flake.nix index ec41ffd..1beea8b 100644 --- a/flake.nix +++ b/flake.nix @@ -98,6 +98,11 @@ help = "wrapper for nixos-rebuild switch"; command = "sudo nixos-rebuild boot --flake . $@"; } + { + name = "vim-startuptime"; + help = "test vim startup time"; + command = "${pkgs.lib.getExe pkgs.hyperfine} --warmup 5 --prepare 'sleep 2' 'vim -c exit'"; + } ]; packages = with pkgs; [ stylua