If you prefer to change these, just add the following lines to your. Generate preview on buffer write (Example: on :w).This option does two things (to be fixed by #17): Note that after changing an option, you have to restart Vim for the change to take effect. There are a total of four values ( 0, 1, 2, 3) this option can take.ĭefault: 0, which maps Control p ( not a buffer write) to generating the preview and does not display images.Įxample: To display images with the hotkey mapping (defaults to Control p). let vim_markdown_preview_toggle=1Įxample: To display images automatically on buffer write. let vim_markdown_preview_toggle=2Įxample: To disregard images and still automatically preview on buffer write. let vim_markdown_preview_toggle=3īy default, this plugin maps (Control p) to activate the preview. To remap Control p to a different hotkey, change the binding. Don't forget to add the single quotation marks.Įxample: Mapping Control M. let vim_markdown_preview_hotkey=''īy default, if you are using Unix, Google Chrome is the default browser. If you are on Mac OS X, Safari is the default. Note that bug #16 does not allow cross operating system and browser support. You can even upload your article to WordPress, Ghost, and Medium directly from the app.See the wiki page for more help.Įxample: Using Google Chrome.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |