No description
Find a file
2025-04-16 00:52:14 +02:00
.github/workflows chore: add github action 2025-04-01 14:19:57 +02:00
docs/assests docs: add gif to README 2025-04-01 15:02:31 +02:00
src fix: setting won't be saved after changing it 2025-04-16 00:50:31 +02:00
.editorconfig chore: add .editorconfig 2025-04-01 14:08:42 +02:00
.gitignore initial commit 2025-03-19 19:31:55 +02:00
.npmrc initial commit 2025-03-19 19:32:15 +02:00
esbuild.config.mjs refactor: move main.ts to src folder 2025-04-15 23:42:34 +02:00
eslint.config.mjs style: change indentation to tab 2025-04-15 23:08:08 +02:00
LICENSE chore: add license name on the license title 2025-04-15 23:26:48 +02:00
manifest.json chore: bump version to 1.0.5 2025-04-16 00:52:14 +02:00
package.json chore: bump version to 1.0.5 2025-04-16 00:52:14 +02:00
README.md docs: add "Slightly more smoothly" setting description 2025-04-11 16:10:40 +02:00
styles.css perf: simplify the selectors 2025-04-16 00:24:07 +02:00
tsconfig.json refactor: move main.ts to src folder 2025-04-15 23:42:34 +02:00
version-bump.mjs initial commit 2025-03-19 19:32:15 +02:00
versions.json chore: bump version to 1.0.5 2025-04-16 00:52:14 +02:00

Animated Cursor - Obsdian Plugin

Give your cursor a simple, yet smooth, move animation. Inspired by Microsoft Office and VSCode smooth cursor.

animated-cursor.gif

🚀 Features

  • Move and blink animation for the cursor.
  • Work on both table and canvas.
  • Support multi-cursor.
  • Adjustable cursor speed and blink duration (via Style Settings plugin).

📦 Installation

  • Manual
    • Create a folder named animated-cursor under YOUR_VAULT_NAME/.obsidian/plugins.
    • Place manifest.json, main.js, and style.css from the latest release into the folder.
    • Enable it through the "Community plugin" setting tab.
  • Using BRAT.

Note

Currently, this plugin haven't been released yet.

✍️ Usage

Simply move the cursor by pressing arrow keys, clicking or dragging using your mouse. The cursor will stop blinking while it's moving.

⚙️ Adjustment

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 and left properties.

Note

You can disable the blink by adjust the blink count to zero.

⚠️ Caveat

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.

🐞 Known Bugs

  • 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...

🙏 Acknowledgment

Thanks to: