tidy up options
This commit is contained in:
parent
5942823ba5
commit
d8e94c9dd1
1 changed files with 2 additions and 6 deletions
|
|
@ -1,11 +1,7 @@
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
vim.g.maplocalleader = " "
|
vim.g.maplocalleader = " "
|
||||||
|
|
||||||
vim.scriptencoding = "utf-8"
|
vim.opt.number = true -- show line number
|
||||||
vim.opt.encoding = "utf-8"
|
|
||||||
vim.opt.fileencoding = "utf-8"
|
|
||||||
|
|
||||||
vim.wo.number = true -- show line number
|
|
||||||
vim.opt.relativenumber = true -- juicy relativity
|
vim.opt.relativenumber = true -- juicy relativity
|
||||||
|
|
||||||
vim.opt.autoindent = true
|
vim.opt.autoindent = true
|
||||||
|
|
@ -47,7 +43,7 @@ vim.opt.termguicolors = true -- good shit, just take it
|
||||||
vim.opt.undofile = true
|
vim.opt.undofile = true
|
||||||
|
|
||||||
|
|
||||||
-- [[ highlight on yank ]]
|
-- highlight on yank
|
||||||
local highligh_group = vim.api.nvim_create_augroup('YankHighlight', { clear = true })
|
local highligh_group = vim.api.nvim_create_augroup('YankHighlight', { clear = true })
|
||||||
vim.api.nvim_create_autocmd('TextYankPost', {
|
vim.api.nvim_create_autocmd('TextYankPost', {
|
||||||
callback = function()
|
callback = function()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue