From 3a67710814051ec6654f480a1d6e08ccadc9341b Mon Sep 17 00:00:00 2001 From: "markus.dieckmann" Date: Wed, 14 May 2025 18:09:19 +0200 Subject: [PATCH] keymap remove double ] cursorcolumn scrolloff --- nvim/lua/config/options.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nvim/lua/config/options.lua b/nvim/lua/config/options.lua index de7775e..a67063f 100644 --- a/nvim/lua/config/options.lua +++ b/nvim/lua/config/options.lua @@ -1,6 +1,5 @@ vim.opt.langmap = "+]ü[" vim.keymap.set("n", "ü", "[", {remap=true}) -vim.keymap.set("n", "Ü", "]", {remap=true}) vim.opt.expandtab = true vim.opt.shiftwidth = 4 @@ -68,10 +67,10 @@ vim.opt.inccommand = 'split' -- Show which line your cursor is on vim.opt.cursorline = true -vim.opt.cursorcolumn = true +vim.opt.cursorcolumn = false -- Minimal number of screen lines to keep above and below the cursor. -vim.opt.scrolloff = 35 +vim.opt.scrolloff = 20 -- if performing an operation that would fail due to unsaved changes in the buffer (like `:q`), -- instead raise a dialog asking if you wish to save the current file(s)