blob: 800c6d8bd1c3999919a5de0dad22fb9f2e1558bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
-- Relative line numbers
vim.opt.number = true
vim.opt.relativenumber = true
-- 4 space tabs
vim.opt.tabstop = 4
vim.opt.softtabstop = 0
vim.opt.shiftwidth = 4
vim.opt.smarttab = true
vim.opt.expandtab = true
-- Smart indenting
vim.opt.autoindent = true
vim.opt.smartindent = true
-- No line wrap
vim.opt.wrap = false
-- Search highlighting
vim.opt.hlsearch = false
vim.opt.incsearch = true
-- Keep 9 lines on top/bottom
vim.opt.scrolloff = 9
-- 80 char col
vim.opt.colorcolumn = "80"
-- show whitespace
vim.opt.list = true
|