Skip to content
This repository has been archived by the owner on Feb 11, 2024. It is now read-only.

Latest commit

 

History

History
44 lines (22 loc) · 1.05 KB

README.md

File metadata and controls

44 lines (22 loc) · 1.05 KB

dired-launch

Launch an external application from dired


dired-launch is a launcher for the Emacs dired-mode. In a nutshell, it lets you select a file and then launch an external application with that file.

Getting started

  1. Download dired-launch.el.

  2. Ensure emacs loads dired-launch.el. For example, you might add the following line to your ~/.emacs:

    (load "/path/to/dired-launch.el")

  3. Enable the dired minor mode:

    (dired-launch-enable)

  4. If you prefer different key bindings, consider modifying them:

    (define-key dired-launch-mode-map (kbd "l") 'dired-launch-command)

Use

  1. M-x dired

  2. Move the cursor to a file of interest

  3. Launch:

    J launches the file using the default application using dired-launch-command

Miscellany

Change the preferred (default) application for a given file type by invoking mimeopen with the '-d' flag:

   mimeopen -d myfile

Related projects

Launch