31 lines
480 B
Lua
31 lines
480 B
Lua
vim.g.mapleader = " "
|
|
vim.g.maplocalleader = " "
|
|
|
|
local opt = vim.opt
|
|
|
|
opt.number = true
|
|
opt.relativenumber = true
|
|
opt.signcolumn = "yes"
|
|
opt.cursorline = true
|
|
opt.termguicolors = true
|
|
|
|
opt.tabstop = 2
|
|
opt.shiftwidth = 2
|
|
opt.expandtab = true
|
|
opt.smartindent = true
|
|
|
|
opt.wrap = false
|
|
opt.scrolloff = 8
|
|
|
|
opt.ignorecase = true
|
|
opt.smartcase = true
|
|
|
|
opt.splitbelow = true
|
|
opt.splitright = true
|
|
|
|
opt.clipboard = "unnamedplus"
|
|
opt.mouse = "a"
|
|
|
|
opt.updatetime = 250
|
|
opt.timeoutlen = 400
|