Superfile (spf) is a fancy, modern terminal file manager written in Go that has genuinely changed my workflow, especially for server management over SSH. In this guide I go over installing it, all the core hotkeys, selection mode, file operations, sorting and searching, pinned folders, and how to customize the config, hotkeys, and themes. It's a really nice balance between the speed of the CLI and the creature comforts of a graphical file browser. Links and resources are down below.
0:00 - What Superfile Is and Why I Switched 0:45 - Overview and Install 1:24 - Running It Over SSH 2:01 - Sponsor 3:19 - Hotkeys and Panel Navigation 4:24 - Hidden Files and Movement Keys 4:35 - Opening and Editing Files 5:10 - Pinning Folders to the Sidebar 5:31 - Sorting Files 5:59 - Searching 6:29 - Selection Mode 7:16 - Copy, Cut, Paste, and Rename 7:44 - Creating Files and Folders 9:06 - Config File Options 10:29 - Custom Hotkeys 10:48 - Themes 11:52 - Final Thoughts
0:00 Introduction and Installation
2:52 Navigation and Hotkeys
6:25 File Operations and Editing
8:56 Configuration and Customization
10:49 Final Thoughts
Superfile is a high-performance, modern terminal file manager written in Go. It blends the speed of a command-line interface with the visual utility of a graphical explorer, featuring a customizable TUI, multi-panel support, and a robust system of keyboard shortcuts to streamline file management and server administration.
In this video,
what we're going to be doing is going over a tool that I have been using that is
changing my workflow and causing me to spend a lot more time in the terminal.
And this is it right here. You could see it looks really nice,
has an absolutely beautiful UI. It's very easy to navigate.
There's a whole bunch of keyboard shortcuts. Uh,
this column or this section right here in the middle is our actual file explorer
off to the side there. You see the preview window.
So if I actually go down and hover over one of these videos here,
we can get a preview of what's going on. Uh, if I jump over here,
this is the sidebar where we can actually navigate to some of these folders and
you can see, I can see screenshots and previews of just about everything.
You have the made data, you have processes,
which is processes actually running through this. We'll,
we'll get to that and we have a clipboard. And if we go and jump over here,
this is their website. Super file,
a fancy modern terminal file manager sports all the big systems.
It's an MIT license written in go. So I have a little bias towards it.
It's written with a bubble tea,
which is a fantastic stack to build off of.
If you're going to build a terminal emulator or a terminal TUI terminal user
interface,
you can do just about anything that you need to do within your graphical file
manager. It's customizable. You can set up multiple panels,
it has plugins and theming support and installing it is actually pretty easy.
If you are in Linux,
you just use this SH script right here and they have instructions no matter what
system you're on. You jump back over here.
I'm going to hit escape to go ahead and get out of there.
I just installed it on this desktop,
but can actually SSH into another machine that I know I'm going to want to run
this on. There we go. We're in.
So all I need to do is run this command type in our password and now we could
type S P F to go ahead and dive into files. You'd see,
thank you for using super file gives you some information and stuff that might
be relevant. Hit the little question mark anytime we want,
but that's about it. That's how you get it up and going.
So we're going to dive into that a lot more, show you more of a demo,
go over all the hotkeys commands, all that, a full tutorial. Real quick,
big thanks to Juano for sponsoring today's video.
Running two monitors on your desk with bulky stands is a problem you may have
experienced and the Honolulu flow lift pro monitor arm here in a dual
configuration has been absolutely solid in my studio here for a couple of weeks
now,
both arms clamped to the back of the desk with the instant mount and the one
click install system makes it take roughly 10 minutes to get all this mounted
and positioned. A big upgrade is the Mecca spring.
Most arms use a gas spring, which loses pressure and droops over time.
This one uses a mechanical torsion spring instead tested for 50,000 lift cycles.
There's no sag, no shaking, even when you lightly bump the desk.
And that is the lock steady doing its thing.
Tension gets dialed in through a yellow indicator ring in the precision view
window.
So instead of guessing the right tension for the weight of each monitor is
visible at a glance. Plus that's ACA endorsed for ergonomics,
which is fantastic for me because I sit here, but feels like all day.
But if you do need a new monitor mount, that will be the first link down below.
I highly recommend it. And it's a pretty good price on Amazon right now.
And if you use the code HN tech hut,
you can save a little bit of additional money at checkout.
It'll be the first link down below.
Now we're going to do is cover some of the usage and what I really like about it
is the actual hot keys. The default ones are simple,
but you could change it if you want to,
if you're more comfortable with the VIM hot keys, so on and so forth.
So for example, actually getting out of here,
I can just hit escape or Q to quit out and actually navigating.
This is pretty simple. So if I go and hit S it's going to go over to the sidebar.
If I hit S again, it goes right back to our middle section,
our actual file browser. If I hit P it's going to go out and focus on the
processes. If I hit M it's going to focus on the metadata. And if I hit colon,
it's going to open up the prompt.
And this is cool because then you can run commands such as open a CD.
Now, if I want to create new panels,
all I would need to do is hit N and you can see we're creating actual new panels
to go ahead and explore files.
And we can use that just to get a nice overview and see everything that's going
on. Now, if I hit W, it's going to go ahead and close those out.
If I open up couple again,
and then you can hit tab to go ahead and actually navigate in between all of
these. Now, real quick, if I close some of these out,
one thing that we can do is a period is going to show all your hidden files and
directories and actually moving up and down.
I just use the arrow keys or you go ahead and use K and J.
Now, real quick,
I went back to my local system because that's going to be a better example.
If I go over here and let's say I went to get hub under docs and I am to hit
enter.
What that's going to do is actually open up the file in whatever your default
application is. Alternatively,
if you just kind of want to stay in your terminal,
what you could do is hit E and what that will do is open up your default
terminal text editor, whether it be nano VIM, whatever.
So let's get out of here. And of course there on the side,
we could see a previews of just about everything, which is a really nice.
Now,
one thing I want to do is actually add some folders to that little pinned
section on the sidebar.
So what I can do is go back and I want this entire get hub folder there.
So all I need to do is hit shift P.
Now you can see that that is pinned, which actually I did that wrong.
I'm going to hit shift P again,
go into the get hub directory and then shift P and there we go.
Now real quick, I want to show you how to actually sort files.
All you need to do is hit O and then you'll have your sort options here.
You can see size, modified type. If I go size, for example,
you can now see if I scroll down here,
all of these are rather large file sizes.
Now if I want to reverse the sort,
all you need to do is do a capital R and you can see that that's now reversed.
I'm going to hit escape real quick just to go back in fresh.
And we're going to talk about searching and this is really nice.
All we do need to do is a forward slash.
You can see now we have the little search selected. It says type something.
Let's say I wanted to find a read me. You can see there's nothing there,
but then if I searched maybe iOS, iOS audit,
we can find those things. So it's not recursive through your directories.
It's for a single directory. But if I hit escape,
it's going to go out of the search functionality.
Now what I'm going to do is talk about selection mode.
And so what I need to do is just hit V.
Now if I wanted to select everything in the entire directory,
I could just do shift a and you can see everything selected,
but I don't really want to do that.
Let's say I wanted to select all of these screen recordings.
What I could do is hit V and you could go and hit enter, enter, enter,
enter, select them all. Or if I hold shift and go down,
you can see it's going to select things that way.
So I'm going to start deselected, hold shift,
and then go down and you can see it's going to select all the files that I
actually want to. We went a little too far there. So I'll,
I'll quickly deselect the things I didn't mean to.
If I hold shift and go up, bam, bam, bam, bam, bam, bam, bam, bam.
And now while I have all these selected amounts,
we'll show you some of the file operations. Now these are pretty simple.
Control C for copy X for cut V for paste.
So you can rename files and things with R or control R.
Now let's say all of these, I want to cut them. So let's go control X.
They're cut and you can see down there.
I have a bunch of items in my clipboard.
Now I'm going to hit V to get out of that selection mode.
And first we're going to create a new folder for me to paste all these into and
do that. We're going to make a new file or new folder.
It's kind of the same thing. So control N.
So here I can just type the file name or if I see add the forward slash,
it can make a folder. So I could call this something such as a screen casts,
add the forward slash hit enter. And now that's a new folder.
So if I go up and actually find that folder right there,
jump on into a screen casts and then do control V boom.
I've moved all those files. You could even see they're in processes.
It successfully moved all of them. Now,
kind of same thing if I'm to go back here and let's do control N for new.
And this can be just a text example file text up, mark down,
go on down to that file.
And I can either hit enter or like we kind of showed earlier,
if I go ahead and hit E we're in nano and this is text output that.
And then if I reload that preview, you could see this is text.
If I do a control R you could see we are easily renaming that file.
So text new, just like that. And let's say I control C control V,
the same file you could see it makes a new one.
And then I could just easily rename this just like that.
And if I don't want either of these, I can hit control D control D and now they
are both deleted. And if you have multiple editors,
you can change the actual editor within the configuration,
which we'll get to. And there's actually some commands other than just getting
into it. So if we go SPF and we run a PL for example,
what that will do is it will list where everything is.
So our config file is here. Our hotkeys path is here.
So actually this is all under dot config super file.
So if actually you jump back in, if we hit the little dot,
we go into our dot config and then we go on down to super file.
You can see we have the theme, the config and the hotkeys.
And you can see over here in the preview,
some of the options that we have there now going into the config first,
I believe it's E to open up nano. There it is.
So here is where you would change that. I would just go nano.
It's already set for me. So we're good to go. We have the directory editor.
So for this, if I didn't want to try to open up like them,
I could do Nemo dolphin,
whatever your actual GUI file manager is auto update,
change directory on quit, which this one I'm actually going to set to true.
That does sound nice. So true, save that by default,
it's going to open a image and file previews,
but you can go ahead and disable that if you'd like to and completely disable
some of the panels. If you want it to be really lightweight.
And for default directory, we have our current working directory,
and you could go through and change a lot more variables and things.
A lot of stuff that we're not going to dive into every single one.
If I go ahead and back out of there, we have our hotkeys.
So if I open that up,
you can see how easy it is to change all of these right here.
And the hotkeys is actually a really nice way to go ahead and see what
all the different variables and all the different things that I didn't even
cover in this video that just the stuff that you can quickly and easily do with
it. So if I get out of there,
we also have the theme and you can see we have a bunch of themes already
pre-installed here. Blood, Dracula, hacks, Nord,
which I really like Nord. And I'm pretty sure you actually set your theme.
If I go back into config, there should be a theme variable.
Where is theme? There it is right here under styling.
So the default is Capuchin Mocha.
And if I changed it to something as such as a Nord output that you can see
there's other options here. I do recommend you use nerd fonts for this show.
Checkbox was selected. You can change a lot of different things,
but if I go ahead and get out of there and then let's relaunch it,
you can see we now have Nord and those configurations are now in place.
And of course they're just a simple config file.
So it's really easy to go and actually change the themes.
And you can kind of see that if we go back into our config under our super file
theme, you can see it's just base colors, color codes, things like that.
So that is what I've been using to browse and explore files for the last couple
of days, primarily on this Mac.
And as you can see I'm getting it over onto some other machines and I've just
been having a good time with it, especially for things like server management.
I'm really quick with changing directories and doing just like those super
basic Linux file stuff. But this is kind of like the best of both worlds.
It's a good balance between the quickness, the speed,
the efficiency of just doing everything in the CLI and some of the features and
creature comforts that you'd get from using an actual file browser.
So with all that, if you liked this video,
you might like one of my older videos where I go over a bunch of different,
really awesome terminal applications, TUI tools.
So that video will be on screen now. And with all that,
I do hope you have an absolutely beautiful day and good.