1
0

set scrolloff and colorcolumn

This commit is contained in:
2025-03-18 22:45:44 +00:00
parent fd8791bfd4
commit 5dfeaad882

View File

@@ -29,6 +29,13 @@ vim.opt.autoindent = true
vim.opt.smartindent = true vim.opt.smartindent = true
-- a stricter alternative which works better for the C language: -- a stricter alternative which works better for the C language:
vim.opt.cindent = true vim.opt.cindent = true
-- keep cursor <lines> away from the top and bottom of the screen
vim.opt.scrolloff = 6
-- marker at line 80
vim.opt.colorcolumn = "80"
-- use languagespecific plugins for indenting (better): -- use languagespecific plugins for indenting (better):
vim.cmd("filetype plugin indent on") vim.cmd("filetype plugin indent on")