open url based on OS

This commit is contained in:
Adrien Biencourt 2023-02-13 23:37:17 +00:00
parent 6cf21bf121
commit d8dc7e067c
3 changed files with 22 additions and 3 deletions

View file

@ -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
}
}
}