ranger-users
[Top][All Lists]
Advanced

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

Re: [Ranger-users] Re: need %d (or maybe %D), like mc


From: Roman Z.
Subject: Re: [Ranger-users] Re: need %d (or maybe %D), like mc
Date: Tue, 27 Apr 2010 21:33:28 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Tue, Apr 27, 2010 at 08:30:28PM +0530, Sitaram Chamarty wrote:
> On Tue, Apr 27, 2010 at 7:46 PM, Sitaram Chamarty <address@hidden> wrote:
> 
> > So here're my thoughts/requests:
> >
> > %f, %s: as now
> > %d: full path of directory in current tab
> > %F, %S, %D: like %f, %s, %d but for last visited tab; empty if no
> > other tab exists
> >
> > Feel free to modify that "last visited tab" in any way you like.
> 
> Actually I think the cut buffer is common to all tabs, right?  So
> %D/S/F could have some sensible meanings to tie to that rather than
> "last visited tab" which isn't so human friendly.
> 

Ranger doesn't have two panes, so I don't think you can apply the same
logic as in mc/vifm.  But sometimes it is indeed necessary to get files
from other directories, for example for diffing, as you said.
By simply adding %c to get all copied/cut files, (which makes sense
anyway,) this use case should be covered.  Yank the first file, move to
the second, run "diff %c %f".

I can't think of any use for %d, but I can add it anyway for the sake of
completeness, along with %t for all tagged files (though it seems like
mc uses the term "tagged file" differently...)





reply via email to

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