Giter Site home page Giter Site logo

Comments (14)

frm avatar frm commented on September 1, 2024 1

@shime do you want me to change it to have a uniform option? Right now it's google-chrome on one OS, chrome on the other, which might be confusing.

from vim-livedown.

shime avatar shime commented on September 1, 2024

Did you try google-chrome?

What OS are you using?

from vim-livedown.

Casinelli avatar Casinelli commented on September 1, 2024

@shime Tried now, doesn't work.

from vim-livedown.

shime avatar shime commented on September 1, 2024

What OS are you using?

from vim-livedown.

Casinelli avatar Casinelli commented on September 1, 2024

MacOS Sierra version 10.12.5. Chrome version 60.

from vim-livedown.

shime avatar shime commented on September 1, 2024

Try with 'Google Chrome'.

let g:livedown_browser = "'Google Chrome'"

This opens google chrome on a Mac:

$ livedown start README.md --browser "'Google Chrome'" --open

from vim-livedown.

Casinelli avatar Casinelli commented on September 1, 2024

The console command works. But still not working in VIM. Tried both :LivedownToggle and :LivedownPreview, nothing.

from vim-livedown.

wallevy avatar wallevy commented on September 1, 2024

@Casinelli you can set the chrome as the default browser, then you no need to set the g:livedown_browser

from vim-livedown.

hitochan777 avatar hitochan777 commented on September 1, 2024

'google-chrome' worked for me, though livedown-autorun and livedown_open are not working, so I have to call :LivedownPreview manually.
Btw, I am using ubuntu 16.04.

from vim-livedown.

frm avatar frm commented on September 1, 2024

This is fixed in #31 , if you're still having issues @Casinelli

Since you're running Ubuntu, can you check @hitochan777 my version? To be sure it works in Linux before a fix is merged. Thanks!

from vim-livedown.

shime avatar shime commented on September 1, 2024

@hitochan777 please let me know if you still have issues with Chrome in Linux so I can reopen the issue if you do.

from vim-livedown.

hitochan777 avatar hitochan777 commented on September 1, 2024

@justmendes @shime On Ubuntu, now google-chrome (not 'google-chrome') works! Thank you for your work!
Regarding livedown-autorun and livedown_open issue, it was due to the setting of vim package manager that I use.

By the way, it is a bit confusing to set different values depending on the OS (e.g., chrome and google-chrome).
It might be useful to mention the difference in the documentation.

from vim-livedown.

shime avatar shime commented on September 1, 2024

@hitochan777 great, thanks for the info.

Since Livedown uses opn for opening a browser, looks like you have an issue with that library. It looks like it uses some new version of xdg-open on Linux, so maybe that's the problem.

from vim-livedown.

shime avatar shime commented on September 1, 2024

@justmendes yeah, go ahead. That would be great.

from vim-livedown.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.