Compare commits
2 Commits
cc8494b33e
...
36b3f7069c
Author | SHA1 | Date | |
---|---|---|---|
36b3f7069c | |||
8c68e534d1 |
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user