chiark / gitweb /
el/dot-emacs.el: Aliases for `eshell'.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 17 Dec 2009 17:52:54 +0000 (17:52 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 17 Dec 2009 17:53:51 +0000 (17:53 +0000)
Not entirely sure about these, but they support existing muscle memory
a little.

el/dot-emacs.el

index df1502634f7373d497a9b7480bc1e1353de1dc58..5a152f000d4ca9c6e027f310ba052e3fe92a5daa 100644 (file)
@@ -2081,6 +2081,9 @@ (defun mdw-eshell-prompt ()
 (setq eshell-prompt-function 'mdw-eshell-prompt)
 (setq eshell-prompt-regexp "^\\[[^]]+\\]")
 
+(defalias 'eshell/e 'find-file)
+(defalias 'eshell/w3m 'w3m-goto-url)
+
 (mdw-define-face eshell-prompt (t :weight bold))
 (mdw-define-face eshell-ls-archive (t :weight bold :foreground "red"))
 (mdw-define-face eshell-ls-backup (t :foreground "lightgrey" :slant italic))