I'd like to write a plugin to open a certain file in a new osx window (and switch to that window) (unless it is already open.)
I've tried the following script: -------- " a short test script maca newWindow: edit ~/ToDo/todo "end test ------- When I source this file, it immediately opens the "todo" file in the current window, then opens a new window on top. I've tried putting a cycle windows in between the newWindow and the edit and a few other things, without success. Where can I find the missing part? I'm happy to read, but apparently don't know what to look for. I'm using snapshot 45 on OS X 10.5.7. Thanks, John Velman --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_mac" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
