diff options
| Commit | 4b1eedcafb33b4d8a585943ccc56f7a6eece1742 (patch) | |
|---|---|---|
| Author | 2024-03-24 11:00:33 +0200 | |
| Committer | 2024-03-24 11:00:33 +0200 | |
| Files | c90202640f08e12ca62e32bb555cb79cf85f4248 /lua/text.lua | |
| anderson-4b1eedcafb33b4d8a585943ccc56f7a6eece1742.tar anderson-4b1eedcafb33b4d8a585943ccc56f7a6eece1742.tar.gz anderson-4b1eedcafb33b4d8a585943ccc56f7a6eece1742.zip | ||
| Parent | 7954eded4d4dcd56cbfab73944900030bf97f253 (diff) | |
[text] Added scrolloff
1 files changed, 2 insertions, 0 deletions
| -rw-r--r-- | lua/text.lua | 2 |
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" |
