Hi, folks!
I just want to share with you the plugin I’ve been working on: a fuzzy finder called peneira. It has no external dependencies other than luar (and lua
, by extension). No tmux
, no fzf
, nothing.
It has a very simple API. Here is how you can implement a simple buffers filter:
peneira 'buffers: ' %{ printf '%s\n' $kak_quoted_buflist } %{
buffer %arg{1}
}
It is fast and should perform well on most cases. However, since everything happens synchronously, you may experience some performance issues on large candidates list (or slow computers). Fortunately, luar
has recently gained support for customizing its lua interpreter. So, if you experience some lag, try configuring luar
to use luajit
:
set-option global luar_interpreter luajit
That’s it. I hope you enjoy it!