Skip to content

Conversation

@zhimsel
Copy link

@zhimsel zhimsel commented Mar 18, 2019

Without using -a <browser>, the open command just uses the user's
default browser. This may not be the case, and if it's not, it breaks
the preview workflow when g:vim_markdown_preview_browser="Google Chrome" is set.

For example, say the user's default browser is set to Firefox. If the user's vimrc has g:vim_markdown_preview_browser="Google Chrome" set, the included applescripts will search Chrome for an already-open preview tab. If it doesn't find one, it'll open the preview in Firefox instead.

Without using '-a <browser>', the 'open' command just uses the user's
default browser. This may not be the case, and if it's not, it breaks
the preview workflow when using 'g:vim_markdown_preview_browser="Google
Chrome"'.
zhimsel added a commit to zhimsel/dotfiles that referenced this pull request Mar 18, 2019
For Vim_Markdown_Preview(), the file is saved to `/tmp/`. Whoops!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant