diff --git a/ftplugin/markdown.vim b/ftplugin/markdown.vim index fc3fa4d9..3a4c1ad6 100644 --- a/ftplugin/markdown.vim +++ b/ftplugin/markdown.vim @@ -719,7 +719,7 @@ if !exists('*s:EditUrlUnderCursor') execute l:editmethod l:url endif if l:anchor !=# '' - silent! execute '/'.l:anchor + call search(l:anchor, 's') endif else execute l:editmethod . ' '