From de759884b68e4fc448ce302953d46b6269581c20 Mon Sep 17 00:00:00 2001 From: Paul Ackersviller Date: Sun, 18 Nov 2007 20:38:42 +0000 Subject: Merge of 23442/23443: update for vim 7.1, and mark --nofork and -f as redundant. --- Completion/Unix/Command/_vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Completion/Unix') diff --git a/Completion/Unix/Command/_vim b/Completion/Unix/Command/_vim index 23559a1eb..684e027c8 100644 --- a/Completion/Unix/Command/_vim +++ b/Completion/Unix/Command/_vim @@ -27,6 +27,7 @@ arguments=( '-l[lisp mode]' '-C[make vim compatible with vi]' '-N[do not force compatibility with vi]' + '(--nofork -f)'{--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 @@ arguments=( '(-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 @@ arguments=( '--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: ' -- cgit 1.4.1