diff --git a/README.md b/README.md index b49b483..89a102b 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,9 @@ This is the Neovim configuration for all my NixOS and Nix enabled systems blingful features like sidebars or fancy UI enhancements in favor of native (neo)Vim, while still having everything useful you'd expect, like LSPs, file explorer (`oil.nvim`), completions, advanced language tools, and QoL -enhancements. +enhancements. Additionally, a small wrapper script called `vimg` is provided in +`packages.${system}.vimg` which simply opens Neovim inside the `Neogit` UI. +This allows it to be used as a quick git TUI from the shell. The central design goal is to prefer Vim whenever possible. The Vim text editor is already incredibly powerful, and many plugins designed to emulate features diff --git a/flake.nix b/flake.nix index f61ecc9..a41b421 100644 --- a/flake.nix +++ b/flake.nix @@ -73,6 +73,10 @@ packages = { default = nvim; + vimg = pkgs.writeScriptBin "vimg" '' + #!/bin/sh + ${nvim}/bin/nvim +Neogit + ''; }; }; };