Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

TorgoX (1933)

TorgoX
  sburkeNO@SPAMcpan.org
http://search.cpan.org/~sburke/

"Il est beau comme la retractilité des serres des oiseaux rapaces [...] et surtout, comme la rencontre fortuite sur une table de dissection d'une machine à coudre et d'un parapluie !" -- Lautréamont

Journal of TorgoX (1933)

Thursday May 19, 2005
05:16 AM

More emacs dired mode key-fun

[ #24769 ]
Dear Log,

So that emacs dired mode understands my habit of hitting f5 or control-r to refresh directory listings:

(add-hook 'dired-mode-hook
               '(lambda ()
                  (define-key dired-mode-map [f2]   'dired-do-rename)
                  (define-key dired-mode-map "\C-r" 'revert-buffer)
                  (define-key dired-mode-map [f5]   'revert-buffer)
))

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.