[opensuse] mc -- howto set a shortcut key to toggle show hidden files?
Guys, Is there a way to setup a custom shortcut in mc to toggle hidden files on/off? -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 30 March 2010 02:41, David C. Rankin <drankinatty@suddenlinkmail.com> wrote:
Guys,
Is there a way to setup a custom shortcut in mc to toggle hidden files on/off?
Not sure about a custom mc shortcut, but you should be able to write a small C program that does F9,O,C,Alt-H similarly to the following: http://danielbaggio.blogspot.com/2008/04/generating-keypresses-on-linux.html and then give it a short name, and place it into ~/bin. Regards, Vadym -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 03/30/2010 01:34 AM, Vadym Krevs wrote:
On 30 March 2010 02:41, David C. Rankin <drankinatty@suddenlinkmail.com> wrote:
Guys,
Is there a way to setup a custom shortcut in mc to toggle hidden files on/off?
Not sure about a custom mc shortcut, but you should be able to write a small C program that does F9,O,C,Alt-H similarly to the following:
http://danielbaggio.blogspot.com/2008/04/generating-keypresses-on-linux.html
and then give it a short name, and place it into ~/bin.
Regards, Vadym
Vadym, Thank you! I'll give it a shot. Thanks for the link. It's short enough I can even read it :p -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
David C. Rankin
-
Vadym Krevs