Idiomdrottning’s homepage

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.