0:00 / 0:00
#emacs#olivetti#focusedediting
Emacs: tools for "focused editing"
Protesilaos
13K subscribers • 35 videos on Hallway
- Recommended by 1 person: 1 in engineering communities.
- Presented by Protesilaos
Intermediate. Assumes working knowledge.
6.6K views6 years ago1 recommendation
Tools and practiceVim, Emacs and editors
Protesilaos demonstrates his distraction-free writing and editing setup in Emacs using packages like Olivetti.
Demo of the set of packages and configurations I have in my dotemacs for the purposes of a distraction-free workflow. /// Code for those snippets here: protesilaos.com/codelog/2020-07-16-emacs-focused-editing/ /// And here is my dotemacs: protesilaos.com/dotemacsWhy it's here
1 person recommends thisWhat people say. Recommended as a guide to setting up a distraction-free editing environment in Emacs.
u/FOSSilized_D43monin r/emacs • Mentions
Disable Basic GUI Elements For Olivetti
Finally! I did it! I finally got a function to disable certain visual elements when I enter olivetti! I figured I'd post it here as it was brutal to figure this out, Hope this helps!
(define-minor-mode custom/olivetti-mode
"Launch olivetti-mode and disable visual elements such as 'global-display-line-numbers-mode' and 'global-hl-line-mode'."
:init-value nil
:global nil
(if custom/olivetti-mode
(progn
(olivetti-mode 1)
(global-display-line-numbers-mode -1)
(global-hl-line-mode -1)
(setq-local mode-line-format nil))
(olivetti-mode -1)
(global-display…