Skip to content

fzf wrappers for directory browsing and find in file.

Notifications You must be signed in to change notification settings

sortraev/fzf_wrappers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fzf wrappers

  • fzf wrappers written in C:
    • fzf_changedir.c pipes output of fd into fzf to search for directories and can eg. be used with cd.
    • fzf_fif.c pipes output of rg into fzf to search for keywords in files recursively and extract file and line number of search result; then runs nvim <file> <linenumber>. Can be modified to suit other editors.

Requirements

  • fzf_changedir: fzf, fd, exa
  • fzf_fif: fzf, bat, ripgrep

TODO: the programs should ideally fallback to compile with using find, ls, cat, and grep instead, if any of the above do not exist (except for fzf, which will always be a hard requirement).

About

fzf wrappers for directory browsing and find in file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published