about summary refs log tree commit diff stats
path: root/hm
diff options
context:
space:
mode:
Diffstat (limited to 'hm')
-rw-r--r--hm/nixvim/config.nix42
1 files changed, 33 insertions, 9 deletions
diff --git a/hm/nixvim/config.nix b/hm/nixvim/config.nix
index cedf950..ad0faa6 100644
--- a/hm/nixvim/config.nix
+++ b/hm/nixvim/config.nix
@@ -9,7 +9,10 @@ pkgs: {
     textwidth = 83;
     linebreak = true;
 
-    completeopt = ["menuone" "noselect"];
+    completeopt = [
+      "menuone"
+      "noselect"
+    ];
     wildmenu = true;
     wildmode = builtins.concatStringsSep "," [
       "longest"
@@ -19,22 +22,38 @@ pkgs: {
   };
   keymaps = [
     {
-      mode = ["n" "i" "t"];
+      mode = [
+        "n"
+        "i"
+        "t"
+      ];
       key = "<A-h>";
       action = ''<C-\><C-N><C-w>h'';
     }
     {
-      mode = ["n" "i" "t"];
+      mode = [
+        "n"
+        "i"
+        "t"
+      ];
       key = "<A-j>";
       action = ''<C-\><C-N><C-w>j'';
     }
     {
-      mode = ["n" "i" "t"];
+      mode = [
+        "n"
+        "i"
+        "t"
+      ];
       key = "<A-k>";
       action = ''<C-\><C-N><C-w>k'';
     }
     {
-      mode = ["n" "i" "t"];
+      mode = [
+        "n"
+        "i"
+        "t"
+      ];
       key = "<A-l>";
       action = ''<C-\><C-N><C-w>l'';
     }
@@ -51,7 +70,10 @@ pkgs: {
       action = ":Neotree float git_status<cr>";
     }
     {
-      mode = ["n" "i"];
+      mode = [
+        "n"
+        "i"
+      ];
       key = "<Esc>";
       action = "<cmd>noh<CR><Esc>";
     }
@@ -78,7 +100,7 @@ pkgs: {
       enable = true;
       settings = {
         powerline_fonts = 1;
-        theme = "base16_black_metal"; #"base16_gruvbox_dark_pale";
+        theme = "base16_black_metal"; # "base16_gruvbox_dark_pale";
       };
     };
     cmp = {
@@ -181,8 +203,10 @@ pkgs: {
     };
     neo-tree = {
       enable = true;
-      autoCleanAfterSessionRestore = true;
-      closeIfLastWindow = true;
+      settings = {
+        auto_clean_after_session_restore = true;
+        close_if_last_window = true;
+      };
     };
     nvim-autopairs = {
       enable = true;