config
This commit is contained in:
48
lua/nami/set.lua
Normal file
48
lua/nami/set.lua
Normal file
@@ -0,0 +1,48 @@
|
||||
-- no more warnings
|
||||
vim.deprecate = function() end
|
||||
|
||||
-- vim.opt.guicursor = ""
|
||||
|
||||
-- disable netrw header
|
||||
vim.g.netrw_banner = 0
|
||||
|
||||
vim.opt.nu = true
|
||||
vim.opt.relativenumber = true
|
||||
|
||||
-- vim.opt.conceallevel = 2
|
||||
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.softtabstop = 4
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.expandtab = true
|
||||
|
||||
vim.opt.smartindent = true
|
||||
|
||||
vim.opt.wrap = true--false
|
||||
|
||||
vim.opt.swapfile = false
|
||||
vim.opt.backup = false
|
||||
vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
|
||||
vim.opt.undofile = true
|
||||
|
||||
vim.opt.foldcolumn = '1' -- '0' is not bad
|
||||
vim.opt.foldlevel = 99 -- Using ufo provider need a large value, feel free to decrease the value
|
||||
vim.opt.foldlevelstart = 99
|
||||
vim.opt.foldenable = true
|
||||
|
||||
vim.opt.hlsearch = false
|
||||
vim.opt.incsearch = true
|
||||
|
||||
vim.opt.termguicolors = true
|
||||
|
||||
vim.opt.scrolloff = 8
|
||||
vim.opt.signcolumn = "yes"
|
||||
vim.opt.isfname:append("@-@")
|
||||
|
||||
-- vim.opt_local.conceallevel = 1
|
||||
|
||||
vim.opt.updatetime = 50
|
||||
|
||||
-- vim.opt.colorcolumn = "80"
|
||||
|
||||
vim.g.mapleader = " "
|
||||
Reference in New Issue
Block a user