Skip to content

idcrook/prezto-emacs-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

prezto-emacs-action

Do things in emacs from terminal (macOS).

Switch from in terminal to magit or dired in emacs.

Via https://fosstodon.org/@chmouel/113760902087055976

Install

To use, the module directory needs to be found in pmodule-dirs, so e.g. in zpreztorc:

 # Add additional directories to load prezto modules from
-# zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib
+zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib

It could also be placed in /contrib or /modules which are already in default pmodule-dirs.

cd $HOME/.zprezto-contrib
git clone https://github.com/idcrook/prezto-emacs-action.git emacs-action
# or alternatively
git submodule add https://github.com/idcrook/prezto-emacs-action emacs-action

Configure

The module itself (above cloned to be named emacs-action) needs to be explicitly loaded in ${ZDOTDIR:-$HOME}/.zpreztorc

Modules are loaded via zstyle ':prezto:load' pmodule

       'osx' \
       'emacs-action' \

In mine, I've loaded it after osx module.

Aliases

  • magit
  • dired

Acknowledgments

Based on https://fosstodon.org/@chmouel/113760902087055976

About

Do things in emacs from terminal (macOS)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages