[patch] toggling hidden files by a hotkey



Good evening to everyone!
I have made a patch to toggle hidden files by a hotkey (alt+.), i find
it useful. Is it possible to include it in the cvs tree for the next
release?

Index: main.c
===================================================================
RCS file: /cvsroot/mc/mc/src/main.c,v
retrieving revision 1.370
diff -u -r1.370 main.c
--- main.c	25 Sep 2007 15:33:37 -0000	1.370
+++ main.c	26 Feb 2008 21:06:42 -0000
@@ -1293,6 +1293,9 @@
     /* Swap panels */
     {XCTRL ('u'), swap_cmd},
 
+    /* Toggle Hidden Files */
+    {ALT ('.'), toggle_show_hidden},
+
     /* View output */
     {XCTRL ('o'), view_other_cmd},

-- 
Sincerely,
Vladimir 'Dark Proger' Kirillov, darkproger gmail com
http://darkproger.org.ua


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