Closed GoogleCodeExporter closed 9 years ago
I just noticed that this problem only affects the first vimwiki file that I
open.
Could it be that my auto-command is running after vimwiki's ftplugin code ??
Original comment by stu.andrews
on 17 May 2012 at 4:44
Sure it is.
FileType event is triggered by changing/setting a filetype thus by the time
your autocommand is run vimwiki's default bindings are set.
Perhaps you should use another event?
Original comment by habamax
on 17 May 2012 at 5:26
I found that the following works for me ...
au BufNewFile,BufRead {*.md,*.mkd,*.wiki,*.media} nmap <Leader>wo
<Plug>Vimwiki2HTML
au BufNewFile,BufRead {*.md,*.mkd,*.wiki,*.media} nmap <Leader>woo
<Plug>Vimwiki2HTMLBrowse
Original comment by stu.andrews
on 18 May 2012 at 2:03
Original comment by stu.andrews
on 18 May 2012 at 2:07
Original issue reported on code.google.com by
stu.andrews
on 17 May 2012 at 1:55