Blazingly fast implementation for NEKOKAK with Neovim Lua.
Kapture.2022-06-08.at.12.07.17.mp4
This is a fork of mattn/vim-nekokak implemented by Lua.
for packer.nvim
use {
"delphinus/nekokak.nvim",
config = function()
require "nekokak".setup {}
end,
}
for builtin packages
git clone https://github.com/delphinus/nekokak.nvim \
$HOME/.local/share/nvim/site/pack/foobar/start/nekokak.nvim
-- And in your init.lua……
require "nekokak".setup {}
:Nekokak
You see him.
:Nekokak { wait_ms = 10, direction = 'loop' }
You see more passionate him.
wait_ms
(default:100
)- Milliseconds to wait between frames.
direction
(default:'expand'
)- Direction to animate him. Either
'expand'
,'reduct'
or'loop'
is available.
- Direction to animate him. Either
count
(default:3
)- Count to loop. This is ignored when
direction
is not'loop'
.
- Count to loop. This is ignored when
You can start NEKOKAK.
:lua require "nekokak".start { wait_ms = 10, direction = 'loop' }
opts
are the same one as for :Nekokak
.