nvim-snappy/lua/plugins/fun/cellular-automation.lua

41 lines
779 B
Lua

-- cellular-automaton.nvim
--- Purely fun little plugin that animates the buffer text.
--- TODO: I think bufferline is conflicting (looks all flashy n shit)
return {
'eandrju/cellular-automaton.nvim',
commit = '11aea08aa084f9d523b0142c2cd9441b8ede09ed',
lazy = true,
keys = {
{
"<leader>fml",
function()
require('cellular-automaton').start_animation('make_it_rain')
end,
"n",
},
{
"<leader>fuck",
function()
require('cellular-automaton').start_animation('scramble')
end,
"n",
},
{
"<leader>fuck",
function()
require('cellular-automaton').start_animation('game_of_life')
end,
"n",
},
{
"<leader>FUCK",
function()
require('cellular-automaton').start_animation('game_of_life')
end,
"n",
},
},
}