open url based on OS
This commit is contained in:
parent
6cf21bf121
commit
d8dc7e067c
3 changed files with 22 additions and 3 deletions
|
|
@ -31,8 +31,10 @@ require('telescope').load_extension 'http'
|
|||
require('telescope').setup {
|
||||
extensions = {
|
||||
http = {
|
||||
-- How the mozilla url is opened. By default:
|
||||
open_url = 'xdg-open %s'
|
||||
-- How the mozilla url is opened. By default will be configured based on OS:
|
||||
open_url = 'xdg-open %s' -- UNIX
|
||||
-- open_url = 'open %s' -- OSX
|
||||
-- open_url = 'start %s' -- Windows
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue