From 1ed0999d591b18142360ef53037b8a19c63a038e Mon Sep 17 00:00:00 2001 From: srdusr Date: Wed, 2 Nov 2022 22:43:22 +0200 Subject: Removed lazyredraw --- lua/user/opts.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lua/user/opts.lua b/lua/user/opts.lua index 9d9a138..46121ba 100644 --- a/lua/user/opts.lua +++ b/lua/user/opts.lua @@ -7,6 +7,8 @@ vim.cmd([[ let g:clipbrdDefaultReg = '+' "set nocompatible "autocmd FileType lua set comments=s1:---,m:--,ex:-- + nnoremap @ execute "noautocmd norm! " . v:count1 . "@" . getcharstr() " Fast macros without lazyredraw + xnoremap @ :execute "noautocmd '<,'>norm! " . v:count1 . "@" . getcharstr() ]]) -- Environment @@ -35,7 +37,7 @@ vim.opt.autoread = true -- reload files if changed externally vim.opt.display = "lastline" -- Show as much as possible of the last line. vim.opt.inccommand = "split" -- vim.opt.ttyfast = true -- Faster redrawing. -vim.opt.lazyredraw = true -- Only redraw when necessary +--vim.opt.lazyredraw = true -- Only redraw when necessary vim.opt.keywordprg = ":help" -- :help options vim.opt.ruler = true -- vim.opt.errorbells = false -- @@ -68,7 +70,7 @@ vim.opt.smartindent = true -- smart indent -- Column/statusline/Cl vim.opt.number = true -- ---vim.opt.title = true -- +vim.opt.title = true -- --vim.opt.colorcolumn = "+1" -- vim.opt.signcolumn = "yes:1" -- always show the sign column --vim.opt.signcolumn = "yes:" .. vim.o.numberwidth -- cgit v1.2.3