-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.lua
27 lines (19 loc) · 788 Bytes
/
init.lua
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
vim.opt.clipboard = "unnamedplus"
vim.opt.expandtab = true -- insert spaces instead of \t
vim.opt.tabstop = 4 -- \t is 4 character wide
vim.opt.shiftwidth = 4 -- indents are 4 character wide (>> and etc. commands)
-- line numbers
vim.opt.number = true
vim.opt.numberwidth = 6
vim.opt.wrap = false
vim.opt.cursorline = true -- highlight current line
vim.opt.colorcolumn = "121" -- highlight max column
vim.cmd([[ colo jellybeans ]])
vim.opt.laststatus = 2 -- show statusline
vim.opt.statusline = " %F %y"
.. "[%{&fileencoding?&fileencoding:&encoding}"
.. "%{&bomb?'-BOM':''}]"
.. "%m %="
.. "(%l, %c) : %L 0x%04B"
vim.opt.foldmethod = "indent"
vim.opt.foldenable = false -- unfold by default