diff --git a/init.lua b/init.lua index 811cdf0..5f2f2a6 100644 --- a/init.lua +++ b/init.lua @@ -29,6 +29,13 @@ vim.opt.autoindent = true vim.opt.smartindent = true -- a stricter alternative which works better for the C language: vim.opt.cindent = true + +-- keep cursor away from the top and bottom of the screen +vim.opt.scrolloff = 6 + +-- marker at line 80 +vim.opt.colorcolumn = "80" + -- use language‐specific plugins for indenting (better): vim.cmd("filetype plugin indent on")