summaryrefslogtreecommitdiff
path: root/dot_config/nvim/fnl/bindings/init.fnl
diff options
context:
space:
mode:
authorChloé Vulquin <code@toast.bunkerlabs.net>2024-08-06 13:15:45 +0200
committerChloé Vulquin <code@toast.bunkerlabs.net>2024-08-06 13:15:45 +0200
commit733f23d190a3ca58900eba547d89917b26f30f6f (patch)
tree4a92fa27b3e578954f4974463a48f1f69bfe15f2 /dot_config/nvim/fnl/bindings/init.fnl
parentnvim/noplugins: port the "TODO" to fennel :) (diff)
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.
Diffstat (limited to 'dot_config/nvim/fnl/bindings/init.fnl')
-rw-r--r--dot_config/nvim/fnl/bindings/init.fnl13
1 files changed, 0 insertions, 13 deletions
diff --git a/dot_config/nvim/fnl/bindings/init.fnl b/dot_config/nvim/fnl/bindings/init.fnl
deleted file mode 100644
index 80b6733..0000000
--- a/dot_config/nvim/fnl/bindings/init.fnl
+++ /dev/null
@@ -1,13 +0,0 @@
-(import-macros {:mixed-table · : recc} :toast.macros)
-
-(each [_ v (ipairs [:builtins
- :plugins])]
- (require (.. :bindings. v)))
-
-; general bindings that aren't specific to a plugin
-(recc :which-key :add
- ; diagnostics
- [(· :<leader>e vim.diagnostic.open_float & :desc "diag float")
- (· :<leader>q vim.diagnostic.setloclist & :desc "diag locations")
- (· "[d" vim.diagnostic.goto_prev & :desc "prev diag")
- (· "]d" vim.diagnostic.goto_next & :desc "next diag")])