LoginSignup
4
4

More than 5 years have passed since last update.

Emacs の dired で現在のディレクトリを Nautilus で開く

Posted at

以下のコードを .emacs に記述すれば、dired で e を入力したときに、現在のディレクトリを開いた Nautilus を起動できる。

(defun dired-open-nautilus ()
  (interactive)
  (call-process "nautilus" nil 0 nil (dired-current-directory)))

(define-key dired-mode-map "e" 'dired-open-nautilus)
4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4