(defun full-screen ()
(interactive)
(shell-command "wmctrl -r :ACTIVE: -btoggle,fullscreen")
(menu-bar-mode 0))
(defun just-write ()
"Convert into a big, clean, centered window."
(interactive)
(full-screen) (olivetti-mode) (text-scale-adjust 2) (scroll-bar-mode -1)
(end-of-buffer) (recenter-top-bottom 0))
This is the simple "just-write" function I wrote in emacs, and it also needs the olivetti package and the wmctrl program.
I hope it shows and helps others start exploring with this beautiful language!