zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: _vim
@ 2007-05-16 19:17 Ag. D. Hatzimanikas
  2007-05-17  7:28 ` Nikolai Weibull
  0 siblings, 1 reply; 2+ messages in thread
From: Ag. D. Hatzimanikas @ 2007-05-16 19:17 UTC (permalink / raw)
  To: zsh-workers

Hi All,

Just a couple of _vim additions, most notably the (-p) and
(--remote-tab), which both have to do with tabs; introduced 
in vim 7.0 version (currently in 7.1).

As a plus :), a big *thanks* for your work in zsh development.


Index: Completion/Unix/Command/_vim
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_vim,v
retrieving revision 1.3
diff -u -r1.3 _vim
--- Completion/Unix/Command/_vim	8 Jul 2005 10:33:39 -0000	1.3
+++ Completion/Unix/Command/_vim	16 May 2007 18:40:12 -0000
@@ -27,6 +27,7 @@
   '-l[lisp mode]'
   '-C[make vim compatible with vi]'
   '-N[do not force compatibility with vi]'
+  {--nofork,-f}'[do not detach the GUI version from the shell]'
   '-V-[verbosity level]::verbosity:((0\:"do not display any messages"
                                      1\:"display when viminfo file is read or written"
                                      2\:"display sourced files"
@@ -44,8 +45,10 @@
   '(-A    -F)-H[start in Hebrew mode]'
   '(-A -H   )-H[start in Farsi mode]'
   '-T[set terminal type]:::_terminals'
-  '-u[use given RC file instead of default .vimrc]::rc file:_files'
+  '-u[use given vimrc file instead of default .vimrc]::rc file:_files'
+  '-U[use given gvimrc file instead of default .gvimrc]::rc file:_files'
   '--noplugin[do not load plugin scripts]'
+  '-p-[number of tabs to open (default: one for each file)]::tab count: '
   '-o-[number of windows to open (default: one for each file)]::window count: '
   '-O-[number of windows to vertically split open (default is one for each file)]::window count: '
   '*--cmd[execute given command before loading any RC files]:command: '
@@ -61,6 +64,7 @@
   '--remote-wait[as --remote but wait for files to have been edited]:*:file:_vim_files'
   '--remote-wait-silent[as --remote-wait but without complaining if not possible]:*:file:_vim_files'
   '--remote-send[send given keys to vim server if possible]:keys: '
+  '--remote-tab[as --remote but open tab page for each file]:*:file:_vim_files'
   '--remote-expr[evaluate given expression in a vim server and print result]:expression: '
   '(- *)--serverlist[list available vim servers and exit]'
   '--servername[name of vim server to send to or name of server to become]:server name: '


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PATCH: _vim
  2007-05-16 19:17 PATCH: _vim Ag. D. Hatzimanikas
@ 2007-05-17  7:28 ` Nikolai Weibull
  0 siblings, 0 replies; 2+ messages in thread
From: Nikolai Weibull @ 2007-05-17  7:28 UTC (permalink / raw)
  To: Ag. D. Hatzimanikas; +Cc: zsh-workers

On 5/16/07, Ag. D. Hatzimanikas <a.hatzim@gmail.com> wrote:

> Just a couple of _vim additions, most notably the (-p) and
> (--remote-tab), which both have to do with tabs; introduced
> in vim 7.0 version (currently in 7.1).

> +  {--nofork,-f}'[do not detach the GUI version from the shell]'

This line should be

+  '(--nofork -f)'{--nofork,-f}'[do not detach the GUI version from the shell]'

Other than that it looks good.  Thanks!

  nikolai


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-17  7:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-16 19:17 PATCH: _vim Ag. D. Hatzimanikas
2007-05-17  7:28 ` Nikolai Weibull

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).