"stole" this svg from [NixVim](https://github.com/nix-community/nixvim/) repo
If you would like to use this, there are three ways to do so. Hopefully it was clear as this is NixVim and not Vim or NeoVim, so you will need nix installed.
Final thing to say is there is a code version and a writing version which are nearly identical
besides the color schemes and that the writer has fewer plugins as it doesn't need LSPs for code.
To choose one or both, just use the same patters that is shown but where ever there is #code or
.code, replace that with #writer or .writer respectively.
Just add it to your NixOS flake.nix file:
{
inputs = {
nixvim.url = "github:blank2121/nixvim";
...
};
}After, to install it as a package that can be used, add it to your environment.systemPackages
{ inputs, pkgs, ... }:
{
environment.systemPackages = [
inputs.nixvim.packages."${pkgs.system}".code
...
];
...
}Note that if you are having environment.systemPackages in the flake.nix file, then do not do use "${pkgs.system}" but "${system}"
You could not install it and just run it and to use the configuration, you won't need to clone the repository. All you need to do is run nix run github:blank2121/nixvim#code -- <file>
To install it to your profile simply run nix profile install github:blank2121/nixvim#code
If you want to remove it (or anything for that matter) from your profile run nix profile list then find the index that has github:blank2121/nixvim and then run nix profile remove <index> with the corresponding index.
Thank you to the NixVim maintainers @GaetanLepage, @traxys, @MattSturgeon for this amazing project and everyone that contributed to it.


