Skip to content

fenril058/hiwin-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hiwin-mode

Introduction

hiwin.el is a minor-mode of Emacs to change the background color of the deactive window.

Screenshot

hiwin.JPG

Requirements

  • Emacs 27 or higher

Installation & sample setting

With use-package.el and vc-use-package.el

(use-package hiwin-mode
  :vc
  (:fetcher github :repo fenril058/hiwin-mode)
  :config
  (hiwin-mode 1))

With leaf.el:

(leaf hiwin-mode
  :vc
  (:url "https://github.com/fenril058/hiwin-mode" :branch "main")
  :custom-face
  (hiwin-face . '((((class color) (background light))
                   (:background "gray90"))))
  :global-minor-mode t)

Basic Usage

Enable hiwin-mode.

(hiwin-mode 1)

Customization

hiwin-face

Face for deactive windows. For example;

(set-face-background 'hiwin-face "gray80")

hiwin-ignore-buffer-names

List of the buffer names which do not change background color when they are in a deactive window.

You can custmize this variable BEFORE enabling hiwin-mode. If you change it while enabling hiwin-mode, you have to run hiwin-refresh-ignore-buffer-names to refreshhiwin-ignore-buffer-name-regexp.

hiwin-ignore-minibuffer-selected-window

If the value is non-nil, the background color of the window selected just before the minibuffer does not change. The default value is nil.

Similar packages

About

Visible active window mode for Emacs

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published