Live data from Hacker News

Antonmedv/walk: Terminal file manager

github.com

21–30 of 40 posts

Re: Antonmedv/walk: Terminal file manager

#21
post #16

Nice. I ended up using fff + a little script that pops you to where you select, but I'll see if this is more elegant. I don't know about y'all, but my biggest problem with these things is that I'm definitely faster when I remember to use them, but I have literal decades of slow muscle memory that makes me cd/autojump all the time instead. (Relatedly, why is Dolphin apparently the only GUI file manager trying to make…

My reluctance to use these nice modern shell utilities stems from the fact that if I come to rely on them, I will drive myself crazy trying to use them in places where they are not available and never will be. (I routinely log into various hosts to poke around and troubleshoot.) It's more worth my time to be as efficient as I can with the tools that are included out-of-the-box with most standard Linux and *nix OSes.

(But I can see utilities like this being useful for people who only rarely have a reason to SSH into other hosts, which is most developers I suspect.)

Re: Antonmedv/walk: Terminal file manager

#22
post #12

Shameless plug: Elvish is a shell with a filesystem navigator built in - you can see it in demo 5 on the homepage https://elv.sh

i have been looking at elvish from time to time (ever since we met in beijing :-). but i am missing two key features:

autosuggestion: type something and then suggest a command from the history that matches what i typed.

non-incremental history: if the autosuggestion is not the right one, use arrow keys to search for a better one.

fish has both.

zsh has a module for autosuggestion. but if the suggestion is wrong then i have start search and retype what i just wrote. i want to avoid having to type twice.

another feature i am looking for is renaming files in place:

instead of: 'mv oldname newname;' i want something like 'rename oldname; enter;' and now allow me to edit 'oldname' into 'newname'. very often the filenames are long and i only want to change a few characters in it. having to retype the whole filepath when using mv can lead to errors.

Re: Antonmedv/walk: Terminal file manager

#25
post #5

Neat project! Thanks for sharing! "broot" also lives in this space, but is rapidly getting too complex for me to memorize without consulting the help page.

+1 for broot[1], it works so fast and can be used even to fuzzy search sub-sub-directories. I'm also bit lost on the features but the help is quite good and mostly I use it just to find a directory and enter it, which requires only one keyboard shortcut.

[1] https://github.com/Canop/broot

Re: Antonmedv/walk: Terminal file manager

#26
This thing is amazing... does everything I want, it is perfect! Love it! Opens in NVim, if I exit, I am back in the file manager... just brilliant. Also exit with Esc to folder you are looking and ctrl-C to original... very cool.

I am really a simple man, what can I say.

Re: Antonmedv/walk: Terminal file manager

#27
post #21
post #16

Nice. I ended up using fff + a little script that pops you to where you select, but I'll see if this is more elegant. I don't know about y'all, but my biggest problem with these things is that I'm definitely faster when I remember to use them, but I have literal decades of slow muscle memory that makes me cd/autojump all the time instead. (Relatedly, why is Dolphin apparently the only GUI file manager trying to make…

My reluctance to use these nice modern shell utilities stems from the fact that if I come to rely on them, I will drive myself crazy trying to use them in places where they are not available and never will be. (I routinely log into various hosts to poke around and troubleshoot.) It's more worth my time to be as efficient as I can with the tools that are included out-of-the-box with most standard Linux and *nix OSes.…

100% this. my current activity is spread over half a dozen machines, and i create a new one for every dev project. i want to minimize the amount of setup i have to do to get things working. this is also the reason why i learned VI. because at the time emacs was not available on all the unix systems i was working on, and it wasn't easy to install.

if a tool is very good and it's available as a linux distribution package then i'll use it because i can rely on it being easy to install. but if that's not the case, more often than not it's not worth the effort.

Re: Antonmedv/walk: Terminal file manager

#28
post #20
post #6

This is the default behaviour of fish[1], by the way! [1]: https://fishshell.com

Can you say more? AFAIK, fish doesn't have an interactive fuzzy cd built-in.

it works a bit differently i think, but it does have a fuzzy search. if i type "cd ae[tab]" then fish will list all directories with the letters a and e in them, except when there are entries that start with "ae" then it will only show those. that is fuzzy search only comes when there are no better matches.

Re: Antonmedv/walk: Terminal file manager

#29
post #21
post #16

Nice. I ended up using fff + a little script that pops you to where you select, but I'll see if this is more elegant. I don't know about y'all, but my biggest problem with these things is that I'm definitely faster when I remember to use them, but I have literal decades of slow muscle memory that makes me cd/autojump all the time instead. (Relatedly, why is Dolphin apparently the only GUI file manager trying to make…

My reluctance to use these nice modern shell utilities stems from the fact that if I come to rely on them, I will drive myself crazy trying to use them in places where they are not available and never will be. (I routinely log into various hosts to poke around and troubleshoot.) It's more worth my time to be as efficient as I can with the tools that are included out-of-the-box with most standard Linux and *nix OSes.…

I agree to an extent. But then again, I already rely heavily on aliases, functions, vi-mode, command history, and many other shell features, that it's painful to use a barebones shell to get any work done. So I have a small snippet I run on every new environment, to make the experience a little more enjoyable. This includes installing some required tools, copying over bash or zsh configs, the tmux config, etc. It doesn't take more than a minute, and beats struggling with the default environment.

Adding this tool wouldn't be an issue if it greatly increases my productivity.

Post reply on HN