58

GitHub - Malabarba/beacon: A light that follows your cursor around so you don&am...

 5 years ago
source link: https://github.com/Malabarba/beacon
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Readme.org

Beacon — Never lose your cursor again

This is a global minor-mode. Turn it on everywhere with:

(beacon-mode 1)

example-beacon.gif

Whenever the window scrolls a light will shine on top of your cursor so you know where it is.

That’s it.

Customizations

  • The appearance of the beacon is configured by beacon-size and beacon-color.
  • The duration is configured by beacon-blink-duration and beacon-blink-delay.
  • To customize when the beacon should blink at all, configure beacon-blink-when-window-scrolls, beacon-blink-when-window-changes, and beacon-blink-when-point-moves.
  • To prevent the beacon from blinking only on specific situations configure beacon-dont-blink-major-modes, beacon-dont-blink-predicates, or beacon-dont-blink-commands. You can also disable it only in specific buffers by doing (setq-local beacon-mode nil).
  • Beacon can also push the mark for you whenever point moves a long distance. For this, configure beacon-push-mark.

Contributors

If you’d like to help too, just open a PR.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK