45 lines
903 B
Lua
45 lines
903 B
Lua
vim.o.number = true -- show line numbers
|
|
vim.o.relativenumber = true -- show line numbers relative to current line
|
|
|
|
vim.o.ignorecase = true
|
|
vim.o.smartcase = true
|
|
|
|
|
|
-- use vim
|
|
vim.o.expandtab = true -- convert tab to spaces
|
|
vim.o.shiftwidth = 4
|
|
|
|
vim.o.cursorline = true
|
|
|
|
vim.o.undofile = true
|
|
|
|
vim.o.showmode = false
|
|
|
|
vim.o.signcolumn = "yes"
|
|
|
|
|
|
|
|
vim.o.list = true
|
|
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
|
|
|
|
--[[
|
|
-- Set options
|
|
vim.opt.number = true
|
|
vim.opt.relativenumber = true
|
|
vim.opt.mouse = 'a'
|
|
vim.opt.ignorecase = true
|
|
vim.opt.smartcase = true
|
|
vim.opt.hlsearch = true
|
|
vim.opt.wrap = true
|
|
vim.opt.breakindent = true
|
|
vim.opt.tabstop = 2
|
|
vim.opt.shiftwidth = 2
|
|
vim.opt.expandtab = true
|
|
vim.opt.signcolumn = "yes"
|
|
vim.opt.termguicolors = true
|
|
vim.opt.updatetime = 250
|
|
vim.opt.timeoutlen = 300
|
|
vim.opt.undofile = true
|
|
vim.opt.completeopt = "menu,menuone,noselect"
|
|
]]
|