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: Wed, 28 Apr 2010 14:17:39 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

> in ranger, I would consider the notional "other side" to be wherever
> you last  yanked (yy or dd).

Ranger has no "other side" so it's not clear what should be the
equivalent of the "other side" in ranger.  It could be the backtick
bookmark, the tab right of the current one, etc.

Of course it may save some typing if you can refer to the directory
where you yanked something with a macro, but I wouldn't call it %D.
Maybe %C or something.

> > I can't think of any use for %d, but I can add it anyway for the sake of
> 
> easy -- I use "diff -ur %d %D | less" all the time in mc, where I
> really want to diff two directories.  Or people may want to do an
> rsync, or something else...

Your mc-command in ranger:
1. Navigate to %D
2. Type hyy
3. Navigate to %d
4. Type !p!diff -ur %d %c
(the p! pipes the output into a pager, "less" by default)

Not as straight-forward as in MC, but well, as I already mentioned,
ranger works differently than the 2-pane-fms and I hesitate to add
2-pane-logic to it.





reply via email to

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