diff --git a/home/common/nvim/init.lua b/home/common/nvim/init.lua index 90f5db6..88c9353 100644 --- a/home/common/nvim/init.lua +++ b/home/common/nvim/init.lua @@ -147,5 +147,8 @@ vim.keymap.set("n", "K", function() offset_x = 2, } end, {}) +vim.keymap.set("n", "ub", function() + vim.o.background = (vim.o.background == "light" and "dark" or "light") + end, opts("Toggle dark/light background"))