Skip to content

Commit f0faad4

Browse files
committed
Enable Hidden fuzzy search with Clap
1 parent 9064b24 commit f0faad4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dotfiles/.vimrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ nmap oo o<Esc>k
120120
nmap OO O<Esc>j
121121
122122
" Clap shortcut
123-
noremap Cf :Clap files<CR>
123+
noremap Cf :Clap files ++finder=rg --files --follow --hidden<CR>
124124
noremap CF :Clap filer<CR>
125125
noremap Cg :Clap grep<CR>
126126
noremap Cb :Clap buffers<CR>
@@ -164,6 +164,7 @@ nmap <silent> nt :NERDTreeToggle<CR>
164164
165165
let g:clap_layout = { 'relative': 'editor' }
166166
let g:clap_theme = 'material_design_dark'
167+
let g:clap_provider_grep_opts = '--hidden -g "!.git/"'
167168

168169
""" Go syntax highlighting
169170
let g:go_highlight_fields = 1

0 commit comments

Comments
 (0)