lynx-like motion
lynx-like motion
Midnight Command has an option "Lynx-like motion". This allows to use cursor-right and cursor-left to navigate into and out of directories. It would be really nice to be able to do that in AS, too (as long as AS is not available on Linux and OS X).
Re: lynx-like motion
An Autohotkey script that translates Left to Backspace and Right to Enter in the panels could be used as a workaround.
Ελληνικά rulez.
Re: lynx-like motion
Just for the records, here is my autohotkey script:
Unfortunately, this also works not just in AS, but now also here in the browser showing "Salamander" in the title.
Code: Select all
#SingleInstance Force
#installKeybdHook
#Persistent
SetTitleMatchMode, 2
#Hotstring EndChars `t
; here come my hotkeys, like tia or br
; ...
#IfWinActive, Salamander
Left::BS
Right::Enter
#IfWinActive
Re: lynx-like motion
Try using if WinActive("ahk_class SalamanderMainWindowVer25") instead. I based this piece of code on the example on this page: http://www.autohotkey.com/docs/commands/IfWinActive.htm
Ελληνικά rulez.
Re: lynx-like motion
I've tried with SalamanderMainWindowVer25 and SalamanderMainWindowVer30 and neither works.
Re: lynx-like motion
Oh. I tried it myself and it seems it has to be written a bit differently.
Code: Select all
#IfWinActive ahk_class SalamanderMainWindowVer25
Left::BS
Right::Enter
#IfWinActive
Ελληνικά rulez.
Re: lynx-like motion
Thanks. Yes, now it works - though I would not have expected SalamanderMainWindowVer25 to work with AS 3.
Re: lynx-like motion
Unfortunately, this broke the Alt+Left/Right history navigation.
Re: lynx-like motion
Maybe you could map those too with AutoHotkey to fix it.mklhmnn wrote:Unfortunately, this broke the Alt+Left/Right history navigation.
Re: lynx-like motion
Maybe, but I rather prefer to have an option in Altap Salamander. I guess, this couldn't be that difficult to implement.
Re: lynx-like motion
For me as a linux person I would love to see it in the Salamander too. I even don't think it would be too much work... However, till it is implemented this is the only option to go.mklhmnn wrote:Maybe, but I rather prefer to have an option in Altap Salamander. I guess, this couldn't be that difficult to implement.