Live data from Hacker News

Superfile – A fancy, pretty terminal file manager

github.com

121–130 of 219 posts

Re: Superfile – A fancy, pretty terminal file manager

#121
post #101

Love all the terminal tooling that's come out in recent years. I'm this close to chrome and rofi being the only gui I'm using on my work machine. This looks great!

A lot of the new tooling is in Go, superfile included. Noticed this after I started using LazyGit (incredible tool btw, I can't go back to anything else even after being a die hard Magit user for years) There's some stellar libraries in Go for terminal stuff, in particular anything from charmcli. They have an elm style TUI framework called bubbletea (which superfile uses), a styling library, prebuilt components, it's…

They are VC backed now which makes me wonder if they will do a license switch later or something else to monetize...

https://news.ycombinator.com/item?id=38126060

Re: Superfile – A fancy, pretty terminal file manager

#122
post #110

The first thing this app does is connect to Microsoft servers to download theme files, which for some reason aren't bundled into the binary. If you block it from accessing the internet, it crashes.

That's pretty bad for a terminal utility and file manager. The thing should never, ever connect to the internet for anything unless explicitly told to by the user. I didn't notice this, thanks for pointing it out.

Re: Superfile – A fancy, pretty terminal file manager

#123
post #98
post #94

Earlier quoted context omitted.

This is my biggest complaint with keybindings on Linux/Windows, that Ctrl means “escape codes” in terminal emulator applications and “window/UI operations” in every other application. By contrast, in macOS all the window/UI keybindings are typically Cmd (Cmd-W) which means that GUI applications attempting to layer on vi keybindings don’t have to also audit all the Ctrl keybindings that might be doing something wildly…

Configurable windows managers on Linux let you code a “super” key. I like the Window key, since it serves no other purpose, and never overlaps with default bindings on Linux. So the Cmd/Ctrl split on Mac maps nicely to the Win/Ctrl split on Linux.

Super is the "Windows" key (or the Command key), it's the "mod key" that can then be set to super or alt/meta or whatever.

For the reasons you suggest (WMs often heavily using the super key), I would not want it to be used in the macOS way as I have a few dozen keybinds I'd lose or have to remap then. Stuff like focusing or moving windows or workspaces. Emacs can also make use of the super key, though I don't know if it has anything bound using it by default.

The macOS approach is cool and makes some sense, but I wouldn't want it forced on me, and I'm kinda glad I didn't imprint on it.

Re: Superfile – A fancy, pretty terminal file manager

#124

Earlier quoted context omitted.

I do wish though that terms had multiple font sizes (with some limitations to make it "work"), to allow larger text but smaller gutters, etc. Aside from the general inefficient use of space, i adore terms. I do wish and hope more apps become like Zellij, though. With possible keybinds on the bottom, etc. I tend to avoid TUIs because i can't be arsed to remember the keybinds and prefer to just use CLIs since those are…

I think emacs have multiple font sizes/weights/families support (called font faces) and that's a reason people love it. The thing I like about term is that you're not confined to a single computer. You only need SSH to replicate your workflow anywhere (and a VPN, maybe). TUIs work better when you're committed to the workflow. Discoverability is not often one of the key features (although most seem to have great help…

Emacs is one of the best GUI programs because they add functionality on top of the terminal version, like image support, different font sizes at once, and the window separators not being part of the text so highlighting text quickly is easier, but it keeps the first-class keyboard support it's always had.

I think the average GUI was designed for mouse-first and the lowest common denominator, so it'll generally never be as good. It's similar to how irssi and weechat are top-tier chat programs, but nothing in the XMPP or Matrix world really seems as good.

Re: Superfile – A fancy, pretty terminal file manager

#125

Earlier quoted context omitted.

[flagged]

GUIs are nice for exploration because you can (in principle) intuitively iterate through the application behaviors, but command line interfaces are far superior when you already know what you're doing.

Digging through menus can be pretty frustrating. A way to search available commands and options would be ideal. Something like Emacs's M-x prompt suggesting commands as you type, and if you see nothing relevant you can try a different term. Even the basic actions the default keybinds do have equivalent commands you can run.

I've heard of a setup relying on Unity's old global menu feature that then lets you use something like rofi to search all the menus in a GUI program at once, but sadly never got it working. Sounds like a dream. You didn't have to actually use Unity, just make programs think you were, presumably so they'd expose the information the right way.

Re: Superfile – A fancy, pretty terminal file manager

#126
post #28

If didn't read the docs, noticed hkjl moved around, and accidentally deleted 3 folders with ctrl+d seeing if I could scroll down faster. Scary defaults if you have Vim muscle memory.

I used vim for 5 years and never knew about C-d for scrolling until after I had switched to Emacs and one day, on a whim, decided to install and activate evil and look what various commands were bound to. I removed evil immediately afterwards as 5 years of vim taught me to hate modal editing with a passion.

Re: Superfile – A fancy, pretty terminal file manager

#127
Based on the comments here about weird inconsistent keybinds and accidental file deletions, I won't be trying this for now, but I will keep an eye on it. I use ranger very heavily every day, but it being slow pythonware is sometimes a problem with extra large dirs and when changing the sort mode often. lf is too barebones for me, I don't know how to recreate everything I'm used to from ranger. Something fully-featured but faster than ranger would be ideal.

If you're taking suggestions, making file copies use rsync under the hood would be great. I used to copy files over sshfs with ranger a lot and then found out the hard way that it was occasionally failing/being interrupted and then silently moving on in the transfer queue, so I had partial and corrupted video files it took months to notice. I do also use rsync for transfers a lot of the time, but sometimes you wanna move a bunch of files to different directories, and something like ranger is just faster and easier. Especially when you don't want everything from the source on the destination for space reasons, so can't just rsync whole dirs to grab the new stuff.

Re: Superfile – A fancy, pretty terminal file manager

#128
post #28

If didn't read the docs, noticed hkjl moved around, and accidentally deleted 3 folders with ctrl+d seeing if I could scroll down faster. Scary defaults if you have Vim muscle memory.

Btw, this is not actually deleted, but put in the trash can. But it seems that this hotkey is not good for many people. It may be changed in the next version. Thanks for your feedback.

In ranger, dd is cut/mv and dD is delete, but dD on one file spawns a command with :delete typed in so you have to hit enter to pull the trigger, and doing it with multiple files has the same behavior plus adds a y/N prompt asking if you're sure you want to delete those specific files. This is enough friction to prevent most mishaps, but not enough to be annoying. I would suggest taking inspiration from this.

Re: Superfile – A fancy, pretty terminal file manager

#129

Love all the terminal tooling that's come out in recent years. I'm this close to chrome and rofi being the only gui I'm using on my work machine. This looks great!

[flagged]

As someone that used to agree with you, I’ve come to admit there are benefits.

Information density and shortcut availability are two of the big ones.

But the biggest for me is composability. I can query any data using their cli and open it in visidata nearly instantly. Just pipe it in. The interface is awesome compared to other query viewers I’ve found. It makes it easier to drill in and see results. Quick pivoting, Filtering and more

Re: Superfile – A fancy, pretty terminal file manager

#130
post #50

Earlier quoted context omitted.

Because terminal programs have limitations that limit the amount of annoying things programs can do. The color scheme matches the color scheme I set. They cannot change the font size nor the the font. They cannot spawn windows that will steal focus. They can run inside tmux which has advantages for my workflow. Hotkeys are a first class citizen and not an afterthought when it comes to terminal uis. That being said, I…

I do wish though that terms had multiple font sizes (with some limitations to make it "work"), to allow larger text but smaller gutters, etc. Aside from the general inefficient use of space, i adore terms. I do wish and hope more apps become like Zellij, though. With possible keybinds on the bottom, etc. I tend to avoid TUIs because i can't be arsed to remember the keybinds and prefer to just use CLIs since those are…

Check out helix for a good example of this too. Not quite as visible, but entering certain modes gives you a list of available shortcuts you can use from there.

Space for example opens a list with ten or twenty commands that remind you how to open the file picker, open editor list, problems window, etc…

Post reply on HN