Docs: Add emacs as external editor to recipes (#1220)

Add emacs as external editor to recipes
This commit is contained in:
Mandar Vaze 2021-03-28 01:51:44 +05:30 committed by GitHub
parent 09bcfa2242
commit b357f935d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -261,3 +261,14 @@ editor: "C:\\Program Files (x86)\\Notepad++\\notepad++.exe -multiInst -nosession
The double backslashes are needed so jrnl can read the file path
correctly. The `-multiInst -nosession` options will cause jrnl to open
its own Notepad++ window.
### emacs
To use `emacs` as your editor, edit the jrnl config file (`jrnl.yaml`) like this:
```yaml
editor: emacsclient -a "" -c
```
When you're done editing the message, save and `C-x #` to close the buffer and stop the emacsclient process.