From 4b1eedcafb33b4d8a585943ccc56f7a6eece1742 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 24 Mar 2024 11:00:33 +0200 Subject: [text] Added scrolloff --- lua/text.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lua/text.lua') diff --git a/lua/text.lua b/lua/text.lua index 3c44fba..08cf7ff 100644 --- a/lua/text.lua +++ b/lua/text.lua @@ -4,7 +4,9 @@ vim.o.hlsearch = false -- No highlighting when searching --[=[ Cursor ]=]-- +vim.o.scrolloff = 5 -- Lines above and below cursor vim.o.showmatch = true -- Jump to opening brace when having typed closing one + vim.o.cursorline = true vim.api.nvim_create_autocmd({ "InsertLeave", "BufEnter" }, { command = "set cul" -- cgit v1.3.1-23-gd82d