dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit 9b6ad181a60f7209f537b62c69c1006a6c3bcf7a
parent 2250cf7b15e4ab4e09d2715d4e44b3ef9c46794d
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:
M.vim/vimrc | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/.vim/vimrc b/.vim/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