(keymap-set dired-mode-map "N" nil)
(keymap-set dired-mode-map "I" nil))
+*** New command 'dired-do-eww'.
+This command visits the file on the current line with EWW.
+
** Elisp
*** New command 'elisp-eval-buffer' (bound to 'C-c C-e').
(interactive nil dired-mode)
(info (dired-get-file-for-visit)))
+(defun dired-do-eww ()
+ "In Dired, visit file in EWW."
+ (interactive nil dired-mode)
+ (eww-open-file (dired-get-file-for-visit)))
+
(provide 'dired)
(run-hooks 'dired-load-hook) ; for your customizations