Updated config

This commit is contained in:
2024-01-22 15:04:33 +01:00
parent 4e74495124
commit 8998a54e82
12 changed files with 138 additions and 13 deletions

View File

@ -11,6 +11,7 @@ local opt = vim.opt
opt.autoindent = true
opt.autowrite = false
opt.clipboard = "unnamedplus"
opt.completeopt = "menu,menuone,noinsert"
opt.conceallevel = 0
opt.cursorline = true
opt.cursorlineopt = "number"
@ -18,11 +19,12 @@ opt.expandtab = false
opt.grepformat = "%f:%l:%c:%m"
opt.grepprg = "rg --grep"
opt.ignorecase = false
opt.linespace = 0
opt.mouse = "a"
opt.ruler = false
opt.sessionoptions = { "buffers", "curdir", "tabpages", "winsize" }
opt.shiftwidth = 4
opt.shortmess:append "sCFI"
opt.shortmess:append "scCFI"
opt.showmode = false
opt.showtabline = 0
opt.smartindent = true
@ -35,7 +37,9 @@ opt.termguicolors = true
opt.undofile = true
opt.undolevels = 10000
opt.updatetime = 250
opt.virtualedit = "onemore"
opt.wildmode = "longest:full,full"
opt.winblend = 10
opt.wrap = false
-- UI
@ -45,3 +49,10 @@ opt.number = true
opt.relativenumber = false
opt.signcolumn = "number"
opt.statusline = "%{repeat('─',winwidth('.'))}"
-- Neovide
if g.neovide then
g.neovide_fullscreen = true
g.neovide_transparency = 0.9
vim.o.guifont = "UbuntuMono Nerd Font:h20"
end