Improved neovim config

This commit is contained in:
2023-08-21 00:09:00 +02:00
parent d07a82fff2
commit 2ad93d9338
15 changed files with 140 additions and 53 deletions

View File

@ -4,22 +4,34 @@ g.loaded_netrw = 1
g.loaded_netrwPlugin = 1
local opt = vim.opt
opt.autowrite = false
opt.expandtab = false
opt.shiftwidth = 4
opt.tabstop = 4
opt.softtabstop = 4
opt.autoindent = true
opt.smartindent = true
opt.spell = false
opt.autowrite = false
opt.clipboard = "unnamedplus"
opt.conceallevel = 0
opt.ignorecase = false
opt.number = true
opt.relativenumber = false
opt.cursorline = true
opt.cursorlineopt = "both"
opt.termguicolors = true
opt.signcolumn = "yes"
opt.expandtab = false
opt.grepformat = "%f:%l:%c:%m"
opt.grepprg = "rg --vimgrep"
opt.ignorecase = false
opt.laststatus = 0
opt.showmode = false
opt.mouse = "a"
opt.number = true
opt.relativenumber = false
opt.ruler = false
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