| |

rainbow trails for neovim

i am a vim fan. i love the efficiency and doing everything without taking my hands off the keyboard. but i do not like things bland. i want colors. i admire colors.

and now it does, whenever it moves.

rainbow trails following the cursor in neovim

the plugin is here: rainbow-trails.nvim on github.

this is my native lua rewrite of rich cheng's original vim-rainbow-trails. the original was written in vimscript and already worked in neovim, but i wanted a version built around neovim's lua api. i also fixed the old window cleanup problem and made trails visible past the ends of short and empty lines.

installing it

with vim-plug:

call plug#begin()
Plug 'dhrm1k/rainbow-trails.nvim'
call plug#end()

lua require('rainbow_trails').setup({ enabled = true })

run :PlugInstall, restart neovim, and move around.

you can also enable or disable it manually:

:RainbowTrails
:RainbowTrails!