about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-19 21:54:11 +0200
committerSoispha <soispha@vhack.eu>2023-08-19 21:54:11 +0200
commitc65d8e6e834373900c50ccf18513b5750e89979e (patch)
tree7f213e5ffd8f2c07842266dc775fb3e1d2d6f334
parentFix(hm/conf/neovim/nixneovim): Remove as it's replaced by nixvim (diff)
downloadnixos-config-c65d8e6e834373900c50ccf18513b5750e89979e.tar.gz
nixos-config-c65d8e6e834373900c50ccf18513b5750e89979e.zip
Fix(hm/conf/neovim): Change mapping for cmp acceptation to 'HH'
Diffstat (limited to '')
-rw-r--r--home-manager/soispha/config/neovim/nixvim/mappings/default.nix2
-rw-r--r--home-manager/soispha/config/neovim/nixvim/plugins/nvim-cmp/default.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/home-manager/soispha/config/neovim/nixvim/mappings/default.nix b/home-manager/soispha/config/neovim/nixvim/mappings/default.nix
index f8937cbe..825e0738 100644
--- a/home-manager/soispha/config/neovim/nixvim/mappings/default.nix
+++ b/home-manager/soispha/config/neovim/nixvim/mappings/default.nix
@@ -30,7 +30,7 @@
             lua = true;
             desc = "completion trigger/ forward in completen menu";
           };
-          "<S-Tab>" = {
+          "HH" = {
             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 3ca3b617..f8eefa7a 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";
       };
-      "<S-Tab>" = {
+      "HH" = {
         action = "cmp.mapping.complete()";
         #desc = "Confirm snipped";
       };