4 ms·
One slight difference: fzf is cross platform, whereas I believe his solution is not.
by BeetleB 4y ago
One slight difference: fzf is cross platform, whereas I believe his solution is not.
- db48x 4y agoEmacs is available on many platforms; why wouldn’t you think that this will work on all of them?
- Fnoord 4y agoShould be as cross-platform as Emacs and Bash are: very cross-platform. And the Bash wrapper (ezf.sh for ezf.el) could probably be rewritten in say Powershell. Fzf is written in C, and there's a Rust implementation called skim (sk). Each of these seem very cross-platform. But the advantage this solution has is that you stay within the Emacs ecosystem with Emacs syntax/keybinds/colors etc.
- deleted 4y ago[deleted]
- hrkipp 4y agoUmm, fzf is written in go, not C.
- ducktective 4y ago>Fzf is written in C That would be fzy : https://github.com/jhawthorn/fzy https://github.com/jhawthorn/fzy
- BeetleB 4y agoI suppose I should have been clearer: The submission is on how to get fzf behavior in Emacs without using the various fzf related packages for Emacs. Emacs is cross platform. fzf is cross platform. Presumably the fzf packages for Emacs are cross platform, but I haven't checked. If any of them are, then I can have the same setup for Windows and Linux (I use Emacs on both). With this solution, I'd need to have a different script in Windows and Linux (I don't use WSL - Emacs works quite well without it). So by cross platform, I meant "Copy config from one platform to another and just have it work".
- deleted 4y ago[deleted]
- xcambar 4y agoAs the adage goes: Emacs is an Operating System with a somewhat decent text editor embedded. This solution is just as portable as Emacs. Very, very portable.