You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there! I often work in projects where I need to edit files that are ignored by git or ripgrep, thus don't show up in fzf-preview. So for me it would be handy if they would show up.
I noticed you can configure your own file list commands with:
" Commands used to get the file list from projectletg:fzf_preview_filelist_command='custom_command'" Commands used to get the file list from git repositoryletg:fzf_preview_git_files_command='custom_command'" Commands used to get the file list from current directoryletg:fzf_preview_directory_files_command='custom_command'
I think this might be a nice feature to have included in fzf-preview. I guess however that a zsh script is maybe not appropriate. I'm not so familiar with vim plugin development. In any case, I think it would be very useful, because it has been frustrating me sometimes that some paths don't show up in fzf-preview. It could also maybe be included in the readme in section "Requirements -> Optional".
Edit: I would also like to use this command for non-project directories. These vim config variables that you can set only influence the project directory commands like :FzfPreviewProjectFilesRpc. So it does not work for :FzfPreviewDirectoryFiles.
Also, there doesn't seem to be a MRU variation of the :FzfPreviewDirectoryFiles command. Which would also be really helpful. Why is there only MRU for project (git) dirs (FzfPreviewProjectMruFiles) and not for regular directories?
The text was updated successfully, but these errors were encountered:
Hi there! I often work in projects where I need to edit files that are ignored by git or ripgrep, thus don't show up in fzf-preview. So for me it would be handy if they would show up.
I noticed you can configure your own file list commands with:
That's really nice. So I made a little zsh script that searches a project with additional paths configured in a
.fzf_preview_include
file. See my Gist here: https://gist.github.com/gitaarik/bc7c6724a1868f8d89f5a97f794f14f2I think this might be a nice feature to have included in fzf-preview. I guess however that a zsh script is maybe not appropriate. I'm not so familiar with vim plugin development. In any case, I think it would be very useful, because it has been frustrating me sometimes that some paths don't show up in fzf-preview. It could also maybe be included in the readme in section "Requirements -> Optional".
Edit: I would also like to use this command for non-project directories. These vim config variables that you can set only influence the project directory commands like
:FzfPreviewProjectFilesRpc
. So it does not work for:FzfPreviewDirectoryFiles
.Also, there doesn't seem to be a MRU variation of the
:FzfPreviewDirectoryFiles
command. Which would also be really helpful. Why is there only MRU for project (git) dirs (FzfPreviewProjectMruFiles
) and not for regular directories?The text was updated successfully, but these errors were encountered: