I wanted to open a URL with xdg-open when the cursor was staying on some string that points to a valid folder
By pressing some key , it will launch xdg-open the_valid_url for example.
Is that possible ?
And i hope it works even a space resides in the local url.
Thanks !
Try with next mapping:
And now, inside
vimput cursor over your string and press,oin normal mode. In my computer (linux) usesdolphinto open local folders andkonquerorto open urls.EDIT:
To open files with spaces, add the space character to option
isfname(32 is the decimal number of the space character):and use this different map: