46 lines
862 B
Lua
46 lines
862 B
Lua
vim.opt.guicursor = ""
|
|
|
|
vim.opt.nu = true
|
|
vim.opt.relativenumber = true
|
|
|
|
vim.opt.tabstop = 4
|
|
vim.opt.softtabstop = 4
|
|
vim.opt.shiftwidth = 4
|
|
vim.opt.expandtab = true
|
|
|
|
vim.opt.smartindent = true
|
|
|
|
vim.opt.wrap = false
|
|
|
|
vim.opt.swapfile = false
|
|
vim.opt.backup = false
|
|
vim.opt.undodir = "C:/Users/zakla/.undodir"
|
|
vim.opt.undofile = true
|
|
vim.opt.shellcmdflag = "-ic"
|
|
vim.opt.clipboard = 'unnamedplus'
|
|
|
|
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.updatetime = 50
|
|
|
|
vim.opt.colorcolumn = "120"
|
|
|
|
vim.cmd [[
|
|
augroup ShadersType
|
|
autocmd!
|
|
autocmd BufRead,BufNewFile *.gl set filetype=glsl
|
|
augroup END
|
|
augroup TerminalStuff
|
|
autocmd BufWinEnter,WinEnter term://* startinsert
|
|
autocmd BufLeave term://* stopinsert
|
|
augroup END
|
|
]]
|
|
|