vim: ctrlp: find als alternative
This commit is contained in:
parent
6c446ccba5
commit
d9b0a980e2
1 changed files with 2 additions and 0 deletions
2
.vimrc
2
.vimrc
|
@ -88,6 +88,8 @@ let g:lightline = {
|
||||||
" sudo apt install ripgrep(rg)
|
" sudo apt install ripgrep(rg)
|
||||||
if executable('rg')
|
if executable('rg')
|
||||||
let g:ctrlp_user_command = 'rg %s --files --hidden --color=never --glob ""'
|
let g:ctrlp_user_command = 'rg %s --files --hidden --color=never --glob ""'
|
||||||
|
else
|
||||||
|
let g:ctrlp_user_command = 'find %s -type f'
|
||||||
endif
|
endif
|
||||||
" let g:ctrlp_map = '<c-f>' "aufruf mit strg+f
|
" let g:ctrlp_map = '<c-f>' "aufruf mit strg+f
|
||||||
nmap <C-f> :CtrlP<CR>
|
nmap <C-f> :CtrlP<CR>
|
||||||
|
|
Loading…
Reference in a new issue