38 lines
839 B
Lua
Raw Normal View History

2023-08-19 17:22:56 +00:00
local g = vim.g
g.mapleader = " "
g.loaded_netrw = 1
g.loaded_netrwPlugin = 1
2023-07-29 18:15:47 +00:00
2023-08-19 17:22:56 +00:00
local opt = vim.opt
2023-07-29 18:15:47 +00:00
opt.autoindent = true
2023-08-20 22:09:00 +00:00
opt.autowrite = false
opt.clipboard = "unnamedplus"
2023-07-29 18:15:47 +00:00
opt.conceallevel = 0
2023-08-19 17:22:56 +00:00
opt.cursorline = true
opt.cursorlineopt = "both"
2023-08-20 22:09:00 +00:00
opt.expandtab = false
opt.grepformat = "%f:%l:%c:%m"
opt.grepprg = "rg --vimgrep"
opt.ignorecase = false
2023-08-19 17:22:56 +00:00
opt.laststatus = 0
2023-08-20 22:09:00 +00:00
opt.mouse = "a"
opt.number = true
opt.relativenumber = false
2023-08-19 17:22:56 +00:00
opt.ruler = false
2023-08-20 22:09:00 +00:00
opt.sessionoptions = { "buffers", "curdir", "tabpages", "winsize" }
opt.shiftwidth = 4
opt.showmode = false
opt.signcolumn = "yes"
opt.smartindent = true
opt.softtabstop = 4
opt.spell = false
opt.splitbelow = true
opt.splitright = true
opt.tabstop = 4
opt.termguicolors = true
opt.undofile = true
opt.undolevels = 10000
opt.updatetime = 250
opt.wildmode = "longest:full,full"
opt.wrap = false