From 733f23d190a3ca58900eba547d89917b26f30f6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Vulquin?= Date: Tue, 6 Aug 2024 13:15:45 +0200 Subject: nvim: simplify bindings.fnl This also introduces a neovim-level `.chezmoiremove`. This will be used from now on to cleanup files. It might grow over time but I can start trimming the top lines once it's been "long enough" anyway. --- dot_config/nvim/fnl/bindings.fnl | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 dot_config/nvim/fnl/bindings.fnl (limited to 'dot_config/nvim/fnl/bindings.fnl') diff --git a/dot_config/nvim/fnl/bindings.fnl b/dot_config/nvim/fnl/bindings.fnl new file mode 100644 index 0000000..04ea594 --- /dev/null +++ b/dot_config/nvim/fnl/bindings.fnl @@ -0,0 +1,13 @@ +(import-macros {:mixed-table · : recc} :toast.macros) + +(recc :which-key :add + ; document missing builtins + [(· :gt & :desc "Next tab") + (· :gT & :desc "Previous tab") + ; diagnostics + (· :e vim.diagnostic.open_float & :desc "diag float") + (· :q vim.diagnostic.setloclist & :desc "diag locations") + (· "[d" vim.diagnostic.goto_prev & :desc "prev diag") + (· "]d" vim.diagnostic.goto_next & :desc "next diag") + ; plugin groups + (· :f & :desc :+find)]) -- cgit v1.2.3