ranger-users
[Top][All Lists]
Advanced

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

Re: [Ranger-users] shortcut to travel *current* directory


From: Xu Wang
Subject: Re: [Ranger-users] shortcut to travel *current* directory
Date: Sun, 27 Aug 2017 17:34:14 -0400

On Sun, Aug 27, 2017 at 5:02 PM, hut <address@hidden> wrote:
> What you currently do is executing the "travel" command with an empty
> argument, which enters the current selection and opens another console
> with the travel command.
>
> What you want is "map T console travel%space", i.e. open a console
> containing "travel " with a trailing space, which is denoted by the
> special macro "%space".
>
> regards,
> hut
>
> On Sun, Aug 27, 2017 at 01:39:31PM -0400, Xu Wang wrote:
>> Hi,
>>
>> I have received help from Felix and Wojciech to learn about the great
>> travel command.
>>
>> However, i often want to travel the *current* directory, not the one
>> that my cursor selects. I can easily do
>>
>> map T travel
>>
>> and then hT does what I want.
>>
>> but I want to only do "T". I tried to do
>>
>> map T chain cd .. ; travel
>>
>> but it does not work for me and I do not have understanding of why.
>>
>> Can someone please help?
>>
>> Kind regards,
>>
>> Xu
>>
>

Thank you all for the explanations! That works for what I want. But
what if I want to change the parameter to scout command (instead of
travel alias?). The following does not work for me:

map T scout -aefiklst%space

Kind regards,

Xu



reply via email to

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