summary refs log tree commit diff
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-02-21 14:13:05 +0200
committertzlil <tzlils@protonmail.com>2023-02-21 14:13:05 +0200
commit6e12aa2a2345fc673c7f76c065cd6d50c73370e7 (patch)
tree1f267559818ad10262abc84bc900b9b19df4073c
parent7df97d3d12c803437fd49a7b4050a940c8b62678 (diff)
add neovim, yet to add any plugins
-rw-r--r--mixins/cli.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/mixins/cli.nix b/mixins/cli.nix
index 3dce0bf..9ce9ee4 100644
--- a/mixins/cli.nix
+++ b/mixins/cli.nix
@@ -18,6 +18,7 @@
           bat
           croc
         ];
+        sessionVariables.EDITOR = "nvim";
       };
       programs = {
         ssh.enable = true;
@@ -42,6 +43,11 @@
             sw.body = "nixos-rebuild switch --flake git+ssh://pc/home/tzlil/newflake --use-remote-sudo";
           };
         };
+        neovim = {
+          enable = true;
+          viAlias = true;
+          vimAlias = true;
+        };
       };
     };
   };