Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ranger]

For questions about the ranger CLI file manager for Unix-like systems.

1
vote
0answers
9 views

Ranger refuses to open in $HOME when opened with DWM shortcut

I'm currently using DWM as my window manager, and for convenience I'd like to be able to open a seperate instance of my terminal (ST) that automatically opens ranger for me. I mapped a custom ...
0
votes
1answer
99 views

Open ranger File-Manager in specific Directory

I use ranger as my file-manager and was looking for an option that i can pass to ranger, that let‘s me open ranger in a given directory, something like ranger —specfic-directory=„/home/tim/literature/„...
0
votes
0answers
129 views

Is it possible to navigate into zip files with Ranger?

I'm starting to use Ranger file manager, but I'm missing a nice feature present in Total (and Double) Commander that I really like. It is the possibility of navigating into zip files (and other kind ...
0
votes
1answer
1k views

How to change the default document viewer in ranger?

How do I change the default document viewer in the file-manager "ranger"? By pressing [R] it is only possible to choose how to open the document for this one time, but the choice will not be safed. E....
6
votes
2answers
2k views

How to open a file in ranger as root?

How do I open a file in the file-manager "ranger" with superuser rights? While ":open_with vim" opens the file as none root with vim, I am looking for something like ":open_with sudo vim", but that ...
2
votes
2answers
423 views

How to force ranger to edit html files?

I am using ranger and every time I try to edit an HTML file ranger will open that file with the browser instead of editing it with Vim. How can I force ranger to edit HTML instead of loading them in ...
3
votes
2answers
4k views

How to move directories in Ranger?

I'm using Ranger file manager. I want to move selected (marked) directories to the path provided. I've been moving directories using dd and pp but it requires the user to go to the destination ...
4
votes
2answers
2k views

unselect items in Ranger (file manager)

I am using the Ranger file manager, and I like it quite a lot. I often use the :mark command to select specific items in the current folder. And now comes the problem: Once I am done doing whatever I ...
2
votes
1answer
2k views

ranger not opening pdf files?

My pdf reader is mupdf. It works and is on my PATH. My rifle.conf is (relevant part): #------------------------------------------- # Documents ...
1
vote
1answer
379 views

How to define new commands in the ranger file manager?

I would like the ability to define new commands in the ranger file manager by typing something like: :newcmd myarg and run arbitrary code with it. The command definition should also have access to ...
17
votes
6answers
7k views

How to exit the Ranger file explorer back to command prompt but keep the current directory?

I am using Ranger terminal file explorer from within a linux terminal. Say I start from command prompt in home directory and launch ranger user@/home/user $ ranger ranger opens..... and within the ...