abougouffa / minemacs

MinEmacs: an Emacs configuration framework for daily use
https://abougouffa.github.io/minemacs/
MIT License
154 stars 16 forks source link

[suggest] about +writing-mode #117

Closed donneyluck closed 1 year ago

donneyluck commented 1 year ago

hi @abougouffa This mode is great, I like it very much, but there are a few minor issues Writing-mode will exit when I switch files and need to be turned on again. Is there any way to change this mode switch to global?

abougouffa commented 1 year ago

Hello @donneyluck, thanks for the feedback

Yep, the current implementation works like a minor mode that can be enabled in a per-buffer basis. I will try to add an option to enable it globally when I get some free time. I will leave this issue open until then.

abougouffa commented 1 year ago

@donneyluck Can you try the new +writing-global-mode ?

EDIT: configure with +writing-major-modes, it defaults '(rst-mode text-mode markdown-mode org-mode)

donneyluck commented 1 year ago

I tested it and there was no problem. Thanks : )