💾 Archived View for idiomdrottning.org › cozify-window captured on 2024-07-09 at 01:22:27. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-12-28)

-=-=-=-=-=-=-

cozify-window

Here’s a li’l mini function for Emacs that when called sets the window width to one space wider than the current cursor position:

(defun cozify-window ()
  (interactive)
  (shrink-window-horizontally
   (- (window-width) (current-column) 1)))

By window, I mean the panels in side of the frames.

I mean the things that split up your Emacs into left and right when you’ve done C-x 3 even in the TUI mode of Emacs.