bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#42578: 28.0.50; [suggestion] allow dired-do-shell-command on directo


From: Marco Wahl
Subject: bug#42578: 28.0.50; [suggestion] allow dired-do-shell-command on directory line
Date: Thu, 30 Jul 2020 12:23:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

>> I'm fine with closing this issue now.

> Done.

Thanks!

The command dired-smart-shell-command AKA M-! can be bound to "!" in
dired like so

#v+
(add-hook
 'dired-mode-hook
 (lambda ()
   (define-key dired-mode-map "!" #'dired-smart-shell-command)))
#v-

For all the folks out there who want to save that extra "M-".

Just for the record.


Have a nice day!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]