summaryrefslogtreecommitdiffstats
path: root/lua/conf/plugins/show.lua
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2025-05-18 14:28:57 -0400
committerSquibid <me@zacharyscheiman.com>2025-05-18 14:28:57 -0400
commitdf666dec0f125416990ec6102b2d3cc650175cae (patch)
tree8c08fbcf516f8e6412b77fd50bcaa91d937447ad /lua/conf/plugins/show.lua
parent450750835a01f64377434d6be0c7869ca59b7574 (diff)
downloadnvim-df666dec0f125416990ec6102b2d3cc650175cae.tar.gz
nvim-df666dec0f125416990ec6102b2d3cc650175cae.tar.bz2
nvim-df666dec0f125416990ec6102b2d3cc650175cae.zip
fix dap
add showkeys thingy remove nyooom
Diffstat (limited to 'lua/conf/plugins/show.lua')
-rw-r--r--lua/conf/plugins/show.lua29
1 files changed, 29 insertions, 0 deletions
diff --git a/lua/conf/plugins/show.lua b/lua/conf/plugins/show.lua
new file mode 100644
index 0000000..320526b
--- /dev/null
+++ b/lua/conf/plugins/show.lua
@@ -0,0 +1,29 @@
+return { "nvzone/showkeys",
+ function()
+ require("showkeys").setup {
+ position = "top-right",
+ winopts = {
+ border = vim.g.border_style,
+ },
+
+ -- change the way it looks
+ winhl = "NormalFloat:Comment,NormalFloat:NormalFloat",
+ maxkeys = 3,
+
+ -- change the way keys are displayed
+ keyformat = {
+ ["<BS>"] = "<BS>",
+ ["<CR>"] = "<CR>",
+ ["<Space>"] = "<Space>",
+ ["<Up>"] = "<Up>",
+ ["<Down>"] = "<Down>",
+ ["<Left>"] = "<Left>",
+ ["<Right>"] = "<Right>",
+ ["<PageUp>"] = "<PageUp>",
+ ["<PageDown>"] = "<PageDown>",
+ ["<M>"] = "Alt",
+ ["<C>"] = "Ctrl",
+ }
+ }
+ end
+}