diff options
| author | srdusr <trevorgray@srdusr.com> | 2022-11-02 22:43:22 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2022-11-02 22:43:22 +0200 |
| commit | 1ed0999d591b18142360ef53037b8a19c63a038e (patch) | |
| tree | 9fc626be29766adad35d80c29cabef8183715208 /lua/user/opts.lua | |
| parent | 4fce5f766d98a88d7667ad916ee6c37bd3c1e2af (diff) | |
| download | dotfiles-1ed0999d591b18142360ef53037b8a19c63a038e.tar.gz dotfiles-1ed0999d591b18142360ef53037b8a19c63a038e.zip | |
Removed lazyredraw
Diffstat (limited to 'lua/user/opts.lua')
| -rw-r--r-- | lua/user/opts.lua | 6 |
1 files 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 @ <cmd>execute "noautocmd norm! " . v:count1 . "@" . getcharstr()<cr> " Fast macros without lazyredraw + xnoremap @ :<C-U>execute "noautocmd '<,'>norm! " . v:count1 . "@" . getcharstr()<cr> ]]) -- 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 |
