Comments (14)
@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.
Did you try google-chrome
?
What OS are you using?
from vim-livedown.
@shime Tried now, doesn't work.
from vim-livedown.
What OS are you using?
from vim-livedown.
MacOS Sierra version 10.12.5. Chrome version 60.
from vim-livedown.
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.
The console command works. But still not working in VIM. Tried both :LivedownToggle
and :LivedownPreview
, nothing.
from vim-livedown.
@Casinelli you can set the chrome as the default browser, then you no need to set the g:livedown_browser
from vim-livedown.
'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.
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.
@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.
@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.
@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.
@justmendes yeah, go ahead. That would be great.
from vim-livedown.
Related Issues (20)
- Code in bullet list not rendered correctly
- Why Socket.io?
- Vim renames, not changes files HOT 4
- `package.json` with `livedown` dependency HOT 1
- Flag to determine if livedown preview is opened
- Huge gif image causes git and plugin managers to fail HOT 4
- Show vim cursor in preview? HOT 2
- too many open windows after changing buffers HOT 1
- Support Neovim HOT 4
- `--browser` is now required? HOT 1
- livedown_browser option is not working HOT 1
- latex display error
- XSS HOT 1
- No error/feedback when livedown not installed HOT 1
- Be able to open buffers without filename
- should livedown support showing plantuml ?
- consider not put all browser windows to the front?
- Can't toggle/preview/kill Livedown when using powershell as vim's shell
- Server stops watching for changes after the first change
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-livedown.