Give your cursor a simple, yet smooth, move animation. Inspired by Microsoft Office and VSCode smooth cursor.
Warning
Read caveat section below before installing this plugin!
- Move and blink animation for the cursor.
- Work on both hovering page preview and canvas.
- Support multi-cursor.
- Adjustable cursor speed and blink duration (via Style Settings plugin).
- Manual
- Create a folder named
animated-cursor
underYOUR_VAULT_NAME/.obsidian/plugins
. - Place
manifest.json
,main.js
, andstyle.css
from the latest release into the folder. - Enable it through the "Community plugin" setting tab.
- Create a folder named
- Using BRAT.
Note
Currently, this plugin haven't been released yet.
Simply move the cursor by pressing arrow keys, clicking or dragging using your mouse. The cursor will stop blinking while it's moving.
Via Style Settings plugin you can:
- adjust the cursor speed in miliseconds,
- adjust the blink rate in miliseconds,
- set the blink count in a sequence,
- toggle infinity blinking.
Additionally, in the "Animated Cursor" plugin settings, you have an option to make the cursor move slightly more smoothly:
- If turned on, move transition uses
transform
property, but the cursor seems to appear blurry. - If turned off, it uses
top
andleft
properties.
Note
You can disable the blink by adjust the blink count to zero.
Because this plugin uses DOM to draw the cursor, it could -probably- cost expensive performance due to frequently layout recomputation, especially when you repeatedly move the cursor.
- Buggy multi-cursors on the table.
Flicker/jitter effect occurs when the cursor is continously moved by holding the arrow keys.Weird behavior when move the cursor outside the table.
Feel free to let me know if you find any bugs...
This plugin includes some of the source codes developed by Marijnh Haverbeke and the others at CodeMirror, with some modifications. Licensed with MIT.
Thanks to:
- VSCode for the smooth cursor concept.
- CodeMirror, Marijnh, and its community.