aboutsummaryrefslogtreecommitdiff
path: root/.vim/after/plugin/fzf.vim
diff options
context:
space:
mode:
Diffstat (limited to '.vim/after/plugin/fzf.vim')
-rw-r--r--.vim/after/plugin/fzf.vim48
1 files changed, 24 insertions, 24 deletions
diff --git a/.vim/after/plugin/fzf.vim b/.vim/after/plugin/fzf.vim
index e041d6b..9234eb4 100644
--- a/.vim/after/plugin/fzf.vim
+++ b/.vim/after/plugin/fzf.vim
@@ -1,24 +1,24 @@
-if executable('fzf')
- let g:fzf_command_prefix = 'Fzf'
-
- command! -bang -nargs=* FzfRg
- \ call fzf#vim#grep(
- \ 'rg --hidden --column --line-number --no-heading --color=always --smart-case --glob !.git -- '.shellescape(<q-args>), 1,
- \ fzf#vim#with_preview(), <bang>0)
-
- noremap <leader>ff :FzfFiles<CR>
- noremap <leader>fgf :FzfGFiles<CR>
- noremap <leader>fb :FzfBuffers<CR>
- noremap <leader>fm :FzfHistory<CR>
- noremap <leader>ft :FzfBTags<CR>
- noremap <leader>fT :FzfTags<CR>
- noremap <leader>fa :FzfAg<space>
- noremap <leader>fr :FzfRg<space>
- noremap <leader>fc :FzfCommands<CR>
- noremap <leader>fgc :FzfBCommits<CR>
- noremap <leader>fgC :FzfCommits<CR>
- noremap <leader>fl :FzfBLines<CR>
- noremap <leader>fL :FzfLines<CR>
-
- packadd fzf.vim
-endif
+" if executable('fzf') && get(g:, 'loaded_fzf_vim', 0) == 1
+" let g:fzf_command_prefix = 'Fzf'
+"
+" command! -bang -nargs=* FzfRg
+" \ call fzf#vim#grep(
+" \ 'rg --hidden --column --line-number --no-heading --color=always --smart-case --glob !.git -- '.shellescape(<q-args>), 1,
+" \ fzf#vim#with_preview(), <bang>0)
+"
+" noremap <leader>ff :FzfFiles<CR>
+" noremap <leader>fgf :FzfGFiles<CR>
+" noremap <leader>fb :FzfBuffers<CR>
+" noremap <leader>fm :FzfHistory<CR>
+" noremap <leader>ft :FzfBTags<CR>
+" noremap <leader>fT :FzfTags<CR>
+" noremap <leader>fa :FzfAg<space>
+" noremap <leader>fr :FzfRg<space>
+" noremap <leader>fc :FzfCommands<CR>
+" noremap <leader>fgc :FzfBCommits<CR>
+" noremap <leader>fgC :FzfCommits<CR>
+" noremap <leader>fl :FzfBLines<CR>
+" noremap <leader>fL :FzfLines<CR>
+"
+" packadd fzf.vim
+" endif