config.nvim/lua/core.lua

26 lines
503 B
Lua
Raw Normal View History

-- CORE SETTINGS
local o = vim.o
2021-09-14 19:58:30 +08:00
local global = vim.g
2021-09-07 23:26:21 +08:00
-- look and feel
o.termguicolors = true
o.ruler = true
o.relativenumber = true
o.number = true
o.showmode = false
o.scrolloff = 10
2023-11-23 15:24:50 +08:00
global.netrw_bufsettings = "noma nomod relativenumber nowrap ro nobl"
2021-09-07 23:26:21 +08:00
-- controlling
vim.opt.completeopt = { 'menu', 'menuone', 'noselect' }
o.ignorecase = true
o.smartcase = true
o.smartindent = true
o.autoindent = true
2021-10-25 10:53:37 +08:00
-- leader settings
global.mapleader = ' '
2023-07-16 10:43:50 +08:00
-- env settings for plugins
global.tagbar_sort = 0