22 lines
406 B
Lua
22 lines
406 B
Lua
-- custom vim options
|
|
|
|
-- set fat cursor
|
|
vim.opt.guicursor = ''
|
|
|
|
-- set relative-number
|
|
vim.wo.relativenumber = true
|
|
|
|
vim.opt.smartindent = true
|
|
vim.opt.tabstop = 2
|
|
vim.opt.shiftwidth = 2
|
|
vim.opt.expandtab = true
|
|
|
|
vim.opt.colorcolumn = '80'
|
|
|
|
-- always have a set number of lines
|
|
-- below the screen except at the end of the screen
|
|
vim.opt.scrolloff = 8
|
|
|
|
vim.opt.splitright = true
|
|
vim.opt.splitbelow = true
|