vim

vim config files
git clone https://git.bracken.jp/vim.git
Log | Files | Refs | LICENSE

commit acb07d42a8dce0e487f4fc11dbebd6073d5f245a
parent c6a7480fdc4fd0c09dd736ed56a05fb47ed344be
Author: Chris Bracken <chris@bracken.jp>
Date:   Tue, 23 Mar 2021 15:23:31 -0700

Disable VimWiki URL shortening

VimWiki collapses URLs to save space, but this causes a lot of
annoyance, particularly when ctrl-clicking (to launch a URL) or
if copy-pasting using the mouse rather than standard vim yanks to the
clipboard.

Diffstat:
Mvimrc | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/vimrc b/vimrc @@ -120,6 +120,9 @@ let g:vimwiki_list = [wiki_1, wiki_2, wiki_3] " Only consider files under a VimWiki path to be VimWiki. let g:vimwiki_global_ext = 0 +" Don't shorten URLs. +let g:vimwiki_url_maxsave = 0 + " Personal wiki index, diary, new entry. nmap <leader>jw 1<Plug>VimwikiIndex nmap <leader>jd 3<Plug>VimwikiDiaryIndex