-
-
Notifications
You must be signed in to change notification settings - Fork 129
fix open_browser #196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix open_browser #196
Conversation
|
What OS do you use? For example, but not possiblely in gist.vim, query parameters with |
|
Sorry, Windows. And Windows can't use parameters with |
|
I guess it should be separated with unix part and windows part like below. |
|
Thanks, you are right. It will be better. And I will specify the change only for Windows. |
|
I have found a better way to solve this problem for windows. |
|
No, please don't change shellslash. |
|
|
|
I don't understand why you want shellslash. what shell do you use on windows? bash on msys2? |
|
Actually cmd.exe. Maybe just my own problem that |
|
So, how about below? |
|
If on Windows, then I have used other bundle vim-latex and |
fix open_browser.
When shellescape(a:url) is used to substitute, it will bring a problem that the url was added with ''(single quotation marks) in https://gist.github.com/xxx, which will cause the browser use something like %27https//gist.github.com/xxx' to open a website.