1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-29 20:03:44 +00:00

Lower refresh rate

This commit is contained in:
Mo 2022-05-04 22:49:26 +02:00
parent 17f2342c60
commit 07979773e1

View file

@ -1,45 +1,44 @@
local opt = vim.o
local cmd = vim.cmd
local o = vim.o
--
opt.expandtab = true
opt.tabstop = 4
opt.shiftwidth = 4
opt.smartindent = true
o.expandtab = true
o.tabstop = 4
o.shiftwidth = 4
o.smartindent = true
opt.number = true
opt.relativenumber = true
o.number = true
o.relativenumber = true
opt.ignorecase = true
opt.smartcase = true
o.ignorecase = true
o.smartcase = true
opt.gdefault = true
o.gdefault = true
opt.termguicolors = true
o.termguicolors = true
opt.wrap = false
o.wrap = false
opt.whichwrap = "b,s,h,l,<,>,[,]"
o.whichwrap = "b,s,h,l,<,>,[,]"
opt.clipboard = "unnamedplus"
o.clipboard = "unnamedplus"
opt.undofile = true
o.undofile = true
opt.showmode = false
o.showmode = false
opt.scrolloff = 3
opt.sidescrolloff = 5
o.scrolloff = 3
o.sidescrolloff = 5
opt.cursorline = true
o.cursorline = true
opt.shell = "/home/mo/.local/bin/xonsh"
o.shell = "/usr/bin/fish"
opt.confirm = true
o.confirm = true
opt.linebreak = true
o.linebreak = true
opt.laststatus = 3
o.laststatus = 3
-- Highlight on yank
local function custom_highlight_on_yank()
@ -52,7 +51,7 @@ vim.api.nvim_create_autocmd("TextYankPost", {
})
-- Noevide
vim.g.neovide_refresh_rate = 120
vim.g.neovide_refresh_rate = 90
-- Disable diagnostics
vim.diagnostic.disable()