add YCM, UltiSnips plugins, add PreviewMarkdown function, fix bugs