From 5c8cb15da0051b5b611e9f3fbae31c75f6d7c970 Mon Sep 17 00:00:00 2001 From: srdusr Date: Mon, 26 Dec 2022 22:45:47 +0200 Subject: Squashed '.config/nvim/' changes from 4d96ae9..f685617 f685617 Fixed find_notes function cfac417 Fixed macros not working git-subtree-dir: .config/nvim git-subtree-split: f68561755f5011f59e333d72ddb4122ca25a8f92 --- lua/user/opts.lua | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'lua/user/opts.lua') diff --git a/lua/user/opts.lua b/lua/user/opts.lua index 6da4234..57b2949 100644 --- a/lua/user/opts.lua +++ b/lua/user/opts.lua @@ -1,13 +1,24 @@ --[[ opts.lua ]] +-- " Load indent files, to automatically do language-dependent indenting. +--vim.cmd([[ +-- "filetype plugin indent on +--]]) +-- Let clipboard register be + vim.cmd([[ - "filetype plugin indent on " Load indent files, to automatically do language-dependent indenting. - "autocmd BufEnter * :syntax sync fromstart - "syntax enable let g:clipbrdDefaultReg = '+' - "set nocompatible - "autocmd FileType lua set comments=s1:---,m:--,ex:-- - nnoremap @ execute "noautocmd norm! " . v:count1 . "@" . getcharstr() " Fast macros without lazyredraw +]]) + +--vim.cmd([[ +-- "autocmd BufEnter * :syntax sync fromstart +-- "syntax enable +-- "set nocompatible +-- "autocmd FileType lua set comments=s1:---,m:--,ex:-- +--]]) + +-- Fast macros without lazyredraw +vim.cmd([[ + nnoremap @ execute "noautocmd norm! " . v:count1 . "@" . getcharstr() xnoremap @ :execute "noautocmd '<,'>norm! " . v:count1 . "@" . getcharstr() ]]) -- cgit v1.2.3