ranger-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ranger-users] Fine grained color control for text files


From: Roman Z.
Subject: Re: [Ranger-users] Fine grained color control for text files
Date: Mon, 15 Apr 2013 18:39:43 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Apr 15, 2013 at 03:50:33AM -0400, address@hidden wrote:
> I was wondering if there is a way to change the default colorscheme in
> such a way as to highlight (say red) *.tex or *.c files?

Unfortunately thats not possible atm without hacking ranger.  BUT you
could change the setting "hidden_filter" to hide those garbage files.
Currently, the default value for hidden_filter is defined in rc.conf
like that:

set hidden_filter ^\.|\.(?:pyc|pyo|bak|swp)$|^lost\+found$|^__(py)?cache__$

You'd have to put that line in your own ~/.config/ranger/rc.conf and add
"|aux|snm|toc|whatever" to the list of hidden extensions:

set hidden_filter 
^\.|\.(?:pyc|pyo|bak|swp|aux|snm|toc|whatever)$|^lost\+found$|^__(py)?cache__$

Roman




reply via email to

[Prev in Thread] Current Thread [Next in Thread]