Skip to content

Frestein/smart-cursor-color

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http://melpa.org/packages/smart-cursor-color-badge.svg

smart-cursor-color-mode

Change cursor-color dynamically on Emacs. iTerm2 have `smart cursor color’. But GNU Emacs doesn’t have this option. The `smart-cursor-color-mode’ can make do that.

Quickstart

To make the mode enabled every time Emacs starts, add the following to Emacs initialisation file (~/.emacs or ~/.emacs.d/init.el):

  • If installed from MELPA
(smart-cursor-color-mode +1)
  • If installed manually,
(add-to-list 'load-path "path-to-installed-directory")
(require 'smart-cursor-color)
(smart-cursor-color-mode +1)

When hl-line-mode is on, smart-cursor-color-mode is not work. So must turn off hl-line-mode.

(hl-line-mode -1)

But when global-hl-line-mode is on, smart-cursor-color-mode is work.

(global-hl-line-mode +1)
(smart-cursor-color-mode +1)

About

💧 Context-aware cursor color

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages

  • Emacs Lisp 100.0%