![]() ![]() When global-writeroom-mode is active, the function writeroom-mode can still be called to enable or disable writeroom-mode in individual buffers (regardless of their major mode, of course). This function enables the global effects and activates the buffer-local effects in all (current and future) buffers that have a major mode listed in the user option writeroom-major-modes (by default only text-mode). Alternatively, if you wish to use writeroom-mode in all buffers that have a particular major mode (e.g., text-mode, markdown-mode), you can use the global minor mode global-writeroom-mode. The global effects are of course activated only once and they remain active until writeroom-mode is deactivated in all buffers. It is possible to activate writeroom-mode in more than one buffer. In addition, there are several more options that are disabled by default but can be enabled in the customisation buffer. But writeroom-mode is meant for distraction-free writing, so these effects do make sense.Īll these effects can be disabled or customised. Because writeroom-mode is a minor mode, this isn't entirely on the up and up, since minor modes aren't supposed to have such global effects. The other effects apply to the current frame.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |