Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Smooth CursorNew to Visual Studio Code? Get it now.
Smooth Cursor

Smooth Cursor

Labtoso Studios

|
53 installs
| (0) | Free
Word-like smooth typing and configurable Kitty-inspired cursor trails for Enter and jumps.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Smooth Cursor

Word-like native caret movement while typing, with a configurable Kitty-inspired trail on Enter and cursor jumps.

What's new in 0.2.0

  • An animated, tapering quadrilateral replaces the old stationary afterimages.
  • Typing and deletion use native smooth caret movement without extra trails.
  • Independent controls for duration, length, thickness, opacity, color and Pride rainbow theme.
  • Trails are positioned outside the text flow, so they do not change the text baseline or spacing.
  • Trails clear on loss of window focus, editor changes, scrolling, selections and multiple cursors.
  • Empty lines are supported.

Settings

Left-click Smooth Cursor in the status bar, or run Smooth Cursor: Open Settings from the Command Palette. The dedicated settings page includes every extension setting, native cursor appearance, typing movement, themes and presets. Search settings, drag sliders or enter precise values, and choose colors directly. Changes save automatically. Settings are saved at User scope, so explicit workspace or language overrides may still take precedence. The page remains available when trails are disabled. Toggle Cursor Trail remains available in the Command Palette.

Setting Default Meaning
smoothCursor.enabled true Enable extra trail effects
smoothCursor.trail.enabled true Toggle the trail
smoothCursor.trail.duration 400 Slow edge settling time, 60–600 ms
smoothCursor.trail.enterDuration 0 Enter duration in ms, 0–1200; 0 inherits duration
smoothCursor.trail.lineDuration 0 Vertical navigation duration in ms, 0–1200; 0 inherits duration
smoothCursor.trail.jumpDuration 0 Horizontal jump duration in ms, 0–1200; 0 inherits duration
smoothCursor.trail.theme solid Solid color or Pride rainbow
smoothCursor.trail.fastDuration 80 Leading edge settling time, 20–300 ms; limited to the slow time
smoothCursor.trail.length 24 Maximum trail extent in cell widths, 2–120
smoothCursor.trail.width 0.24 Trail thickness in cell widths, 0.08–1.5
smoothCursor.trail.opacity 0.55 Opacity, 0.05–1
smoothCursor.trail.color auto Light/dark preset or a six-digit hex color such as #FFAA44
smoothCursor.trail.minDistance 2 Minimum horizontal navigation jump; vertical moves and Enter are separate
smoothCursor.trail.maxJumpLines 12 Maximum vertical jump, 1–50 lines
smoothCursor.reduceMotion false Disable extra trails

Choose Smooth Cursor: Choose Trail Color / Pride Theme for color presets or a custom hex color. Choose Animation Preset offers Kitty, Subtle, Snappy and Off.

In 0.1.0, trail.length meant afterimage count. In 0.2.0 it means maximum trail extent; existing numerical settings are retained. No user settings are silently rewritten.

Cursor appearance and themes

Customize Cursor changes the native cursor color, shape, line width, blinking and smooth-movement mode. Choose Cursor and Trail Theme applies coordinated colors, including Pride (rainbow trail with a violet native cursor). Both remain independently customizable. Native cursors are solid-colored; their renderer does not support a rainbow fill. These commands update native VS Code user settings only when invoked. Other color customizations are preserved. Explicit workspace, language or theme-specific overrides may take precedence.

Native caret

The extension contributes defaults for editor.cursorSmoothCaretAnimation (on) and editor.cursorBlinking (smooth). Explicit user and workspace settings take precedence. Enable VS Code Smooth Caret changes the user setting only when invoked.

Trail duration and length are independent. The duration of VS Code's native typing glide is not configurable by this extension. Turning trails off does not disable native caret animation; use editor.cursorSmoothCaretAnimation: off for that.

Fidelity and compatibility

This is an approximation, not the Word or Kitty renderer. Kitty-inspired direction-weighted corner motion is implemented independently; Kitty source is not shipped. Word-like typing uses VS Code's native caret, not a measured copy of Word's private animation curve.

The trail is sliced into per-line SVG decorations. Scoped positioning styles keep those decorations out of text layout. This styling relies on VS Code's decoration renderer accepting absolute positioning; it is not a dedicated, guaranteed cursor-overlay API. A future editor change may require an update. No VS Code installation files are patched, and no external CSS loader is required.

Best results use a monospace font, unwrapped ASCII text and ordinary line spacing. Wrapped lines, enabled font ligatures, non-ASCII paths, off-screen/folded paths and excessively long jumps fall back to native movement. Proportional fonts, custom letter spacing, inline hints and unusual editor layouts can make the approximation less accurate. The integrated terminal is unaffected. Only the active editor's single empty selection is animated.

Auto color uses light/dark presets rather than reading the exact theme caret color. For a matching color, select it explicitly.

There is no telemetry, network access or runtime dependency.

Development

npm ci --ignore-scripts
npm test
npm run check
npm run test:integration
npm run package

The integration runner uses the locally installed Windows VS Code and an isolated profile under this project. Override VSCODE_EXECUTABLE for another installation. The optional --visual runner flag opens the real settings page for a two-minute visual check. No paused or continuously reinserted test frame is used. All tests are excluded from the VSIX.

Research

  • Kitty cursor trail implementation
  • VS Code native cursor animation
  • Microsoft Office animations

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft