config.nvim/lua/core.lua
2023-11-23 15:24:50 +08:00

27 lines
517 B
Lua

-- CORE SETTINGS
local o = vim.o
local global = vim.g
-- look and feel
o.termguicolors = true
o.ruler = true
o.relativenumber = true
o.number = true
o.showmode = false
o.scrolloff = 10
global.netrw_bufsettings = "noma nomod relativenumber nowrap ro nobl"
-- controlling
vim.opt.completeopt = { 'menu', 'menuone', 'noselect' }
o.ignorecase = true
o.smartcase = true
o.smartindent = true
o.autoindent = true
o.mouse = "i"
-- leader settings
global.mapleader = ' '
-- env settings for plugins
global.tagbar_sort = 0