40 lines
844 B
Lua
40 lines
844 B
Lua
vim.g.mapleader = ' '
|
|
vim.g.maplocalleader = ' '
|
|
vim.g.have_nerd_font = false
|
|
|
|
vim.o.number = true
|
|
vim.o.relativenumber = true
|
|
vim.o.mouse = 'a'
|
|
vim.o.showmode = false
|
|
|
|
vim.schedule(function() vim.o.clipboard = 'unnamedplus' end)
|
|
|
|
vim.g.clipboard = {
|
|
name = 'WSL Clipboard',
|
|
copy = {
|
|
['+'] = 'win32yank-copy',
|
|
['*'] = 'win32yank-copy',
|
|
},
|
|
paste = {
|
|
['+'] = 'win32yank-paste',
|
|
['*'] = 'win32yank-paste',
|
|
},
|
|
cache_enabled = 0,
|
|
}
|
|
|
|
vim.o.breakindent = true
|
|
vim.o.undofile = true
|
|
vim.o.ignorecase = true
|
|
vim.o.smartcase = true
|
|
vim.o.signcolumn = 'yes'
|
|
vim.o.updatetime = 250
|
|
vim.o.timeoutlen = 300
|
|
vim.o.splitright = true
|
|
vim.o.splitbelow = true
|
|
vim.o.list = true
|
|
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
|
|
vim.o.inccommand = 'split'
|
|
vim.o.cursorline = true
|
|
vim.o.scrolloff = 10
|
|
vim.o.confirm = true
|