diff options
| author | Robert Günzler <r@gnzler.io> | 2025-04-30 13:14:22 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2025-04-30 13:14:22 +0200 |
| commit | 6a1810f4dfe4ac22dfbaf2b98fb7618fd76eb761 (patch) | |
| tree | d9cc1046e3305476e2eea284fbdafde049cf3e10 /.vim/plugin/options.lua | |
| parent | 59bdb9bc3f7b06b886a24def842f62f350f1411b (diff) | |
vim: misc updates
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '.vim/plugin/options.lua')
| -rw-r--r-- | .vim/plugin/options.lua | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.vim/plugin/options.lua b/.vim/plugin/options.lua index a25a646..dba726a 100644 --- a/.vim/plugin/options.lua +++ b/.vim/plugin/options.lua @@ -10,7 +10,13 @@ opt.clipboard:prepend({ 'unnamedplus' }) opt.inccommand = 'split' -- show whitespace indicators -opt.listchars:append({ trail = '¬', tab = '> ' }) +opt.list = true +opt.listchars:append({ + trail = '¬', + tab = '> ', + -- space = '·', + lead = '·', +}) opt.showbreak = '↪ ' -- show indicator and wrap text at 80 chars @@ -25,3 +31,9 @@ opt.concealcursor = nil opt.foldmethod = 'expr' opt.foldexpr = 'v:lua.vim.treesitter.foldexpr()' opt.foldlevel = 99 + +-- https://fosstodon.org/@rockorager/114183888444195197 +opt.mousescroll = 'ver:1,hor:6' + +-- load local vim config (will as to allow it) +opt.exrc = true |