nvim: <Leader>uw toggles line wrap
This commit is contained in:
parent
cdc020ff0d
commit
494bd5cad1
1 changed files with 1 additions and 0 deletions
|
@ -155,4 +155,5 @@ vim.keymap.set("n", "<Leader>ub", function()
|
||||||
vim.o.background = (vim.o.background == "light" and "dark" or "light")
|
vim.o.background = (vim.o.background == "light" and "dark" or "light")
|
||||||
end, opts("Toggle dark/light background"))
|
end, opts("Toggle dark/light background"))
|
||||||
vim.keymap.set("n", "<Leader>uh", "<cmd>InlayHintsToggle<cr>", opts("Toggle inlay hints"))
|
vim.keymap.set("n", "<Leader>uh", "<cmd>InlayHintsToggle<cr>", opts("Toggle inlay hints"))
|
||||||
|
vim.keymap.set("n", "<Leader>uw","<cmd>set invwrap<cr>", opts("Toggle line wrapping"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue