2022-05-09 11:25:29 +08:00
|
|
|
-- CORE SETTINGS
|
2022-08-07 21:00:11 +08:00
|
|
|
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
|
2022-08-07 21:00:11 +08:00
|
|
|
o.termguicolors = true
|
|
|
|
o.ruler = true
|
|
|
|
o.relativenumber = true
|
|
|
|
o.number = true
|
|
|
|
o.showmode = false
|
|
|
|
o.scrolloff = 10
|
2021-09-07 23:26:21 +08:00
|
|
|
|
|
|
|
-- controlling
|
2023-11-11 17:11:57 +08:00
|
|
|
vim.opt.completeopt = { 'menu', 'menuone', 'noselect' }
|
2022-08-07 21:00:11 +08:00
|
|
|
o.ignorecase = true
|
|
|
|
o.smartcase = true
|
|
|
|
o.smartindent = true
|
|
|
|
o.autoindent = true
|
2023-03-09 16:26:45 +08:00
|
|
|
o.mouse = "i"
|
2021-10-25 10:53:37 +08:00
|
|
|
|
2021-09-15 15:18:15 +08:00
|
|
|
-- leader settings
|
|
|
|
global.mapleader = ' '
|
2023-07-16 10:43:50 +08:00
|
|
|
|
|
|
|
-- env settings for plugins
|
|
|
|
global.tagbar_sort = 0
|