Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

busyoGG/SmoothCursor

Repository files navigation

平滑光标

介绍

平滑光标是一个 Obsidian 插件,它可以让你的光标平滑地移动,而不是突然跳跃到目标位置。

该插件支持光标拖尾,在光标移动的时候显示移动的轨迹。

你可以设置是否开启拖尾。

自定义设置

你可以通过设置面板进行自定义,也可以通过修改 'styles.css' 文件进行自定义。css 文件修改需要重启 obsidian 才能生效。

  • 光标颜色(css)
  • 光标闪烁速度(css)
  • 开关拖尾
  • 拖尾颜色
  • 拖尾速度

演示

已知的问题

  • vim 模式下光标定位到标题的时候不是块状光标(因为在纯键盘操作的情况下无法监听到键位,无法进行合理的字符获取,所以直接设置为线型光标)
  • 表格单元如果是非纯文本的情况下会识别为跨单元选取,光标会隐藏

Smooth Cursor

Introduction

Smooth Cursor is an Obsidian plugin that makes your cursor move smoothly instead of jumping abruptly to the target position.

This plugin supports cursor trails, displaying a motion trail as the cursor moves.

You can enable or disable the trail effect as needed.

Customizable Settings

You can customize it through the settings panel, or by modifying the 'styles.css' file.Css file modifications require a restart of Obsidian.

  • Cursor color (css)
  • Cursor blink speed (css)
  • Toggle trail effect
  • Trail color
  • Trail speed

Demo

Known Issues

  • In Vim mode, when the cursor is positioned on a heading, it appears as a line cursor instead of a block cursor (since key events cannot be reliably detected during pure keyboard operation, making it difficult to accurately retrieve characters, a line cursor is used instead).

  • If a table cell contains non-plain text, it may be interpreted as a multi-cell selection, causing the cursor to be hidden.

About

Obsidian光标美化插件

Resources

License

Stars

Watchers

Forks

Packages

No packages published