Compare commits

...

2 Commits

View File

@ -65,7 +65,7 @@ M.setup = function()
end, { silent = true, desc = "LSP: Toggle Diagnostics" })
-- Toggle relativenumber
vim.keymap.set("n", "<leader>sn", function()
vim.keymap.set("n", "<leader>sr", function()
vim.opt.relativenumber = not vim.opt.relativenumber:get()
end, { silent = true, desc = "Toggle Relativenumber" })
@ -114,6 +114,9 @@ M.setup = function()
-- Insert an Em Dash in insert mode
vim.keymap.set("i", "<A-->", "", { silent = true, desc = "Insert: Em Dash" })
-- Keymap to toggle folds easier
vim.keymap.set("n", "<Tab>", "za", { silent = true, desc = "Toggle Fold" })
end
return M