ranger-users
[Top][All Lists]
Advanced

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

Re: [Ranger-users] Find function


From: Roman Z.
Subject: Re: [Ranger-users] Find function
Date: Thu, 27 May 2010 20:55:55 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Thu, May 27, 2010 at 08:42:58PM +0200, Jostein Berntsen wrote:
> Hi,
> 
> The find function as of now works great but only searches in the same 
> directory. Is is possible to define a find function that can also search 
> in subdirectories?
> 
> 
> Jostein
> 
> 
> 

sure. in the ~/.ranger/keys.py, add this:

# setting up environment:
from ranger.api.keys import *
map = keymanager.get_context('browser')

# defining the keybinding:
map('F', fm.open_console(cmode.OPEN, 'p!find . | grep '))





reply via email to

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