0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0193

This commit is contained in:
Bram Moolenaar
2006-02-04 22:37:47 +00:00
parent 0e5bd96f84
commit a37420f46f
2 changed files with 21 additions and 5 deletions

View File

@@ -1069,6 +1069,7 @@ The commands are sorted on the non-optional part of their name.
|:cNfile| :cNf[ile] go to last error in previous file |:cNfile| :cNf[ile] go to last error in previous file
|:cabbrev| :ca[bbrev] like ":abbreviate" but for Command-line mode |:cabbrev| :ca[bbrev] like ":abbreviate" but for Command-line mode
|:cabclear| :cabc[lear] clear all abbreviations for Command-line mode |:cabclear| :cabc[lear] clear all abbreviations for Command-line mode
|:caddbuffer| :caddb[uffer] add errors from buffer
|:caddexpr| :cad[dexpr] add errors from expr |:caddexpr| :cad[dexpr] add errors from expr
|:caddfile| :caddf[ile] add error message to current quickfix list |:caddfile| :caddf[ile] add error message to current quickfix list
|:call| :cal[l] call a function |:call| :cal[l] call a function
@@ -1217,6 +1218,7 @@ The commands are sorted on the non-optional part of their name.
|:lNfile| :lNf[ile] go to last entry in previous file |:lNfile| :lNf[ile] go to last entry in previous file
|:list| :l[ist] print lines |:list| :l[ist] print lines
|:laddexpr| :lad[dexpr] add locations from expr |:laddexpr| :lad[dexpr] add locations from expr
|:laddbuffer| :laddb[uffer] add locations from buffer
|:laddfile| :laddf[ile] add locations to current location list |:laddfile| :laddf[ile] add locations to current location list
|:last| :la[st] go to the last file in the argument list |:last| :la[st] go to the last file in the argument list
|:language| :lan[guage] set the language (locale) |:language| :lan[guage] set the language (locale)
@@ -1231,9 +1233,13 @@ The commands are sorted on the non-optional part of their name.
|:lfile| :lf[ile] read file with locations and jump to first |:lfile| :lf[ile] read file with locations and jump to first
|:lfirst| :lfir[st] go to the specified location, default first one |:lfirst| :lfir[st] go to the specified location, default first one
|:lgetfile| :lg[etfile] read file with locations |:lgetfile| :lg[etfile] read file with locations
|:lgrep| :lgr[ep] run 'grepprg' and jump to first match
|:lgrepadd| :lgrepa[dd] like :grep, but append to current list
|:ll| :ll go to specific location |:ll| :ll go to specific location
|:llast| :lla[st] go to the specified location, default last one |:llast| :lla[st] go to the specified location, default last one
|:llist| :lli[st] list all locations |:llist| :lli[st] list all locations
|:lmake| :lmak[e] execute external command 'makeprg' and parse
error messages
|:lmap| :lm[ap] like ":map!" but includes Lang-Arg mode |:lmap| :lm[ap] like ":map!" but includes Lang-Arg mode
|:lmapclear| :lmapc[lear] like ":mapclear!" but includes Lang-Arg mode |:lmapclear| :lmapc[lear] like ":mapclear!" but includes Lang-Arg mode
|:lnext| :lne[xt] go to next location |:lnext| :lne[xt] go to next location
@@ -1253,6 +1259,8 @@ The commands are sorted on the non-optional part of their name.
|:ltag| :lt[ag] jump to tag and add matching tags to the |:ltag| :lt[ag] jump to tag and add matching tags to the
location list location list
|:lunmap| :lu[nmap] like ":unmap!" but includes Lang-Arg mode |:lunmap| :lu[nmap] like ":unmap!" but includes Lang-Arg mode
|:lvimgrep| :lv[imgrep] search for pattern in files
|:lvimgrepadd| :lvimgrepa[dd] like :vimgrep, but append to current list
|:lwindow| :lw[indow] open or close location window |:lwindow| :lw[indow] open or close location window
|:move| :m[ove] move lines |:move| :m[ove] move lines
|:mark| :ma[rk] set a mark |:mark| :ma[rk] set a mark

View File

@@ -4001,8 +4001,10 @@ skip_grep_pat(eap)
{ {
char_u *p = eap->arg; char_u *p = eap->arg;
if (*p != NUL && (eap->cmdidx == CMD_vimgrep if (*p != NUL && (eap->cmdidx == CMD_vimgrep || eap->cmdidx == CMD_lvimgrep
|| eap->cmdidx == CMD_vimgrepadd || grep_internal(eap->cmdidx))) || eap->cmdidx == CMD_vimgrepadd
|| eap->cmdidx == CMD_lvimgrepadd
|| grep_internal(eap->cmdidx)))
{ {
p = skip_vimgrep_pat(p, NULL, NULL); p = skip_vimgrep_pat(p, NULL, NULL);
if (p == NULL) if (p == NULL)
@@ -4031,11 +4033,14 @@ replace_makeprg(eap, p, cmdlinep)
/* /*
* Don't do it when ":vimgrep" is used for ":grep". * Don't do it when ":vimgrep" is used for ":grep".
*/ */
if ((eap->cmdidx == CMD_make if ((eap->cmdidx == CMD_make || eap->cmdidx == CMD_lmake
|| eap->cmdidx == CMD_grep || eap->cmdidx == CMD_grepadd) || eap->cmdidx == CMD_grep || eap->cmdidx == CMD_lgrep
|| eap->cmdidx == CMD_grepadd
|| eap->cmdidx == CMD_lgrepadd)
&& !grep_internal(eap->cmdidx)) && !grep_internal(eap->cmdidx))
{ {
if (eap->cmdidx == CMD_grep || eap->cmdidx == CMD_grepadd) if (eap->cmdidx == CMD_grep || eap->cmdidx == CMD_lgrep
|| eap->cmdidx == CMD_grepadd || eap->cmdidx == CMD_lgrepadd)
{ {
if (*curbuf->b_p_gp == NUL) if (*curbuf->b_p_gp == NUL)
program = p_gp; program = p_gp;
@@ -4174,8 +4179,11 @@ expand_filename(eap, cmdlinep, errormsgp)
if (!eap->usefilter if (!eap->usefilter
&& eap->cmdidx != CMD_bang && eap->cmdidx != CMD_bang
&& eap->cmdidx != CMD_make && eap->cmdidx != CMD_make
&& eap->cmdidx != CMD_lmake
&& eap->cmdidx != CMD_grep && eap->cmdidx != CMD_grep
&& eap->cmdidx != CMD_lgrep
&& eap->cmdidx != CMD_grepadd && eap->cmdidx != CMD_grepadd
&& eap->cmdidx != CMD_lgrepadd
#ifndef UNIX #ifndef UNIX
&& !(eap->argt & NOSPC) && !(eap->argt & NOSPC)
#endif #endif