summaryrefslogtreecommitdiff
path: root/ar/.config/TheSiahxyz/lua/TheSiahxyz/utils/cheatsheet.lua
diff options
context:
space:
mode:
Diffstat (limited to 'ar/.config/TheSiahxyz/lua/TheSiahxyz/utils/cheatsheet.lua')
-rw-r--r--ar/.config/TheSiahxyz/lua/TheSiahxyz/utils/cheatsheet.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/ar/.config/TheSiahxyz/lua/TheSiahxyz/utils/cheatsheet.lua b/ar/.config/TheSiahxyz/lua/TheSiahxyz/utils/cheatsheet.lua
new file mode 100644
index 0000000..bc5b210
--- /dev/null
+++ b/ar/.config/TheSiahxyz/lua/TheSiahxyz/utils/cheatsheet.lua
@@ -0,0 +1,13 @@
+local options = {
+ cheatsheet = {
+ theme = "grid", -- Options: "simple" or "grid"
+ excluded_groups = { "terminal (t)", "autopairs", "Nvim", "Opens" }, -- Exclude specific groups
+ },
+}
+
+-- Define a keymap for opening the cheatsheet
+vim.keymap.set("n", "<leader>skc", function()
+ require("TheSiahxyz.utils.cheatsheet.grid")()
+end, { desc = "Open Cheatsheet" })
+
+return options