Hello ๐
danisztls / fzfx Goto Github PK
View Code? Open in Web Editor NEWfzfX delivers the power of finding, previewing, editing and managing any file in few key strokes.
License: Other
fzfX delivers the power of finding, previewing, editing and managing any file in few key strokes.
License: Other
Hello ๐
Instead of having multiple modes for fd (f, fhidden, fmd, fpdf, etc) I want to merge those in a single mode with a single query constructor supporting dynamic filtering. So user can just run f
and then press a bind to include hidden files or another to filter for file type and even use more than one filter at the same time.
As I found file extension filtering is somewhat redundant as a .md
on the query string would filter for files with that extension but miss those that might be named .MD
or .markdown
.
Additionally user should be able to filter for files or directories but that might be problematic to do in a single mode due to preview incompatibility between both.
This was inspired by some of the suggestions made by @se7en-x230 on #7.
Implement previewing images (if reasonably possible) using applications like catimg or a the native graphics protocol supported by the user term.
When running fzfx ps
, the preview window appears on the right which isn't very helpful. From the screenshots in the README I'm assuming this is not supposed to appear.
I have made no configuration changes from the default fzf
package installed from Arch. I tried running the command after removing the fzf plugin from oh-my-zsh, deleting any relevant fzf
lines in my .zshrc
.
Greenclip is a "simple clipboard manager to be integrated with rofi."
Let's integrate it with the command line.
As it can lead to tragic mistakes the trashing file shortcut should be renamed to some combination instead of just DEL
.
^DEL
aka ctrl-DEL
, shift-DEL
or any variation of DEL
is not supported by Fzf.
^D
is not a good alternative as it is the end of transmission bind used extensively on CLI.
So I'm thinking on using shift+alt+D
.
Uni is a tool to "query the Unicode database from the command line, with good support for emojis."
setup refers to a 'config' file which doesn't exist
I would like to add Trash/ and pCloudDrive/ to the ignore list. I did add them to the end of the list but fzfx still shows them.
What am I doing wrong?
Fulltext mode is hanging when opening a file. What is happening is that queries aren't getting aborted so Fzf hangs in the background waiting queries to finish. Bug is difficult to observe but I think I fixed it.
If it is observed again I can try to:
&
to paralelize file openingkillall
Moving directories with fmv
currently isn't practical as it's almost impossible to select one in the first place as the results would be polluted by all the files contained in it.
Hopefully #14 will solve it.
Instead of having to run fmv
or fcp
to move and copy files user should be able to invoke a move or copy action for the selected file/directory when in the default mode file search mode.
Is it possible to toggle on/off hidden files or at least make them default on?
very nice tool by the way.
This is a popular install method for Zsh users as myself.
This is trick because currently it's written in Bash. My goal is to make it OS/environment agnostic so Linux users with Bash only can use it and also Mac/Linux users with Zsh only. But I will not maintain multiple versions.
I've got root="$HOME"
configured in my fzfx config file. As a result of this however, fzfx cd
no longer works as expected. Running fzfx cd
and selecting the directory only results in the (relative) path printing to the console - it doesn't actually change the directory.
Example in bash - attempting to cd to ~/Games/Diablo2 via fzfx:
$ pwd
/home/dexter/Downloads
$ fzfx cd
Games/Diablo2
$ pwd
/home/dexter/Downloads
fzfx version: fzfx-git v1.1.3.r1.g7b862da-1
Bash version: 5.1.4(1)-release (x86_64-pc-linux-gnu)
OS: Arch Linux x64
Switching between sources is not problematic as only the query would change and Fzf even have an example of it on the README.
FZF_DEFAULT_COMMAND='find . -type f' \
fzf --bind 'ctrl-d:reload(find . -type d),ctrl-f:reload($FZF_DEFAULT_COMMAND)' \
--height=50% --layout=reverse
But switching between modes like conventional file search to ps
, cd
, cp
, mv
is another story.
One difficulty is dealing with source/mode specifics. Having a complex spaghetti codebase that is difficult to maintain and improve is not desired.
Hi, so I found the file I want and now I want modify it, how do I do that directly/quickly?
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.