|
@@ -0,0 +1,80 @@
|
|
|
+
|
|
|
+vim.g.encoding = "UTF-8"
|
|
|
+vim.o.fileencoding = "UTF-8"
|
|
|
+
|
|
|
+vim.o.scrolloff = 8
|
|
|
+vim.o.sidescrolloff = 8
|
|
|
+
|
|
|
+vim.wo.number = true
|
|
|
+vim.wo.relativenumber = true
|
|
|
+
|
|
|
+vim.wo.cursorline = true
|
|
|
+
|
|
|
+vim.wo.signcolumn = "yes"
|
|
|
+
|
|
|
+vim.wo.colorcolumn = "120"
|
|
|
+
|
|
|
+vim.o.tabstop = 2
|
|
|
+vim.bo.tabstop = 2
|
|
|
+vim.o.softtabstop = 2
|
|
|
+vim.o.shiftround = 2
|
|
|
+
|
|
|
+vim.o.shiftwidth = 2
|
|
|
+vim.bo.shiftwidth = 2
|
|
|
+
|
|
|
+vim.o.expandtab = true
|
|
|
+vim.bo.expandtab = true
|
|
|
+
|
|
|
+vim.o.autoindent = true
|
|
|
+vim.bo.autoindent = true
|
|
|
+vim.o.smartindent = true
|
|
|
+
|
|
|
+vim.o.ingorecash = true
|
|
|
+vim.o.smartcase = true
|
|
|
+
|
|
|
+vim.o.hlsearch = false
|
|
|
+
|
|
|
+vim.o.insearch = true
|
|
|
+
|
|
|
+vim.o.cmdheight = 2
|
|
|
+
|
|
|
+vim.o.autoread = true
|
|
|
+vim.bo.autoread = true
|
|
|
+
|
|
|
+vim.wo.wrap = false
|
|
|
+
|
|
|
+vim.o.whichwrap = '<,>,[,]'
|
|
|
+
|
|
|
+vim.o.hidden = true
|
|
|
+
|
|
|
+vim.o.mouse = 'a'
|
|
|
+
|
|
|
+vim.o.backup = false
|
|
|
+vim.o.writebackup = false
|
|
|
+vim.o.swapfile = false
|
|
|
+
|
|
|
+vim.o.updatetime = 300
|
|
|
+
|
|
|
+vim.o.timeoutlen = 500
|
|
|
+
|
|
|
+vim.o.splitbelow = true
|
|
|
+vim.o.splitright = true
|
|
|
+
|
|
|
+vim.g.completeopt = "menu,menuone,noselect,noinsert"
|
|
|
+
|
|
|
+vim.o.background = "dark"
|
|
|
+vim.o.termguicolors = true
|
|
|
+vim.opt.termguicolors = true
|
|
|
+
|
|
|
+vim.o.list = true
|
|
|
+vim.o.listcharts = "space:·"
|
|
|
+
|
|
|
+vim.o.wildmenu = true
|
|
|
+
|
|
|
+vim.o.shortmess = vim.o.shortmess .. 'c'
|
|
|
+
|
|
|
+vim.o.pumheight = 10
|
|
|
+
|
|
|
+vim.o.showtabline = 2
|
|
|
+
|
|
|
+vim.o.showmode = false
|