I'm using Ranger to navigate around my file system.
Is there a shortcut where I cd into a folder without leaving Ranger (as in open bash with a location of a folder found by navigating in Ranger)?
I want to create a new file or directory with ranger. I suppose I could use mkdir or touch, but I'm not sure if these would go in the current directory as viewed in ranger.
When I select multiple files within ranger (using or V), how do I move these selected files to another directory?
I've tried to use dd and pp, but this only moves the file that's currently highlighted.
I haven't found an advanced tutorial on ranger yet, so my question is: is it possible to execute a command on a selection of files in ranger?
If so, how would I do that?
Currently, ranger will only open text files with nano, and I want it to open them with vim.
As per the Arch Wiki I have tried adding
has xdg-open, flag f = xdg-open "$1"
ext txt = vim "$@"
to rifle.conf, but that didn't work.
What does the red star mean in the Ranger file navigator?
Result of running ls -la in same directory:
drwxrwxr-x 2 philip philip 4096 Oct 18 23:45 .
drwxrwxr-x 5 philip philip 4096 Oct 18 23:36 ..
-rw-rw-r-- 1 philip philip 82 Oct 18 23:44…
I have seen some screenshots where ranger uses syntax-highlighting in its preview window. So I was wondering how to enable this feature and found out that I need the scope.sh file in the directory
/home/user/.config/ranger/scop.sh,
which will be…
When I open a file into ranger with a GUI application not listed in the rifle.conf file (i.e. using the open_with command), the ranger terminal window gets "suspended" until I close the GUI app.
For this reason, I'd like to have a way to open files…
How can I preview PDFs as images in ranger? By default it uses pdftotext (in the scope.sh preview configuration file), but I would like to use pdfimages, pdftoppm, or another graphical solution instead.
The ArchWiki suggests a method using pdftoppm,…
At the moment I am constantly changing the rc.conf and rifle.conf files, but every time I want to test the new configuration I need to exit ranger and start again.
Is there a solution for this?
In vim I use :source ~/.vimrc to reload the…
Say that I have the following files in the current directory :
aa01.txt
aa02.txt
bb01.txt
bb02.txt
cc01.txt
...
Is there a way I can search for a given pattern and select ALL the matching files at once (not just selecting the first matching file…
When I move files and paste in another location, sometimes I make a mistake typing yy instead dd. Then I can't find any means to cancel the copy operation.
When I open a shell in ranger with shift-s, open vim and then open a shell with :sh or open a new shell tab with ctrl-shift-t, my xmodmap keybindings (swapped caps lock and escape keys) are reset. This is what the terminal spits out:
xmodmap: …
I would like to sort the files in my Screenshots folder by date, so I added the following to my rc.conf:
setlocal PATH=~/Screenshots sort mtime
setlocal PATH=~/Screenshots sort_reverse False
But it does not seem to work. Did I make a syntax…
I like the image-preview in ranger, but I also like my terminal transparent.
Is there really no way to get the image-preview work with w3m and transparent background?
(I'm willing to change my terminal-emulator if that's necessary, currently urxvt)