From f49b947a22faafbe7c8c8a673550b9a9202b571e Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Tue, 6 Sep 2022 09:41:52 +0200 Subject: [PATCH] (i3) Add CtrlP custom config for better shortcut parity across components --- .config/nvim/init.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index f914a33..5502b98 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -107,6 +107,11 @@ endif source ~/.config/nvim/coc.vim let g:ctrlp_custom_ignore = 'node_modules\|DS_Store' +let g:ctrlp_prompt_mappings = { + \ 'AcceptSelection("h")': ['', ''], + \ 'ToggleType(1)': ['h :wincmd h