You are not logged in.
Here is a screenshot of ranger previewing a text file on mine setup.
https://i.imgur.com/yWnxtCe.jpg
As you can see, the preview doesn't look very nice. Not only that, it also looks completely different to the terminal color scheme I'm using.
I've seen screenshots of ranger when text preview color scheme matched completely to the one of the terminal. How can I make mine match too?
Last edited by momu (2018-10-19 21:12:06)
Offline
Here is a screenshot of ranger previewing a text file on mine setup.
https://i.imgur.com/yWnxtCe.jpg
As you can see, the preview doesn't look very nice. Not only that, it also looks completely different to the terminal color scheme I'm using.
I've seen screenshots of ranger when text preview color scheme matched completely to the one of the terminal. How can I make mine match too?
I have replaced your inline image with a link. Please reread the Code of Conduct regarding image sizes and use thumbnails from now on. Thank you.
All the best,
-HG
Offline
I found it.
In ~/.config/ranger/scope.sh find the line that says
highlight_format=xterm256
and change it to
highlight_format=ansi
Here is a proof.
Offline