roman / golden-ratio.el

Automatic resizing of Emacs windows to the golden ratio
MIT License
589 stars 38 forks source link

Golden ratio and winum don't work together (almost) #95

Open PavoDive opened 3 months ago

PavoDive commented 3 months ago

Disclaimer: I have already posted an issue to emacs-winum: see here. I'm submitting this issue here because: 1. I'm no longer clear that the problem is caused by winum (or that it can be solved from there), and 2. The winum repo seems to be inactive.

The Problem

When both winum and golden-ratio modes are loaded and I move between windows with winum, windows are NOT automatically resized by golden-ratio.

Setup

The following are the relevant parts of my .emacs:

;;; set Meta as windomove's modifiers:
(windmove-default-keybindings 'meta)

;;; enable golden ratio
(require 'golden-ratio)
(golden-ratio-mode 1)
(setq golden-ratio-auto-scale t)

;;; enable winum
(require 'winum)
(winum-mode)

Actual and Expected Behavior

What I've tried:

Versions:

I love golden-ratio. So much so, that I'm not using winum. But I'd like to be able to use both, winum and golden-ratio.