some extra useful options

This commit is contained in:
Zoty 2026-04-13 16:24:39 -03:00
parent 7b3220b36d
commit a48c672e25
Signed by: Zoty
SSH key fingerprint: SHA256:WsGEGivgl37t3Mth6uugXMOgMCTR7QolIepNbC+j/tA

View file

@ -20,6 +20,9 @@ vim.opt.sidescrolloff = 8 -- keep space left/right of cursor
vim.opt.expandtab = true -- use spaces instead of tabs vim.opt.expandtab = true -- use spaces instead of tabs
vim.opt.tabstop = 2 -- how many spaces a tab looks like vim.opt.tabstop = 2 -- how many spaces a tab looks like
vim.opt.shiftwidth = 2 -- how many spaces when indenting vim.opt.shiftwidth = 2 -- how many spaces when indenting
vim.opt.softtabstop = 2 -- how many spaces a tab looks like during insert
vim.opt.smartindent = true -- auto indent in some cases
vim.opt.smarttab = true -- insert spaces at the start of a line
-- Search -- Search
vim.opt.ignorecase = true -- case-insensitive search vim.opt.ignorecase = true -- case-insensitive search