Am 14.11.2011 06:38, schrieb Steven An:
I often double-click files in Windows Explorer and have them open in
VIM. But if the file is already opened, vim will complain and what not
- I could just "edit anyway", but I'd like for it to pop up the Vim
window that has that file opened. Is there a way to do this? Thanks.
--Steve

Vim provides the  $VIMRUNTIME/macros/editexisting.vim  script for that
purpose.  It's a normal plugin.

Either (this is what I use)
    copy that file to your plugin folder
or add (untested)
    runtime macros/editexisting.vim
to your vimrc.

--
Andy

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to