Skip to content

hced/ghostty-cursor-trails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ghostty Cursor Trails

Animated trail-effect for the text cursor in Ghostty terminal.

This repository currently features a Boo-Cursor shader designed to make it easier to track rapid cursor movement in general CLI use and editors like Vim/Neovim. Similar in look to the classic Neovide, this effect is tuned to feel smooth, snappy and straight to the point.

Boo-Cursor

boo-cursor.mp4

Note

If you are using the Line cursor (default in Ghostty), the effects from this shader will freeze when you unfocus the terminal as the cursor becomes a hollow block). You can prevent this by adding custom-shader-animation = always in your Ghostty config.

Usage

  1. Clone the repo into your ~/.config/ghostty/shaders directory:
git clone https://github.com/hced/ghostty-cursor-trails ~/.config/ghostty/shaders
  1. Enable it by adding this line in your ~/.config/ghostty/config:
custom-shader = shaders/ghostty-cursor-trails/boo-cursor.glsl
# ...
  1. Activate it by running this command line (Linux; use equivalent command for macOS/Windows):
systemctl reload --user app-com.mitchellh.ghostty.service  # reload Ghostty config

Acknowledgements

Inspired by Neovide cursor animations and partly derived from ghostty-cursor-shaders.

License

MIT

About

Neovide-like animated cursor trails for Ghostty terminal emulator.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages