Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/DamienCassou/unify-opening

Emacs package to make everything use the same mechanism to open files
https://github.com/DamienCassou/unify-opening

elisp emacs emacs-lisp helm runner

Last synced: 3 months ago
JSON representation

Emacs package to make everything use the same mechanism to open files

Awesome Lists containing this project

README

        

* Unify-Opening
#+BEGIN_HTML



MELPA Stable


MELPA


pipeline status


#+END_HTML

~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 [[https://github.com/thamer/runner][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.

#+begin_src emacs-lisp
(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))
#+end_src
** Contributing

Yes, please do! See [[file:CONTRIBUTING.md][CONTRIBUTING]] for guidelines.

** License

See [[file:COPYING][COPYING]]. Copyright (c) 2015-2023 [[mailto:[email protected]][Damien Cassou]].