28 lines
427 B
Lua
28 lines
427 B
Lua
local o = vim.o
|
|
local wo = vim.wo
|
|
local bo = vim.bo
|
|
local cmd = vim.cmd
|
|
|
|
cmd('syntax on')
|
|
cmd('set number')
|
|
cmd('set completeopt=menuone,noinsert,noselect')
|
|
cmd('set shortmess+=c')
|
|
|
|
o.startofline = true
|
|
wo.cursorline = true
|
|
|
|
o.updatetime = 300
|
|
wo.signcolumn='yes'
|
|
o.showcmd = true
|
|
|
|
o.shell = 'bash'
|
|
o.mouse = 'a'
|
|
|
|
o.smarttab = true
|
|
bo.tabstop = 2
|
|
bo.shiftwidth = 2
|
|
bo.expandtab = true
|
|
|
|
wo.relativenumber = true
|
|
o.hidden = true
|