New answers tagged

1

A bit late but I had this issue as well. As you're using fzf.vim you can configure the Rg command as per their instructions by adding the following to your init.vim file and adding in the --hidden option. command! -bang -nargs=* Rg \ call fzf#vim#grep( \ 'rg --hidden --column --line-number --no-heading --color=always --smart-case -- '.shellescape(<q-...


1

Add FZF setup: func! s:insert_file_name(lines) let @@ = fnamemodify(a:lines[0], ":p") normal! p endfunc let g:fzf_action = { 'ctrl-r': function('s:insert_file_name')} Then open :Files select a file and press <c-r>. See :h fzf-examples.


Top 50 recent answers are included