xolox/vim-shell — Issue #7: Configuration of browser when opening URL
Author: matthias-guenther
Created: 2012-01-22 19:40:36+00:00
State: open

Hi,

I read through the documentation of the plugin how I can customize which Browser is called when I press F6 to open a link. The default browser is Firefox and I want to use Chrome instead. Even the documentation of your open.vim plugin (http://peterodding.com/code/vim/open-associated-programs/) says:

>that the xolox#open#url() function takes a string argument containing a URL or e-mail address and opens it in your favorite or >the best available web browser / email client.

On line 61 of open.vim https://github.com/xolox/vim-open-associated-programs/blob/master/open.vim you are calling

call xolox#open#file(url, 'firefox', 'google-chrome')

Is it possible to pass the arguments in this function with a predefined variable so that the user can put the option into the .vimrc