instant-markdown / vim-instant-markdown

Instant Markdown previews from Vim
https://instant-markdown.github.io
Other
2.73k stars 253 forks source link

cant configure proper options for g:instant_markdown_browser #210

Closed ghost closed 1 year ago

ghost commented 1 year ago

Problem summary

i want use

let g:instant_markdown_browser = "vivaldi --app="

Expected

open vivaldi --app=

Environment Information

linux vim 9

Steps to reproduce the issue (required)

set let g:instant_markdown_browser = "vivaldi --app="

ashwinvis commented 1 year ago

What does the --app= option do and why is it blank?

ghost commented 1 year ago

What does the --app= option do and why is it blank?

hi, it is what we talk about :))) --app= launch vivaldi app mode and there should be localhost url from vim-instant-markdown plugin...

ashwinvis commented 1 year ago

Then you should do something like vivaldi --app=localhost:8888.

ghost commented 1 year ago

forget it... sure i can also launch it manually or use different plugin you are right... bye

ghost commented 1 year ago

megalol

ashwinvis commented 1 year ago

Ok. Fine.

ashwinvis commented 1 year ago

For those wondering how to do it, both browser and its options should be configured in the vimrc

let g:instant_markdown_browser = "firefox --kiosk"

Which executes firefox --kiosk localhost:8888. Note that a space is added always. Equivalent for the browser of your choice.