about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-19 20:28:25 +0200
committerSoispha <soispha@vhack.eu>2023-08-19 20:28:25 +0200
commit8ca5eee1a4727f321287c31e838f64ac7a3ca44d (patch)
treee4cd094d210dd06a438ee3d1484d6403826308be
parentFix(hm/conf/neovim/autocmds): Correctly apply the if conditional (diff)
downloadnixos-config-8ca5eee1a4727f321287c31e838f64ac7a3ca44d.tar.gz
nixos-config-8ca5eee1a4727f321287c31e838f64ac7a3ca44d.zip
Fix(hm/conf/neovim): Remap '<C-Space>' to '<S-Tab>' as alacritty already uses it
Diffstat (limited to '')
-rw-r--r--home-manager/soispha/config/neovim/nixvim/mappings/default.nix4
-rw-r--r--home-manager/soispha/config/neovim/nixvim/plugins/nvim-cmp/default.nix2
2 files changed, 3 insertions, 3 deletions
diff --git a/home-manager/soispha/config/neovim/nixvim/mappings/default.nix b/home-manager/soispha/config/neovim/nixvim/mappings/default.nix
index efe9d423..20802e7c 100644
--- a/home-manager/soispha/config/neovim/nixvim/mappings/default.nix
+++ b/home-manager/soispha/config/neovim/nixvim/mappings/default.nix
@@ -27,10 +27,10 @@
                 end
               end
             '';
-                lua = true;
+            lua = true;
             desc = "completion trigger/ forward in completen menu";
           };
-          "<C-Space>" = {
+          "<S-Tab>" = {
             action = ''
               function()
                 local cmp = require('cmp');
diff --git a/home-manager/soispha/config/neovim/nixvim/plugins/nvim-cmp/default.nix b/home-manager/soispha/config/neovim/nixvim/plugins/nvim-cmp/default.nix
index d464a305..3ca3b617 100644
--- a/home-manager/soispha/config/neovim/nixvim/plugins/nvim-cmp/default.nix
+++ b/home-manager/soispha/config/neovim/nixvim/plugins/nvim-cmp/default.nix
@@ -31,7 +31,7 @@
         action = "cmp.mapping.scroll_docs(4)";
         #desc = "Scroll down by four lines";
       };
-      "<C-Space>" = {
+      "<S-Tab>" = {
         action = "cmp.mapping.complete()";
         #desc = "Confirm snipped";
       };