Skip to content

Does anyone use filemanager only with cli-based software like ranger or nnn? I'm trying, but I'm still not efficient, and using the mouse is faster, although it's more cumbersome...

3 points23 comments
Open on Reddit
About this post
Posted
Archived
Score
3 · 80% up
Kind
Text
ID
jbbesc

Author

23
posts
49
comments
0
media
View profile

25 comments

Author of file manager nnn here.

Can you please elaborate what you mean by I'm still not efficient? Do you mean you don't remember the shortcuts or are you facing any basic issue with navigation using a terminal file manager?

I would be glad to help if possible.

9 points

Thank you for coming

It took me a long time to learn the shortcuts and I felt like I was wasting a lot of time until I became more efficient, so I asked everyone about it.

The other reason is that I'm used to nerdtree and have to relearn the shortcuts when moving to nnn.(vim)

2 points

You don't really need to remember the shortcuts. For navigation the arrows suffice, Enter opens files, Tab cycles contexts. For the rest, you can always look up the shortcut list in nnn with ? till it becomes muscle memory in a few days.

What else do you do with nerdtree (which is a tree-based browser and file selector)?

3 points

but I'm still not efficient, and using the mouse is faster, although it's more cumbersome...

I don't see a problem with that. Everyone has to find their own workflow. Take vim as an example. For many, it is a gift from the gods with which they can work efficiently. Others (me, for example) are just slowed down because of the special way it works. Therefore I am much more efficient with other editors.

5 points

Indeed, I can say that. But only cui is so cool like hacker lmao

Joking aside, I don't want to use a mouse when I'm out and about because I only use laptops.

2 points
unknown author

I mostly just use the CLI. When you optimize your workflow with the right aliases, functions, scripts and fzf it is often more efficient than using a GUI/TUI-FileManagers.

Just recently I tried to use the lf-filemanager to see if it can improve my workflow. So far I see two usecases:

  1. Navigating and exploring unfamiliar directories
  2. Performing operations on multiple files/dirs where globing isnt efficient to use (although this can be handled by fzf in many cases).
3 points

If you are a vim user, I recommend vifm. Bindings like vim, bookmarks are like vim marks. You are as efficient in it as you are in vim.

2 points
unknown author3 hidden

Deleted before we saved it.

1 points

ranger is writtren by python

didnt it slow? e.g. big file or mount or something

1 points
unknown author

Deleted before we saved it.

1 points

I'm using midnight commander but it's not really CLI it is rather TUI.

1 points

Mostly just use find these days. -exec loops, precise control of the what and where, conditionals based on things like modify and access time ranges, and complete control of the output.

1 points

I use lf. Using the arrow keys is quite intuitive and fast for me. Then I unmapped most keys and made my own shortcuts like ctrl-c, ctrl-v for copy paste. Lastly I added my own commands (which is just shell script) for things like creating and extracting tars or using pywal on an image (which is propably my most used command). This is popably only faster when using the custom commands for archives instead of right clicking for a context menu if there even exist such an option.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.