summaryrefslogtreecommitdiff
path: root/dot_config/nvim/lua/bindings.lua
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/lua/bindings.lua
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 '')
-rw-r--r--dot_config/nvim/lua/bindings.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/dot_config/nvim/lua/bindings.lua b/dot_config/nvim/lua/bindings.lua
new file mode 100644
index 0000000..a323057
--- /dev/null
+++ b/dot_config/nvim/lua/bindings.lua
@@ -0,0 +1,2 @@
+-- [nfnl] Compiled from fnl/bindings.fnl by https://github.com/Olical/nfnl, do not edit.
+return require("which-key").add({{"gt", desc = "Next tab"}, {"gT", desc = "Previous tab"}, {"<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"}, {"<leader>f", desc = "+find"}})