Skip to content

Instantly share code, notes, and snippets.

@theironsamurai
Forked from oliverholworthy/bzg-fringe-hook
Last active August 29, 2015 13:59
Show Gist options
  • Save theironsamurai/10518218 to your computer and use it in GitHub Desktop.
Save theironsamurai/10518218 to your computer and use it in GitHub Desktop.
;; Fringe Focus Mode - Window cardinality hook
;; Disable big fringe mode when more than one window open
;; http://bzg.fr/emacs-strip-tease.html
(add-hook 'window-configuration-change-hook
(lambda ()
(if (> (count-windows) 1)
(bzg-big-fringe-mode 0)
(bzg-big-fringe-mode 1))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment