Summary Files Commits Branches @commit @diff @stats
path: root / lua / text.lua
diff options
context:
space:
mode:
1 files changed, 2 insertions, 0 deletions
-rw-r--r--lua/text.lua2
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"