From fd529cdd5f565399d6919f6a91785ff6dbf2a4f3 Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 10 Aug 2022 18:05:34 +0200 Subject: [PATCH] nvim: configure cursorline and scrolloff --- .config/nvim/lua/settings.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/nvim/lua/settings.lua b/.config/nvim/lua/settings.lua index 0f178ff..57fca54 100644 --- a/.config/nvim/lua/settings.lua +++ b/.config/nvim/lua/settings.lua @@ -4,6 +4,8 @@ vim.o.listchars = 'tab:▸ ,trail:·,nbsp:+' vim.o.textwidth = 80 -- default text width vim.o.colorcolumn = tostring(vim.o.textwidth) vim.o.wrap = false +vim.o.cursorline = true -- highlight row with cursor +vim.o.scrolloff = 5 -- show 5 lines below/above cursor vim.o.expandtab = true -- indent using spaces vim.o.tabstop = 4 -- 1 tab = 4 spaces