Macros AltPgUp and AltPgDn
Posted: Fri 12 Jun, 2009 16:08
Hello,
First, Far is one of the best OFMs I've ever used. It will be the best if it uses Windows PowerShell as default shell. So far, I am happy enough that FarNet and PowerShellFar work very well for me. Thank you so much!
Attached are two Macros I put up together and found useful. AltPgUp works the same as Alt-i of MC(4.6.2). AltPgDn simulates Alt-o of MC. They are not in Addons\Macros of Far installation(2.0 build 981 x86).
Dr. Nikolai Bezroukov also mentioned the kinds of feature in the Suggestions section of his book(ch05/shtml) on OFM at softpanorama.
""""""""""
F5-F5 should synchronize active and passive panels. Alt-PgDN should open the directory under the cursor (or archive under the cursor) directory on the passive panel, Alt-PgUp should show the parent directory on the passive panel as required by OFM2004.
"""""""""
Please review the appended.
thanks
zhenge
+++++++++++++++++++++
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\AltPgDn]
"Description"="Use AltPgDn to open the directory under the cursor on the passive panel"
"Sequence"="Tab c d Space Ctrl; Enter Tab Down"
"DisableOutput"=dword:00000001
"NoFiles"=dword:00000001
"NoSendKeysToPlugins"=dword:00000001
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\AltPgUp]
"Description"="Use AltPgUp to open the parent directory on the passive panel"
"Sequence"="Tab c d Space CtrlShift] Enter Tab"
"DisableOutput"=dword:00000001
+++++++++++++++++++++++
First, Far is one of the best OFMs I've ever used. It will be the best if it uses Windows PowerShell as default shell. So far, I am happy enough that FarNet and PowerShellFar work very well for me. Thank you so much!
Attached are two Macros I put up together and found useful. AltPgUp works the same as Alt-i of MC(4.6.2). AltPgDn simulates Alt-o of MC. They are not in Addons\Macros of Far installation(2.0 build 981 x86).
Dr. Nikolai Bezroukov also mentioned the kinds of feature in the Suggestions section of his book(ch05/shtml) on OFM at softpanorama.
""""""""""
F5-F5 should synchronize active and passive panels. Alt-PgDN should open the directory under the cursor (or archive under the cursor) directory on the passive panel, Alt-PgUp should show the parent directory on the passive panel as required by OFM2004.
"""""""""
Please review the appended.
thanks
zhenge
+++++++++++++++++++++
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\AltPgDn]
"Description"="Use AltPgDn to open the directory under the cursor on the passive panel"
"Sequence"="Tab c d Space Ctrl; Enter Tab Down"
"DisableOutput"=dword:00000001
"NoFiles"=dword:00000001
"NoSendKeysToPlugins"=dword:00000001
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\AltPgUp]
"Description"="Use AltPgUp to open the parent directory on the passive panel"
"Sequence"="Tab c d Space CtrlShift] Enter Tab"
"DisableOutput"=dword:00000001
+++++++++++++++++++++++