From b2e4ea43274754eb5e02b76b66c3fda29ab7fdea Mon Sep 17 00:00:00 2001 From: RageCage64 Date: Sun, 20 Oct 2024 09:05:00 -0400 Subject: [PATCH] fix writing mode remap --- nvim/lua/RageCage64/remap.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nvim/lua/RageCage64/remap.lua b/nvim/lua/RageCage64/remap.lua index 1c79257..b67d714 100644 --- a/nvim/lua/RageCage64/remap.lua +++ b/nvim/lua/RageCage64/remap.lua @@ -64,7 +64,8 @@ vim.keymap.set("n", "rc", ":so $HOME/.config/nvim/init.lua") function WritingMode() require("centerpad").toggle() - vim.opt.wrap = not vim.opt.wrap + vim.opt.wrap = true + vim.opt.linebreak = true end -- Writing