Questions tagged [ranger]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
23 views

Ranger image preview not working in URXVT running Fish shell until I open an image in Feh

I recently started using the Fish shell, and after opening a new URXVT instance I cannot get image previews in Ranger until I open an image first (using feh, in my case). Once an image has been opened ...
0
votes
0answers
44 views

Ranger opens file with NeoVim in a new windows instead of the current one

When Im trying to open some files for example .m instead of "transforming" the current terminal into vim. Ranger opens a totally new terminal and it opens it there in vim. That does not ...
0
votes
1answer
152 views

Where is the executable file of Kali Linux on Windows?

I would like to add a shortcut in Windows10 using DisplayFusion to launch WSL Kali Linux and directly open the file manager ranger. Example: This works quite well for launching a new firefox tab: ...
2
votes
0answers
147 views

How to make ranger's image/pdf preview persist in terminal?

Just got image/pdf preview working in ranger, but I've noticed that when moving my mouse away from the ranger terminal window, the preview disappears. More annoying than this is that you can't run ...
0
votes
1answer
105 views

Scrambled text preview of pdf files in ranger

I'm using ranger to preview/open and rename a number of pdf files. However if the file is open and I navigate back to the terminal window running ranger and then scroll to another file, the text ...
2
votes
1answer
64 views

What is ranger's show_hidden_bookmarks setting good for?

Ranger's man page states: show_hidden_bookmarks [bool] Show dotfiles in the bookmark preview window? (Type ') I played around with it but can not figure out what it actually does. My bookmark ...
0
votes
1answer
160 views

How to used copied file name using “yn” command in ranger

I am using ranger file manager and I came across a command to copy the filename. How do I use this yank file name in other command? I mean, read from clipboard. I tried using Shift+Insert. I am not ...
2
votes
1answer
84 views

Ranger file manager: how to cycle through files

I am trying to edit my ranger config so that the "cursor" can cycle through files, meaning that basically: when the first item (file/directory) is selected and you press k or ↑ you go to the ...
1
vote
1answer
972 views

Ranger image preview not working on Iterm2

I could not make ranger preview images on iterm2. I have set set preview_images true and set preview_images_method iterm2 in ~/.config/ranger/rc.conf. but a broken image appears. Have anyone ...
0
votes
2answers
2k views

How to copy file path with ranger on SSH

I login into my machine via SSH, and use Ranger as a file manager. When I use commands of copying file path like yn, the name is not copied to the clipboard. How can I make it being copied to the ...
2
votes
0answers
2k views

Customize file colors in ranger terminal file manager

I've been using ranger for a couple of days now, and I started customizing it to my needs. I have now the devicons plugin which shows a glyphs next the file name, but I don't know where I can change ...
3
votes
1answer
4k views

Ranger file manager: how to mark files from:to

I'm using Ranger as my main file manager on ubuntu. What i'd like to do is select the first file in a list for marking/selection, then a last one and have all in between marked as well. Similar to ...
2
votes
4answers
5k views

Ranger : Open with vim in new window

Using : st, Ranger, vim, i3 With most files when I open them with ranger it opens in a new window. However, when I try to open a file with vim it opens it in the current terminal which is currently ...
1
vote
0answers
175 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
3answers
821 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/„...
4
votes
0answers
769 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 ...
1
vote
1answer
14k 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....
9
votes
2answers
5k 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 ...
5
votes
3answers
1k 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 ...
6
votes
3answers
8k 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 ...
11
votes
2answers
6k 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 ...
3
votes
1answer
3k 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 ...
2
votes
1answer
1k 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 ...
42
votes
9answers
20k 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 ...