Mirror of the Vim source from https://github.com/vim/vim
Revision | 903088c7a7c61b7f30d35c8a184d90b7af4a44e6 (tree) |
---|---|
Time | 2006-02-05 07:45:44 |
Author | vimboss |
Commiter | vimboss |
updated for version 7.0193
@@ -1,4 +1,4 @@ | ||
1 | -*quickfix.txt* For Vim version 7.0aa. Last change: 2006 Jan 30 | |
1 | +*quickfix.txt* For Vim version 7.0aa. Last change: 2006 Feb 04 | |
2 | 2 | |
3 | 3 | |
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -189,6 +189,17 @@ | ||
189 | 189 | :lb[uffer] [bufnr] Same as ":cbuffer", except the location list for the |
190 | 190 | current window is used instead of the quickfix list. |
191 | 191 | |
192 | + *:caddb* *:caddbuffer* | |
193 | +:caddb[uffer] [bufnr] Read the error list from the current buffer and add | |
194 | + the errors to the current quickfix list. If a | |
195 | + quickfix list is not present, then a new list is | |
196 | + created. Otherwise, same as ":cbuffer". | |
197 | + | |
198 | + *:laddb* *:laddbuffer* | |
199 | +:laddb[uffer] [bufnr] Same as ":caddbuffer", except the location list for | |
200 | + the current window is used instead of the quickfix | |
201 | + list. | |
202 | + | |
192 | 203 | *:cex* *:cexpr* *E777* |
193 | 204 | :cex[pr][!] {expr} Create a quickfix list using the result of {expr} and |
194 | 205 | jump to the first error. If {expr} is a String, then |
@@ -412,6 +423,11 @@ | ||
412 | 423 | This command does not accept a comment, any " |
413 | 424 | characters are considered part of the arguments. |
414 | 425 | |
426 | + *:lmak* *:lmake* | |
427 | +:lmak[e][!] [arguments] | |
428 | + Same as ":make", except the location list for the | |
429 | + current window is used instead of the quickfix list. | |
430 | + | |
415 | 431 | The ":make" command executes the command given with the 'makeprg' option. |
416 | 432 | This is done by passing the command to the shell given with the 'shell' |
417 | 433 | option. This works almost like typing |
@@ -503,6 +519,12 @@ | ||
503 | 519 | Example: > |
504 | 520 | :vimgrep Error *.c |
505 | 521 | < |
522 | + *:lv* *:lvimgrep* | |
523 | +:lv[imgrep][!] /{pattern}/[g][j] {file} ... | |
524 | +:lv[imgrep][!] {pattern} {file} ... | |
525 | + Same as ":vimgrep", except the location list for the | |
526 | + current window is used instead of the quickfix list. | |
527 | + | |
506 | 528 | *:vimgrepa* *:vimgrepadd* |
507 | 529 | :vimgrepa[dd][!] /{pattern}/[g][j] {file} ... |
508 | 530 | :vimgrepa[dd][!] {pattern} {file} ... |
@@ -510,6 +532,12 @@ | ||
510 | 532 | of errors the matches are appended to the current |
511 | 533 | list. |
512 | 534 | |
535 | + *:lvimgrepa* *:lvimgrepadd* | |
536 | +:lvimgrepa[dd][!] /{pattern}/[g][j] {file} ... | |
537 | +:lvimgrepa[dd][!] {pattern} {file} ... | |
538 | + Same as ":vimgrepadd", except the location list for | |
539 | + the current window is used instead of the quickfix | |
540 | + list. | |
513 | 541 | |
514 | 542 | 5.2 External grep |
515 | 543 |
@@ -525,6 +553,11 @@ | ||
525 | 553 | When 'grepprg' is "internal" this works like |
526 | 554 | |:vimgrep|. Note that the pattern needs to be |
527 | 555 | enclosed in separator characters then. |
556 | + | |
557 | + *:lgr* *:lgrep* | |
558 | +:lgr[ep][!] [arguments] Same as ":grep", except the location list for the | |
559 | + current window is used instead of the quickfix list. | |
560 | + | |
528 | 561 | *:grepa* *:grepadd* |
529 | 562 | :grepa[dd][!] [arguments] |
530 | 563 | Just like ":grep", but instead of making a new list of |
@@ -538,6 +571,11 @@ | ||
538 | 571 | ":grepadd" jumps to the first error, which is not |
539 | 572 | allowed with |:bufdo|. |
540 | 573 | |
574 | + *:lgrepa* *:lgrepadd* | |
575 | +:lgrepa[dd][!] [arguments] | |
576 | + Same as ":grepadd", except the location list for the | |
577 | + current window is used instead of the quickfix list. | |
578 | + | |
541 | 579 | 5.3 Setting up external grep |
542 | 580 | |
543 | 581 | If you have a standard "grep" program installed, the :grep command may work |
@@ -1,4 +1,4 @@ | ||
1 | -*todo.txt* For Vim version 7.0aa. Last change: 2006 Feb 03 | |
1 | +*todo.txt* For Vim version 7.0aa. Last change: 2006 Feb 04 | |
2 | 2 | |
3 | 3 | |
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -32,9 +32,6 @@ | ||
32 | 32 | |
33 | 33 | Variant of ":helpgrep" that uses a location list? How about: |
34 | 34 | :lhelpgrep (use local list in help window, not current window) |
35 | - :lgrep | |
36 | - :lvimgrep | |
37 | - :lmake | |
38 | 35 | |
39 | 36 | ccomplete / omnicomplete: |
40 | 37 | - Extra info for each entry to show in a tooltip kind of thing. |
@@ -46,11 +43,6 @@ | ||
46 | 43 | v = variable, f = function/method, c = composite (object, |
47 | 44 | struct pointer). |
48 | 45 | For C add tag "kind" field? |
49 | -- When an option is set: In completion mode and the user types (identifier) | |
50 | - characters, advance to the first match instead of removing the popup menu. | |
51 | - If there is no match remove the selection. (Yegappan Lakshmanan) | |
52 | - Keep the current list of all matches. Use the text typed (or completed) so | |
53 | - far to make a second list with only matching entries. | |
54 | 46 | - Complete the longest common match instead of the first match? |
55 | 47 | Do this when "longest" is in 'completeopt'. |
56 | 48 | Pressing CTRL-N or CTRL-P will get the whole match, as before. |
@@ -289,6 +281,8 @@ | ||
289 | 281 | Need to be able to search the windows in inactive tabs, e.g. for the |
290 | 282 | quickfix window. |
291 | 283 | Use "1gt" - "99gt" to switch to a tab? |
284 | + Also hidden tabs? Useful for messing with a temp buffer without changing | |
285 | + the window layout. | |
292 | 286 | - EMBEDDING: Make it possible to run Vim inside a window of another program. |
293 | 287 | For Xwindows this can be done with XReparentWindow(). |
294 | 288 | For GTK Neil Bird has a patch to use Vim like a widget. |
@@ -1,4 +1,4 @@ | ||
1 | -*version7.txt* For Vim version 7.0aa. Last change: 2006 Feb 02 | |
1 | +*version7.txt* For Vim version 7.0aa. Last change: 2006 Feb 04 | |
2 | 2 | |
3 | 3 | |
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -357,6 +357,7 @@ | ||
357 | 357 | |
358 | 358 | See |:map-operator| for the explanation and an example. |
359 | 359 | |
360 | + | |
360 | 361 | Location list *new-location-list* |
361 | 362 | ------------- |
362 | 363 |
@@ -364,6 +365,8 @@ | ||
364 | 365 | location list can be displayed in a location window (similar to the quickfix |
365 | 366 | window). You can open more than one location list window. A set of commands |
366 | 367 | similar to the quickfix commands are added to browse the location list. |
368 | +(Yegappan Lakshmanan) | |
369 | + | |
367 | 370 | |
368 | 371 | Various new items *new-items-7* |
369 | 372 | ----------------- |
@@ -448,8 +451,16 @@ | ||
448 | 451 | |
449 | 452 | |:caddexpr| Add error messages from a Vim expression to an |
450 | 453 | existing quickfix list. (Yegappan Lakshmanan). |
454 | +|:caddbuffer| Add errors from the current buffer to the quickfix | |
455 | + list. | |
451 | 456 | |
452 | 457 | |:ltag| Jump to a tag and add matching tags to a location list. |
458 | +|:lmake| Like |:make| but use the location list. | |
459 | +|:lgrep| Like |:grep| but use the location list. | |
460 | +|:lgrepadd| Like |:grepadd| but use the location list. | |
461 | +|:lvimgrep| Like |:vimgrep| but use the location list. | |
462 | +|:lvimgrepadd| Like |:vimgrepadd| but use the location list. | |
463 | +|:laddbuffer| Like |:caddbuffer| but use the location list. | |
453 | 464 | |
454 | 465 | |
455 | 466 | Ex command modifiers: ~ |
@@ -2,7 +2,7 @@ | ||
2 | 2 | " |
3 | 3 | " Menu Translations: Japanese (UTF-8) |
4 | 4 | " Translated By: MURAOKA Taro <koron@tka.att.ne.jp> |
5 | -" Last Change: 29-Apr-2004. | |
5 | +" Last Change: 04-Feb-2006. | |
6 | 6 | |
7 | 7 | " Quit when menu translations have already been done. |
8 | 8 | if exists("did_menu_trans") |
@@ -142,7 +142,23 @@ | ||
142 | 142 | menutrans &Close<Tab>:cclose 閉じる(&C)<Tab>:cclose |
143 | 143 | menutrans &Convert\ to\ HEX<Tab>:%!xxd HEXへ変換(&C)<Tab>:%!xxd |
144 | 144 | menutrans Conve&rt\ back<Tab>:%!xxd\ -r HEXから逆変換(&R)<Tab>%!xxd\ -r |
145 | -menutrans &Set\ Compiler コンパイラ設定(&S) | |
145 | +menutrans Se&T\ Compiler コンパイラ設定(&T) | |
146 | + | |
147 | +" Tools.Spelling Menu | |
148 | +menutrans &Spelling スペリング(&S) | |
149 | +menutrans &Spell\ Check\ On スペルチェック有効(&S) | |
150 | +menutrans Spell\ Check\ &Off スペルチェック有効(&O) | |
151 | +menutrans To\ &Next\ error<Tab>]s 次のエラー(&N)<Tab>]s | |
152 | +menutrans To\ &Previous\ error<Tab>[s 前のエラー(&P)<Tab>[s | |
153 | +menutrans Suggest\ &Corrections<Tab>z? 修正候補(&C)<Tab>z? | |
154 | +menutrans &Repeat\ correction<Tab>:spellrepall 修正を繰り返す(&R)<Tab>:spellrepall | |
155 | +menutrans Set\ language\ to\ "en" 言語を\ "en"\ に設定する | |
156 | +menutrans Set\ language\ to\ "en_au" 言語を\ "en_au"\ に設定する | |
157 | +menutrans Set\ language\ to\ "en_ca" 言語を\ "en_ca"\ に設定する | |
158 | +menutrans Set\ language\ to\ "en_gb" 言語を\ "en_gb"\ に設定する | |
159 | +menutrans Set\ language\ to\ "en_nz" 言語を\ "en_nz"\ に設定する | |
160 | +menutrans Set\ language\ to\ "en_us" 言語を\ "en_us"\ に設定する | |
161 | +menutrans &Find\ More\ Languages 他の言語を検索する(&F) | |
146 | 162 | |
147 | 163 | " Tools.Fold Menu |
148 | 164 | menutrans &Folding 折畳み(&F) |
@@ -187,6 +187,8 @@ | ||
187 | 187 | EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN), |
188 | 188 | EX(CMD_cabclear, "cabclear", ex_abclear, |
189 | 189 | EXTRA|TRLBAR|CMDWIN), |
190 | +EX(CMD_caddbuffer, "caddbuffer", ex_cbuffer, | |
191 | + RANGE|NOTADR|WORD1|TRLBAR), | |
190 | 192 | EX(CMD_caddexpr, "caddexpr", ex_cexpr, |
191 | 193 | NEEDARG|WORD1|NOTRLCOM|TRLBAR|BANG), |
192 | 194 | EX(CMD_caddfile, "caddfile", ex_cfile, |
@@ -483,6 +485,8 @@ | ||
483 | 485 | EXTRA|TRLBAR|CMDWIN), |
484 | 486 | EX(CMD_laddexpr, "laddexpr", ex_cexpr, |
485 | 487 | NEEDARG|WORD1|NOTRLCOM|TRLBAR|BANG), |
488 | +EX(CMD_laddbuffer, "laddbuffer", ex_cbuffer, | |
489 | + RANGE|NOTADR|WORD1|TRLBAR), | |
486 | 490 | EX(CMD_laddfile, "laddfile", ex_cfile, |
487 | 491 | TRLBAR|FILE1), |
488 | 492 | EX(CMD_lbuffer, "lbuffer", ex_cbuffer, |
@@ -507,6 +511,10 @@ | ||
507 | 511 | RANGE|NOTADR|COUNT|TRLBAR|BANG), |
508 | 512 | EX(CMD_lgetfile, "lgetfile", ex_cfile, |
509 | 513 | TRLBAR|FILE1|BANG), |
514 | +EX(CMD_lgrep, "lgrep", ex_make, | |
515 | + BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE), | |
516 | +EX(CMD_lgrepadd, "lgrepadd", ex_make, | |
517 | + BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE), | |
510 | 518 | EX(CMD_ll, "ll", ex_cc, |
511 | 519 | RANGE|NOTADR|COUNT|TRLBAR|BANG), |
512 | 520 | EX(CMD_llast, "llast", ex_cc, |
@@ -517,6 +525,8 @@ | ||
517 | 525 | EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN), |
518 | 526 | EX(CMD_lmapclear, "lmapclear", ex_mapclear, |
519 | 527 | EXTRA|TRLBAR|CMDWIN), |
528 | +EX(CMD_lmake, "lmake", ex_make, | |
529 | + BANG|EXTRA|NOTRLCOM|TRLBAR|XFILE), | |
520 | 530 | EX(CMD_lnoremap, "lnoremap", ex_map, |
521 | 531 | EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN), |
522 | 532 | EX(CMD_lnext, "lnext", ex_cnext, |
@@ -547,6 +557,10 @@ | ||
547 | 557 | NOTADR|TRLBAR|BANG|WORD1), |
548 | 558 | EX(CMD_lunmap, "lunmap", ex_unmap, |
549 | 559 | EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN), |
560 | +EX(CMD_lvimgrep, "lvimgrep", ex_vimgrep, | |
561 | + BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE), | |
562 | +EX(CMD_lvimgrepadd, "lvimgrepadd", ex_vimgrep, | |
563 | + BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE), | |
550 | 564 | EX(CMD_lwindow, "lwindow", ex_cwindow, |
551 | 565 | RANGE|NOTADR|COUNT|TRLBAR), |
552 | 566 | EX(CMD_ls, "ls", buflist_list, |
@@ -3,9 +3,17 @@ | ||
3 | 3 | " - Comment-out fuzzy and empty messages. |
4 | 4 | " - Make sure there is a space before the string (required for Solaris). |
5 | 5 | " Requires Vim 6.0 or later (because of multi-line search patterns). |
6 | -diffoff! | |
6 | + | |
7 | +" Disable diff mode, because it makes this very slow | |
8 | +let s:was_diff = &diff | |
9 | +setl nodiff | |
10 | + | |
7 | 11 | silent g/^#: /d |
8 | 12 | silent g/^#, fuzzy\(, .*\)\=\nmsgid ""\@!/.+1,/^$/-1s/^/#\~ / |
9 | 13 | silent g/^msgstr"/s//msgstr "/ |
10 | 14 | silent g/^msgid"/s//msgid "/ |
11 | 15 | silent g/^msgstr ""\(\n"\)\@!/?^msgid?,.s/^/#\~ / |
16 | + | |
17 | +if s:was_diff | |
18 | + setl diff | |
19 | +endif |