(i3) Add CtrlP custom config for better shortcut parity across components

This commit is contained in:
Tanguy Herbron 2022-09-06 09:41:52 +02:00
parent 07dc7e7de1
commit f49b947a22

View File

@ -107,6 +107,11 @@ endif
source ~/.config/nvim/coc.vim source ~/.config/nvim/coc.vim
let g:ctrlp_custom_ignore = 'node_modules\|DS_Store' let g:ctrlp_custom_ignore = 'node_modules\|DS_Store'
let g:ctrlp_prompt_mappings = {
\ 'AcceptSelection("h")': ['<c-s>', '<c-b>'],
\ 'ToggleType(1)': ['<c-up'],
\ 'ToggleType(-1)': ['<c-down'],
\ }
let mapleader = " " let mapleader = " "
nnoremap <leader>h :wincmd h<CR> nnoremap <leader>h :wincmd h<CR>