8000 GitHub - KaiSforza/kaivim
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

KaiSforza/kaivim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KaiVim

This is a simple nixvim configuration that tries to be simple and easy to use.

Most of the files are included in subdirectories as default.nix files so you could add your own and just import them into those files.

Running

Standalone:

$ nix run .

As part of a nixos configuration:

kaivim.nix, or you can place this in any other nix file you're already using. I'll be using this one in the flake, though.

args:
{
  programs.nixvim = {
    enable = true;
    defaultEditor = true; # Optional
    import = [args.kaivim.nixvimModule];
  }
}

flake.nix

{
  inputs = {
    # ...
    kaivim = {
      url = "git://git.kaictl.me/kaictl/kaivim";
      inputs.nixpkgs.follows = "nixpkgs";
    }
    # ...
  };
  outputs = {nixpkgs, ...}@args: {
    hostname = nixpkgs.lib.nixosSystem {
      modules = [
        # This will allow you to use programs.nixvim
        args.kaivim.inputs.nixvim.nixosModules.nixvim
        # And this will include the .nix file that was made in the previous step.
        ./kaivim.nix
        # ...
      ];
    };
  };
}

You should be able to rebuild your nix config and then run nvim.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0