vim: ctrlp: find als alternative

This commit is contained in:
Michael Grote 2021-10-06 19:49:30 +02:00
parent 6c446ccba5
commit d9b0a980e2

2
.vimrc
View file

@ -88,6 +88,8 @@ let g:lightline = {
" sudo apt install ripgrep(rg)
if executable('rg')
let g:ctrlp_user_command = 'rg %s --files --hidden --color=never --glob ""'
else
let g:ctrlp_user_command = 'find %s -type f'
endif
" let g:ctrlp_map = '<c-f>' "aufruf mit strg+f
nmap <C-f> :CtrlP<CR>