some extra useful options
This commit is contained in:
parent
7b3220b36d
commit
a48c672e25
1 changed files with 6 additions and 3 deletions
|
|
@ -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.tabstop = 2 -- how many spaces a tab looks like
|
||||
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
|
||||
vim.opt.ignorecase = true -- case-insensitive search
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue