fix dap
add showkeys thingy remove nyooom
This commit is contained in:
@ -79,7 +79,7 @@ return { "mfussenegger/nvim-dap",
|
|||||||
dap.configurations.rust = dap.configurations.c
|
dap.configurations.rust = dap.configurations.c
|
||||||
|
|
||||||
-- keybinds
|
-- 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>el", dap.run_last, { desc = "dap run last" })
|
||||||
map("n", "<leader>et", function()
|
map("n", "<leader>et", function()
|
||||||
dap.terminate()
|
dap.terminate()
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
return { "squibid/nyooom",
|
|
||||||
url = "https://git.squi.bid/nyooom",
|
|
||||||
pin = true,
|
|
||||||
function()
|
|
||||||
require("nyooom").setup {}
|
|
||||||
end
|
|
||||||
}
|
|
29
lua/conf/plugins/show.lua
Normal file
29
lua/conf/plugins/show.lua
Normal file
@ -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
|
||||||
|
}
|
Reference in New Issue
Block a user