[nvim] Change default fzfrg to search hidden files
<leader>F will search hidden files but skip the .git directory. This is what I want most often.
This commit is contained in:
parent
4010b3ffc1
commit
71ec5b31cf
1 changed files with 1 additions and 6 deletions
|
@ -135,11 +135,8 @@ noremap <leader>s :FzfBuffers<cr>
|
||||||
noremap <leader>S :FzfHistory<cr>
|
noremap <leader>S :FzfHistory<cr>
|
||||||
" fuzzy find files in cwd
|
" fuzzy find files in cwd
|
||||||
noremap <leader>f :FzfFiles<cr>
|
noremap <leader>f :FzfFiles<cr>
|
||||||
|
|
||||||
" FZF general full-text search in cwd with rg
|
" FZF general full-text search in cwd with rg
|
||||||
noremap <leader>F :FzfRg<cr>
|
noremap <leader>F :FzfRgHidden<cr>
|
||||||
" same full-text FZF search, but include hidden files
|
|
||||||
noremap <leader><C-F> :FzfRgHidden<cr>
|
|
||||||
|
|
||||||
" FZF git status
|
" FZF git status
|
||||||
noremap <leader>gs :FzfGFiles?<cr>
|
noremap <leader>gs :FzfGFiles?<cr>
|
||||||
|
@ -153,8 +150,6 @@ noremap <leader><F1> :FzfHelptags<cr>
|
||||||
|
|
||||||
" FZF colorschemes
|
" FZF colorschemes
|
||||||
nnoremap <leader><F8> :FzfColors<cr>
|
nnoremap <leader><F8> :FzfColors<cr>
|
||||||
" Toggle background light/dark
|
|
||||||
call togglebg#map("<F8>")
|
|
||||||
|
|
||||||
" PLUGIN: vim-go
|
" PLUGIN: vim-go
|
||||||
" vim-go mappings - will only activate in go files
|
" vim-go mappings - will only activate in go files
|
||||||
|
|
Loading…
Reference in a new issue