From 8d406a16c7e68b3c74a56a4572834c22a740f0d2 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sat, 29 Apr 2023 18:54:51 +0200 Subject: [PATCH] Update (pandoc) wiki config --- .vimrc | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.vimrc b/.vimrc index 18bfb75..fe43e3e 100644 --- a/.vimrc +++ b/.vimrc @@ -340,12 +340,15 @@ au FileType pandoc call pandoc#completion#Init() let g:pandoc#filetypes#pandoc_markdown=0 let g:pandoc#spell#enabled=0 let g:pandoc#spell#default_langs=['en_us', 'nl_be'] -let g:pandoc#syntax#conceal#urls=1 -let g:pandoc#syntax#conceal#blacklist=[] let g:pandoc#formatting#mode='a' let g:pandoc#formatting#textwidth=90 let g:pandoc#modules#disabled = ["formatting", "dashes", "yaml", "metadata"] +let g:pandoc#syntax#conceal#urls=1 +let g:pandoc#syntax#conceal#blacklist=[] +let g:pandoc#syntax#style#emphases=0 " Bug workaround +let g:pandoc#syntax#conceal#cchar_overrides = { "atx": " ", "li": "ยท" } + " }}} " `euclio/vim-markdown-composer` {{{ @@ -366,17 +369,6 @@ let g:wiki_zotero_root='~/doc/Zotero' let g:wiki_filetypes=['md'] let g:wiki_completion_case_sensitive=0 -" Mappings -" FIXME: cleanup -" Remap p - -" augroup filetype_pandoc -" autocmd! -" au BufRead,BufNewFile /home/h/.wiki/*.md nn p :WikiFzfPages -" au BufRead,BufNewFile /home/h/.wiki/*.md nnoremap sv empty(g:wiki#link#get()) ? ':vsw' : '(wiki-link-follow-vsplit)' -" au BufRead,BufNewFile /home/h/.wiki/*.md nnoremap ss empty(g:wiki#link#get()) ? ':spw' : '(wiki-link-follow-split)' -" augroup END - " If we are on a wiki link " TODO: configure the following