Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/idcrook/prezto-emacs-action
Do things in emacs from terminal (macOS)
https://github.com/idcrook/prezto-emacs-action
emacs zprezto zpreztorc zsh
Last synced: 9 days ago
JSON representation
Do things in emacs from terminal (macOS)
- Host: GitHub
- URL: https://github.com/idcrook/prezto-emacs-action
- Owner: idcrook
- License: mit
- Created: 2025-01-07T20:02:53.000Z (13 days ago)
- Default Branch: main
- Last Pushed: 2025-01-07T20:15:24.000Z (13 days ago)
- Last Synced: 2025-01-07T21:23:42.388Z (13 days ago)
- Topics: emacs, zprezto, zpreztorc, zsh
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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`:
```diff
# 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`.
```shell
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