diff options
author | Squibid <me@zacharyscheiman.com> | 2025-05-18 14:28:57 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2025-05-18 14:28:57 -0400 |
commit | df666dec0f125416990ec6102b2d3cc650175cae (patch) | |
tree | 8c08fbcf516f8e6412b77fd50bcaa91d937447ad /lua | |
parent | 450750835a01f64377434d6be0c7869ca59b7574 (diff) | |
download | nvim-df666dec0f125416990ec6102b2d3cc650175cae.tar.gz nvim-df666dec0f125416990ec6102b2d3cc650175cae.tar.bz2 nvim-df666dec0f125416990ec6102b2d3cc650175cae.zip |
fix dap
add showkeys thingy
remove nyooom
Diffstat (limited to 'lua')
-rw-r--r-- | lua/conf/plugins/dap.lua | 2 | ||||
-rw-r--r-- | lua/conf/plugins/nyooom.lua | 7 | ||||
-rw-r--r-- | lua/conf/plugins/show.lua | 29 |
3 files changed, 30 insertions, 8 deletions
diff --git a/lua/conf/plugins/dap.lua b/lua/conf/plugins/dap.lua index 4ec6706..afa9f29 100644 --- a/lua/conf/plugins/dap.lua +++ b/lua/conf/plugins/dap.lua @@ -79,7 +79,7 @@ return { "mfussenegger/nvim-dap", dap.configurations.rust = dap.configurations.c -- keybinds - map("n", "<leader>ec", dap.continue, { desc = "dap continue " }) + map("n", "<leader>ec", dap.continue, { desc = "dap continue" }) map("n", "<leader>el", dap.run_last, { desc = "dap run last" }) map("n", "<leader>et", function() dap.terminate() diff --git a/lua/conf/plugins/nyooom.lua b/lua/conf/plugins/nyooom.lua deleted file mode 100644 index 00de6ca..0000000 --- a/lua/conf/plugins/nyooom.lua +++ /dev/null @@ -1,7 +0,0 @@ -return { "squibid/nyooom", - url = "https://git.squi.bid/nyooom", - pin = true, - function() - require("nyooom").setup {} - end -} 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 +} |