Skip to content

About

💧 Context-aware cursor color

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

 
 

Latest commit

 

History

80 Commits

Folders and files

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

1 star

Watchers

0 watching

Forks

Contributors

Languages