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

41 lines
779 B
Lua
Raw Normal View History

2025-02-12 11:49:02 +01:00
-- 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',
2025-02-12 11:49:02 +01:00
function()
require('cellular-automaton').start_animation('make_it_rain')
end,
'n',
2025-02-12 11:49:02 +01:00
},
{
'<leader>fuck',
2025-02-12 11:49:02 +01:00
function()
require('cellular-automaton').start_animation('scramble')
end,
'n',
2025-02-12 11:49:02 +01:00
},
{
'<leader>fuck',
2025-02-12 11:49:02 +01:00
function()
require('cellular-automaton').start_animation('game_of_life')
end,
'n',
2025-02-12 11:49:02 +01:00
},
{
'<leader>FUCK',
2025-02-12 11:49:02 +01:00
function()
require('cellular-automaton').start_animation('game_of_life')
end,
'n',
2025-02-12 11:49:02 +01:00
},
},
}