1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2025-01-01 15:39:20 +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 o = vim.o
local cmd = vim.cmd
-- --
opt.expandtab = true o.expandtab = true
opt.tabstop = 4 o.tabstop = 4
opt.shiftwidth = 4 o.shiftwidth = 4
opt.smartindent = true o.smartindent = true
opt.number = true o.number = true
opt.relativenumber = true o.relativenumber = true
opt.ignorecase = true o.ignorecase = true
opt.smartcase = 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 o.scrolloff = 3
opt.sidescrolloff = 5 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 -- Highlight on yank
local function custom_highlight_on_yank() local function custom_highlight_on_yank()
@ -52,7 +51,7 @@ vim.api.nvim_create_autocmd("TextYankPost", {
}) })
-- Noevide -- Noevide
vim.g.neovide_refresh_rate = 120 vim.g.neovide_refresh_rate = 90
-- Disable diagnostics -- Disable diagnostics
vim.diagnostic.disable() vim.diagnostic.disable()