this post was submitted on 07 Nov 2023
20 points (95.5% liked)

Linux

48216 readers
1097 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Are there any CLI tools like zoxide that allow to quickly find recently opened files by fuzzy search instead of directories?

you are viewing a single comment's thread
view the rest of the comments
[–] corytheboyd@kbin.social 2 points 1 year ago* (last edited 1 year ago) (2 children)

fzf? https://github.com/junegunn/fzf

Out of the box, would only help searching shell commands that have been run, so for files, things like “vim file.txt”, which is obviously not usually how files are edited (you’d use the file browser in a text editor or IDE)

However if you find a way to list all files on your system by modified time, you can pipe it to fzf for a slick fuzzy find search.

Maybe ag would work here too: https://github.com/ggreer/the_silver_searcher

[–] this_is_router@feddit.de 5 points 1 year ago

things like “vim file.txt”, which is obviously not usually how files are edited

You what mate? Don't assume my workflow. "vi file.txt" is obviously superior to clicking inside some texteditor or file browser

[–] astraeus@programming.dev 4 points 1 year ago* (last edited 1 year ago)

I can’t tell you the number of times I have in fact edited files using vim even with a WM and DE. I just treat my laptop like it’s a server I connect directly to now

Oh, or even better how many times I used the terminal in VSC to vim edit something 😂