vishaltelangre / ff Goto Github PK
View Code? Open in Web Editor NEWFind files (ff) by name, fast!
License: The Unlicense
Find files (ff) by name, fast!
License: The Unlicense
Test env:
at my home dir, searched for ff ssh
./.ssh/id_rsa.pub
was not found, for example
with find . | grep ssh
it was.
IMHO to include hidden dirs should be the default behavior (since I'm looking for it... and don't know where it is).
Maybe an argument --ingore-hidden-dirs
could also be a nice thing (in which would present the current behavior)
In any case, it's a great tool and congratulations!
Cheers
I use fd. What is the elevator pitch for switching.
Thanks
There is an ambiguity between a file or folder. A file can have no extension, so there is no way using a regular expression to distinguish between a file or a folder.
e.g. /home/user/ambigous_name
is it a file, or a folder? because ff will output this and there is no regular expression that can guarantee this to get filtered.
I did a simple test that gets the following output.
dev@rasp03:/home/dev/test $ ff .
.
./this_is_a_file
./this_is_a_folder
The reason for this is that I want to replace the default vim command for https://github.com/ctrlpvim/ctrlp.vim extension (for obvious reasons).
I am using the following, actually.
let g:ctrlp_user_command = 'ff . %s -x "/$"'
But unluckily it also includes directories. As an example, the default command will be the following.
let g:ctrlp_user_command = 'find %s -type f'
It could be a good start point as choicing the way/parameter name for this.
If you find this is already implemented or not relevant, please let me know so I can look for a workaround, and also thanks for this great tool!
Is this availlable for Windows 10? I can't find such a release asset.
Using a short name like ff
makes me very hesitant to install this tool. Such convenient names should be reserved for user aliases, not for any program to claim. I suggest you change the binary's name to ffind
, and add a simple alias ff=ffind
to the installation guide.
Line 68 in afcf61f
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.