diff options
-rw-r--r-- | tools/simple_vim/config.vim (renamed from configs/shared/.config/nvim/simple.vim) | 0 | ||||
-rw-r--r-- | tools/simple_vim/default.nix | 10 |
2 files changed, 10 insertions, 0 deletions
diff --git a/configs/shared/.config/nvim/simple.vim b/tools/simple_vim/config.vim index ea40964ee803..ea40964ee803 100644 --- a/configs/shared/.config/nvim/simple.vim +++ b/tools/simple_vim/config.vim diff --git a/tools/simple_vim/default.nix b/tools/simple_vim/default.nix new file mode 100644 index 000000000000..7ea0b5ebc8a1 --- /dev/null +++ b/tools/simple_vim/default.nix @@ -0,0 +1,10 @@ +{ pkgs ? import <nixpkgs> {}, ... }: + +let + script = pkgs.writeShellScriptBin "simple_vim" '' + ${pkgs.vim}/bin/vim -u ${./config.vim} + ''; +in pkgs.stdenv.mkDerivation { + name = "simple_vim"; + buildInputs = [ script ]; +} |