diff options
author | Soispha <soispha@vhack.eu> | 2023-08-19 20:28:25 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-08-19 20:28:25 +0200 |
commit | 8ca5eee1a4727f321287c31e838f64ac7a3ca44d (patch) | |
tree | e4cd094d210dd06a438ee3d1484d6403826308be | |
parent | Fix(hm/conf/neovim/autocmds): Correctly apply the if conditional (diff) | |
download | nixos-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.nix | 4 | ||||
-rw-r--r-- | home-manager/soispha/config/neovim/nixvim/plugins/nvim-cmp/default.nix | 2 |
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"; }; |