commit 99637787c875b10f5397bab114eeadaba6ffb40a
parent 1e8540164fe025db7a476c0fbaf2d9e146609890
Author: Gabriel G. de Brito <me@gboncoffee.dev.br>
Date: Thu, 1 Oct 2026 00:23:20 -0300
Frames only mode.
Diffstat:
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org
@@ -131,14 +131,6 @@ Modeline.
(column-number-mode 1)
#+END_SRC
-*** Olivetti
-Olivetti mode makes text balanced in relation to the window margins, so it occuppies the center instead of being left-aligned.
-
-#+BEGIN_SRC emacs-lisp
-(use-package olivetti
- :hook (prog-mode text-mode))
-#+END_SRC
-
** Behaviour
*** Basics
Short answers, fill column, don't make backups.
@@ -236,6 +228,14 @@ Move windows with meta. Makes C-v and M-v to move by half pages instead of full
(global-set-key (kbd "M-v") #'scroll-down-half)
#+END_SRC
+Prefer using frames instead of windows.
+
+#+BEGIN_SRC emacs-lisp
+(use-package frames-only-mode
+ :hook (after-init . frames-only-mode)
+ :config (frames-only-mode-remap-common-window-split-keybindings))
+#+END_SRC
+
** Editor configuration
*** Basics
Show trailing whitespaces, but not on some weird buffers of course. Display line numbers and fill column in all actual editing modes. Scroll nicely. Save history and recent files.