sponsor Vim development Vim logo Vim Book Ad

Open associated programs : Open files and web pages in associated programs from Vim

 script karma  Rating 21/8, Downloaded by 2913  Comments, bugs, improvements  Vim wiki

created by
Peter Odding
 
script type
utility
 
description
This plug-in has been abandoned! Most of its code has been absorbed into my miscellaneous scripts for Vim (see https://github.com/xolox/vim-misc) while the user interface part is still found in the shell plug-in (vimscript #3123). I will no longer maintain the "Open associated programs" plug-in since I'm shifting focus to the miscellaneous scripts (because they're included in all of my Vim plug-ins and since I need the "open associated programs" functionality in several of my plug-ins, this makes most sense).

----

This plug-in knows how to open files, directories, URLs and e-mail addresses from inside Vim using the associated programs. It should work on Windows, Mac OS X and most Linux installations. For more information about the plug-in please refer to its homepage or the project page on GitHub:

http://peterodding.com/code/vim/open-associated-programs/
http://github.com/xolox/vim-open-associated-programs

If you have questions, bug reports, suggestions, etc. the author can be contacted at [email protected]. If you like this plug-in please vote for it below!
 
install details
Unzip the most recent ZIP archive file (see below) inside your Vim profile directory (usually this is "~/.vim" on UNIX and "%USERPROFILE%\vimfiles" on Windows), restart Vim and execute the command ":helptags ~/.vim/doc" (use ":helptags ~\vimfiles\doc" instead on Windows).

Note that on Windows a command prompt window pops up when either of the functions is called. If this bothers you then you can install my shell.vim plug-in (see vimscript #3123) which includes a DLL that works around this issue. Once you’ve installed both plug-ins it should work out of the box!
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
open-associated-programs.zip 1.2.1 2010-12-04 7.0 Peter Odding Bug fix for E121 in handle_error():
https://github.com/xolox/vim-open-associated-programs/commit/87dd8d408b40710afbbc
open-associated-programs.zip 1.2 2010-09-18 7.0 Peter Odding Renamed plug-in from ‘Open external location’ to ‘Open associated programs’:
http://github.com/xolox/vim-open-associated-programs/commit/71111c7e19ae02368a5f
open-external-location.zip 1.1 2010-09-17 7.0 Peter Odding Fixed reference to vim.org, added GLVS header:
http://github.com/xolox/vim-open-external-location/commit/c706b115c4
open-external-location.zip 1.0 2010-09-17 7.0 Peter Odding Initial upload
ip used for rating: 142.132.191.50

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github