feat: add default tab settings
This commit is contained in:
parent
ed046a62aa
commit
f00b283bcb
1 changed files with 12 additions and 0 deletions
|
@ -62,6 +62,18 @@ vim.opt.splitbelow = true
|
||||||
vim.opt.list = true
|
vim.opt.list = true
|
||||||
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
|
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
|
||||||
|
|
||||||
|
----
|
||||||
|
-- Default tab settings
|
||||||
|
----
|
||||||
|
-- A TAB character looks like 4 spaces
|
||||||
|
vim.o.tabstop = 4
|
||||||
|
-- Pressing the TAB key will insert spaces instead of a TAB character
|
||||||
|
vim.o.expandtab = true
|
||||||
|
-- Number of spaces inserted instead of a TAB character
|
||||||
|
vim.o.softtabstop = 4
|
||||||
|
-- Number of spaces inserted when indenting
|
||||||
|
vim.o.shiftwidth = 4
|
||||||
|
|
||||||
-- Preview substitutions live, as you type!
|
-- Preview substitutions live, as you type!
|
||||||
vim.opt.inccommand = 'split'
|
vim.opt.inccommand = 'split'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue