about summary refs log tree commit diff
path: root/users/wpcarro/tools/simple_vim/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/wpcarro/tools/simple_vim/default.nix')
-rw-r--r--users/wpcarro/tools/simple_vim/default.nix10
1 files changed, 2 insertions, 8 deletions
diff --git a/users/wpcarro/tools/simple_vim/default.nix b/users/wpcarro/tools/simple_vim/default.nix
index 6631fdfff5da..01b1d5d3fe08 100644
--- a/users/wpcarro/tools/simple_vim/default.nix
+++ b/users/wpcarro/tools/simple_vim/default.nix
@@ -1,11 +1,5 @@
 { pkgs, ... }:
 
-let
-  configVim = builtins.path {
-    path = ./config.vim;
-    name = "config.vim";
-  };
-
-in pkgs.writeShellScriptBin "simple_vim" ''
-  ${pkgs.vim}/bin/vim -u ${configVim}
+pkgs.writeShellScriptBin "simple_vim" ''
+  ${pkgs.neovim}/bin/nvim -u ${./config.vim} $@
 ''