summaryrefslogtreecommitdiff
path: root/dot_config/nvim/fnl/bindings.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/nvim/fnl/bindings.fnl')
-rw-r--r--dot_config/nvim/fnl/bindings.fnl13
1 files changed, 13 insertions, 0 deletions
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
+ (· :<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")
+ ; plugin groups
+ (· :<leader>f & :desc :+find)])