https://github.com/kotaindah55/animated-cursor
Simple yet smooth animated cursor.
https://github.com/kotaindah55/animated-cursor
animated-cursor obsidian obsidian-md obsidian-plugin smooth-cursor
Last synced: about 2 months ago
JSON representation
Simple yet smooth animated cursor.
- Host: GitHub
- URL: https://github.com/kotaindah55/animated-cursor
- Owner: kotaindah55
- License: mit
- Created: 2025-04-01T12:24:08.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-08-01T20:47:14.000Z (11 months ago)
- Last Synced: 2025-08-01T22:37:44.607Z (11 months ago)
- Topics: animated-cursor, obsidian, obsidian-md, obsidian-plugin, smooth-cursor
- Language: TypeScript
- Homepage:
- Size: 5.28 MB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOGS.txt
- License: LICENSE
Awesome Lists containing this project
README
# Animated Cursor - Obsdian Plugin
![latest-version] ![current-downloads] ![current-stars] ![open-issues]
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!
## đ Features
- 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][style-settings] plugin).
## đ¨ What makes it different?
- **Works as native cursor**. This plugin patch existing Obsidian cursor, avoiding any unintended calculations. The same plugin before creates another cursor instance, yet still let Obsidian calculate its own cursor.
- **Hardly relies on [CodeMirror][] API**. It's the secret of the consistency of the cursor behavior. Thus, it doesn't face any meaningful problems with multi-cursor, canvas, etc.
## đĻ 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.
- In-app
- Open settings.
- Choose "Community plugins" setting tab.
- Turn off "Restricted mode" if it was enabled before.
- Click "Browse" at "Community plugins" item.
- Type "Animated Cursor" in the search box.
- Install and enable it.
- Using [BRAT][].
## âī¸ 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][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
- 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...
## ÂŠī¸ Attribution
This plugin includes some of the source codes developed by [Marijnh Haverbeke][marijnh] and the others at [CodeMirror][], with some modifications. All their works are licensed under MIT.
## đ Acknowledgment
Thanks to:
- [VSCode](https://github.com/microsoft/vscode) for the smooth cursor concept.
- [CodeMirror][], [Marijnh][], and its community.
[CodeMirror]: https://codemirror.net
[Marijnh]: https://github.com/marijnh
[style-settings]: https://github.com/mgmeyers/obsidian-style-settings
[BRAT]: https://github.com/TfTHacker/obsidian42-brat
[latest-version]: https://img.shields.io/github/manifest-json/v/kotaindah55/animated-cursor?label=version&link=https%3A%2F%2Fgithub.com%2Fkotaindah55%2Fanimated-cursor%2Freleases
[current-downloads]: https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fgithub.com%2Fobsidianmd%2Fobsidian-releases%2Fraw%2Frefs%2Fheads%2Fmaster%2Fcommunity-plugin-stats.json&query=%24.animated-cursor.downloads&label=downloads&color=green
[current-stars]: https://img.shields.io/github/stars/kotaindah55/animated-cursor?style=flat&link=https%3A%2F%2Fgithub.com%2Fkotaindah55%2Fanimated-cursor%2Fstargazers
[open-issues]: https://img.shields.io/github/issues-search?query=repo%3Akotaindah55%2Fanimated-cursor%20is%3Aopen&label=open%20issues&color=red&link=https%3A%2F%2Fgithub.com%2Fkotaindah55%2Fanimated-cursor%2Fissues