summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/settings/base.nix21
1 files changed, 20 insertions, 1 deletions
diff --git a/user/settings/base.nix b/user/settings/base.nix
index 7c187f7a..0d5ba9fd 100644
--- a/user/settings/base.nix
+++ b/user/settings/base.nix
@@ -6,6 +6,26 @@
   manual = {
     html.enable = true;
   };
+  programs.neovim = {
+    enable = true;
+    vimAlias = true;
+    configure = {
+      customRC = ''
+        set autoindent
+
+        set background=light
+        set shiftwidth=2
+        set tabstop=2
+        set noexpandtab
+        set relativenumber
+        set smartcase
+      '';
+      packages.myVimPackage = with pkgs.vimPlugins; {
+        start = [ vim-nix ];
+        opt = [ ];
+      };
+    };
+  };
   home.sessionVariables.EMAIL = "alan@alanpearce.eu";
   home.packages = with pkgs; [
     pv
@@ -26,7 +46,6 @@
   ] ++ (
   if !stdenv.isDarwin
   then [
-    vim
     unar
   ] else [
   ]);