-
This plugin currently uses This is what it may look like with And with |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 1 reply
-
Hi @kidonng, thanks for the suggestion. I've been against configurability/extensibility of fzf.fish since I envisioned it. Instead, I favor simple but opinionated code, installation, documentation, plug-and-play functionality, which ultimately means less work for everyone and a lot less work for me as the only maintainers of the plugin. However, I am starting to change my mind. Both the tl;dr sorry not right now but it's not a bad idea and I'm probably going to do it! |
Beta Was this translation helpful? Give feedback.
-
Note that opinionated code can cause breakage and shifts the work to users, because they need to build around the limitations of the plugin. This makes the plugin more brittle and inflexible. For example, the PR #67 breaks preview for users who link |
Beta Was this translation helpful? Give feedback.
-
@stephan-hesselmann-by true. I've always admired opinionated software but perhaps this is the wrong type of software to be opinionated. |
Beta Was this translation helpful? Give feedback.
-
I think shell plugins in general will attract users who like to tinker a bit. So while I like sensible defaults to get "plug-and-play functionality", I also appreciate some flexibility in configuration. So I like the idea of adding something like |
Beta Was this translation helpful? Give feedback.
-
Very true: I can expect fish plugin users to want to tinker. Good job, Stephan, you've convinced me to change my vision for this plugin in the span of 10 minutes. |
Beta Was this translation helpful? Give feedback.
-
Pardon my rudeness, but this is a bad example. exa's website clearly states that it is not a drop-in replacement for ls. And modifying coreutils is generally not a good idea. That said, I totally agree with your opinion. Having a strong dependence on "third-party" programs (except fzf itself) may lead to more breakages. |
Beta Was this translation helpful? Give feedback.
-
another thing that would be nice to have is not just So we could do things like
Related to #66 as I also ran into that issue. |
Beta Was this translation helpful? Give feedback.
-
Hey @dessalines, can you clarify what you want to do with FZF_DEFAULT_COMMAND? |
Beta Was this translation helpful? Give feedback.
-
Mainly turn off |
Beta Was this translation helpful? Give feedback.
-
Hmm what's tough about using |
Beta Was this translation helpful? Give feedback.
-
Hi @kidonng @stephan-hesselmann-by @dessalines, I'm sorry to backtrack but I've changed my mind about making search files more configurable. What happened was I discovered CLI file managers and I realized they solve a very similar problem of navigating directories, previewing files, and opening them a million times over and in ways better than fzf.fish ever can without me making it a full time job. There are just so many options available I don't really want to add another one into the mix and compete with them when I can just outsource work to them:
I know @kidonng said they can't integrate as well as a native fish plugin but I think the benefits they provide tend to outweigh the benefits that a native fish plugin can. Another reason I changed my mind is I want to be able to focus on adding features other than configurability into fzf.fish. Configurability might be easy to add, but it can double time for testing as I'll need to test both the default path and the configured path. It can also lead to a lot of questions/bug reports from users caused by misconfiguration which will also sap at my time. Anyway, however, I realized adding support for exa isn't a big deal and makes sense since exa is so popular, nearly as popular as fd, so I will probably do that. |
Beta Was this translation helpful? Give feedback.
Hi @kidonng @stephan-hesselmann-by @dessalines, I'm sorry to backtrack but I've changed my mind about making search files more configurable.
What happened was I discovered CLI file managers and I realized they solve a very similar problem of navigating directories, previewing files, and opening them a million times over and in ways better than fzf.fish ever can without me making it a full time job. There are just so many options available I don't really want to add another one into the mix and compete with them when I can just outsource work to them: