25 lines
528 B
Lua
25 lines
528 B
Lua
vim.g.mapleader = ' '
|
|
vim.o.wrap = true
|
|
vim.g.maplocalleader = ' '
|
|
vim.o.number = true
|
|
vim.o.relativenumber = true
|
|
vim.o.mouse = 'a'
|
|
vim.schedule(function()
|
|
vim.o.clipboard = 'unnamedplus'
|
|
|
|
end )
|
|
vim.o.breakindent = true
|
|
vim.o.undofile = true
|
|
vim.o.ignorecase = true
|
|
vim.o.smartcase = true
|
|
vim.o.signcolumn = 'yes'
|
|
vim.o.splitright = true
|
|
vim.o.splitbelow = true
|
|
vim.olist = true
|
|
vim.o.inccommand = 'split'
|
|
vim.o.scrolloff = 10
|
|
vim.o.autoindent = true
|
|
vim.o.hlsearch = true
|
|
vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
|
|
|