Hi Max,
thanks for the quick reply! I will try it...
Did I miss 0.0.3?
Fabian
On 11/30/2009 04:51 PM, Max E. Kuznecov wrote:
> Hi, Fabian.
>
> If you want to define 'h' key as your shortcut you won't be able to
> type 'h' literal into command line anymore, so I assumed Ctrl-x, h
> shortcut here.
>
> You can add to your ~/.xyzcmd/conf/keys.xyz following:
>
> import os
> bind(lambda: call(":sys:panel:chdir",
> os.path.dirname(macro("ACT_CWD"))), kbd("CTRL-x", "h"))
>
> This is valid for version 0.0.2. For 0.0.3 it would be more elegant:
> bind(lambda: call(":sys:panel:chdir", macro("ACT_BASE")), kbd("CTRL-x", "h"))
>
> P.S. It is a discussion group fox XYZCommander:
> http://groups.google.com/group/xyzcmd
> you can post any question there if you wish.
>
> 2009/11/30 Fabian Braennstroem<[email protected]>:
>> Hi Max,
>>
>> good work with your xyzcommander! Do you have some hints, how to define
>> 'h' as the keys for going one directory upwards without jumping to the
>> first entry?
>>
>> Thanks in advance!
>> Fabian
>
>
>
_______________________________________________
Urwid mailing list
[email protected]
http://lists.excess.org/mailman/listinfo/urwid