From c65d8e6e834373900c50ccf18513b5750e89979e Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 19 Aug 2023 21:54:11 +0200 Subject: Fix(hm/conf/neovim): Change mapping for cmp acceptation to 'HH' --- home-manager/soispha/config/neovim/nixvim/mappings/default.nix | 2 +- home-manager/soispha/config/neovim/nixvim/plugins/nvim-cmp/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'home-manager/soispha/config') 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"; }; - "" = { + "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"; }; - "" = { + "HH" = { action = "cmp.mapping.complete()"; #desc = "Confirm snipped"; }; -- cgit 1.4.1