From 6a1810f4dfe4ac22dfbaf2b98fb7618fd76eb761 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Wed, 30 Apr 2025 13:14:22 +0200 Subject: vim: misc updates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- .vim/plugin/options.lua | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to '.vim/plugin/options.lua') 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 -- cgit 1.4.1