From 494bd5cad1b3a3eb96c8c19c86c259ceb03d9caf Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Tue, 31 Dec 2024 14:42:32 +0100 Subject: [PATCH] nvim: uw toggles line wrap --- home/common/nvim/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/home/common/nvim/init.lua b/home/common/nvim/init.lua index 1330396..c32cefe 100644 --- a/home/common/nvim/init.lua +++ b/home/common/nvim/init.lua @@ -155,4 +155,5 @@ vim.keymap.set("n", "ub", function() vim.o.background = (vim.o.background == "light" and "dark" or "light") end, opts("Toggle dark/light background")) vim.keymap.set("n", "uh", "InlayHintsToggle", opts("Toggle inlay hints")) +vim.keymap.set("n", "uw","set invwrap", opts("Toggle line wrapping"))