Robert Webb schrieb:
> Hi,
> 
> What's the best way (on Windows) to open a file from vim in whatever
> Windows normally uses to open that file?  For example, :!% will open
> the current file, but it leaves a DOS window handing around while the
> file is open, which requires a hit-enter to get rid of after closing
> the file.
> 
> You also can't use vim until the file is closed in the external
> program.  If I try ":!start %" to make them asynchronous, then it
> doesn't know how to open "%".

Use
    :! start %
    :sil ! start %

    :h :!start
although vague explanation there ...

-- 
Andy


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui