Vimwiki disables vim-surround's custom key binding
Good day, thank you for this awesome plugin. I have a problem with custom mappings for vim-surround plugin. I do use markdown syntax for vimwiki files. Here is my config
let g:vimwiki_list = [{'path': '~/vimwiki','syntax': 'markdown', 'ext': '.md'}]
And this is my custom binding for vim-surround
let b:surround_{char2nr('*')} = "**\r**"
The idea is : when I press ysiw* then this word is surrounded by double starts(*) , it works when I open any file, however as soon as open any vimwiki's file (by typing \ww) then this combination just add single * character around the word. I checked bindings with :hekp vimwiki mappings it seems like there is no mapping that conflicts with vim-surround. How can I fix this problem ?
Well, This is a very hard issue. Apparently a vimwiki bug linked to automating. Sorry to tell you that it may not be solved soon. At least I don't know how to fix it.