From 01586921b3d5f2ac1ccf8196d3ad9b4b3ddd31f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Vulquin?= Date: Wed, 24 Jul 2024 19:19:26 +0200 Subject: nvim: rewrite config in fennel One file isn't done, and there's also the question of ftplugin and co. One step at a time though, eh? --- dot_config/nvim/fnl/plugins/flash.fnl | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 dot_config/nvim/fnl/plugins/flash.fnl (limited to 'dot_config/nvim/fnl/plugins/flash.fnl') diff --git a/dot_config/nvim/fnl/plugins/flash.fnl b/dot_config/nvim/fnl/plugins/flash.fnl new file mode 100644 index 0000000..ece5de4 --- /dev/null +++ b/dot_config/nvim/fnl/plugins/flash.fnl @@ -0,0 +1,19 @@ +(import-macros {: tbl : recc} :toast.macros) +[(tbl :folke/flash.nvim & + :opts {:modes {:search {:enabled false}}} + :event :VeryLazy + :keys [(tbl :s #(recc :flash :jump) & + :mode [:n :x :o] + :desc :Flash) + (tbl :S #(recc :flash :treesitter) & + :mode [:n :x :o] + :desc "Flash Treesitter") + (tbl :r #(recc :flash :remote) & + :mode :o + :desc "Remote Flash") + (tbl :R #(recc :flash :treesitter_search) & + :mode [:o :x] + :desc "Flash Treesitter Search") + (tbl : #(recc :flash :toggle) & + :mode :c + :desc "Toggle Flash Search")])] -- cgit v1.2.3