on windows, open all vim windows in tabs in a single vim instance (requires gvim 7)

erg 2006-12-17 08:34:26 +00:00
parent 802197c369
commit cb0bb8f4ad
2 changed files with 12 additions and 1 deletions

8
libs/vim/gvim7.factor Normal file
View File

@ -0,0 +1,8 @@
USING: kernel namespaces ;
IN: vim
: vim-command ( file line -- string )
[
"\"" % vim-path get % "\" --remote-tab-silent " %
"+" % # " \"" % % "\"" %
] "" make ;

View File

@ -1,4 +1,7 @@
REQUIRES: libs/process ;
PROVIDE: libs/vim
{ +files+ { "vim.factor" "vim.facts" } }
USING: kernel ;
{ +files+ { "vim.factor" "vim.facts" { "gvim7.factor" [ win32? ] } } }
{ +help+ { "vim" "vim" } } ;