Open mattfidler opened 8 years ago
I actually can't figure out what to toggle to make the minimap work correctly.
I have tried
(defun ergoemacs-golden-ratio-exclude-minimap-p ()
(memq this-command '(minimap-toggle)))
(setq golden-ratio-inhibit-functions '(ergoemacs-golden-ratio-exclude-minimap-p))
(add-to-list 'golden-ratio-exclude-buffer-regexp "^\\*MINIMAP\\*")
But it doesn't quite work correctly.
It seems that simply inhibiting minimap-mode
does not solve every issue between golden-ratio-mode
and minimap-mode
.
Currently, golden-ratio excludes based on major modes. However, excluding based on minor-modes may also be useful. For example
minimap-mode
shouldn't allow golden-ratio to modify. Of course this can be accomplished withgolden-ratio-inhibit-functions
, or evengolden-ratio-exclude-buffer-names
. However, I think that it may also be useful to add a customizable variable for minor-modes.