Skip to content

DamienCassou/unify-opening

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unify-Opening

MELPA Stable MELPA pipeline status

unify-opening make packages in Emacs use the same mechanism to open files with an external application.

Summary

Currently, dired has its mechanism, org-mode uses something different (the org-file-apps variable), and mu4e something else (a simple prompt). This package makes sure that each package uses the mechanism of dired. I advise you to install the runner package to improve the dired mechanism.

Supported packages:

  • mail clients using mm-decode (e.g., notmuch and mu4e)
  • completion mechanisms (currently consult, counsel and helm)
  • org mode
  • dired-x

Configuring

The following should be added to your configuration file to install unify-opening everywhere it can be installed.

(with-eval-after-load "mm-decode"
  (unify-opening-setup-for-mm-decode))

(with-eval-after-load "org"
  (unify-opening-setup-for-org))

(with-eval-after-load "helm-external"
  (unify-opening-setup-for-helm))

(with-eval-after-load "dired-x"
  (unify-opening-setup-for-dired-x))

(with-eval-after-load "counsel"
  (unify-opening-setup-for-counsel))

(with-eval-after-load "consult"
  (unify-opening-setup-for-consult))

Contributing

Yes, please do! See CONTRIBUTING for guidelines.

License

See COPYING. Copyright (c) 2015-2023 Damien Cassou.