summaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-07-27 21:13:01 +0000
committerBram Moolenaar <Bram@vim.org>2005-07-27 21:13:01 +0000
commit87e25fdf80c7b45deee9c59389b51503e906d93b (patch)
treee477f86746245499e324e1d1e9ccada6aed035e9 /runtime/doc
parent231334e6efbf3a7f89183f8257e09492534a5f8c (diff)
downloadvim-git-87e25fdf80c7b45deee9c59389b51503e906d93b.tar.gz
updated for version 7.0117v7.0117
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/index.txt4
-rw-r--r--runtime/doc/insert.txt3
-rw-r--r--runtime/doc/message.txt35
-rw-r--r--runtime/doc/options.txt6
-rw-r--r--runtime/doc/quickfix.txt20
-rw-r--r--runtime/doc/quickref.txt7
-rw-r--r--runtime/doc/tags6
-rw-r--r--runtime/doc/todo.txt27
-rw-r--r--runtime/doc/version7.txt28
9 files changed, 102 insertions, 34 deletions
diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt
index 6ddbc4911..f48382a2d 100644
--- a/runtime/doc/index.txt
+++ b/runtime/doc/index.txt
@@ -1,4 +1,4 @@
-*index.txt* For Vim version 7.0aa. Last change: 2005 Jul 06
+*index.txt* For Vim version 7.0aa. Last change: 2005 Jul 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1059,6 +1059,7 @@ The commands are sorted on the non-optional part of their name.
|:cNfile| :cNf[ile] go to last error in previous file
|:cabbrev| :ca[bbrev] like ":abbreviate" but for Command-line mode
|:cabclear| :cabc[lear] clear all abbreviations for Command-line mode
+|:caddfile| :cad[dfile] add error message to current quickfix list
|:call| :cal[l] call a function
|:catch| :cat[ch] part of a :try command
|:cbuffer| :cb[uffer] parse error messages and jump to first error
@@ -1066,6 +1067,7 @@ The commands are sorted on the non-optional part of their name.
|:cclose| :ccl[ose] close quickfix window
|:cd| :cd change directory
|:center| :ce[nter] format lines at the center
+|:cexpr| :cex[pr] read errors from expr and jump to first
|:cfile| :cf[ile] read file with error messages and jump to first
|:cfirst| :cfir[st] go to the specified error, default first one
|:cgetfile| :cg[etfile] read file with error messages
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt
index 222562bf1..95ef238c0 100644
--- a/runtime/doc/insert.txt
+++ b/runtime/doc/insert.txt
@@ -1,4 +1,4 @@
-*insert.txt* For Vim version 7.0aa. Last change: 2005 Apr 08
+*insert.txt* For Vim version 7.0aa. Last change: 2005 Jul 26
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1004,6 +1004,7 @@ NOTE: ":append" and ":insert" don't work properly in between ":if" and
Note that when using this command in a function or
script, the insertion only starts after the function
or script is finished.
+ This command does not work from |:normal|.
{not in Vi}
{not available when compiled without the +ex_extra
feature}
diff --git a/runtime/doc/message.txt b/runtime/doc/message.txt
index 425d6fb31..8b7e7b0c9 100644
--- a/runtime/doc/message.txt
+++ b/runtime/doc/message.txt
@@ -1,4 +1,4 @@
-*message.txt* For Vim version 7.0aa. Last change: 2005 Feb 13
+*message.txt* For Vim version 7.0aa. Last change: 2005 Jul 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -714,9 +714,10 @@ a user-defined command.
This is an (incomplete) overview of various messages that Vim gives:
- *hit-enter* *press-enter* *hit-return* *press-return* >
+ *hit-enter* *press-enter* *hit-return*
+ *press-return* *hit-enter-prompt*
- Hit ENTER or type command to continue
+ Press ENTER or type command to continue
This message is given when there is something on the screen for you to read,
and the screen is about to be redrawn:
@@ -724,10 +725,13 @@ and the screen is about to be redrawn:
- Something is displayed on the status line that is longer than the width of
the window, or runs into the 'showcmd' or 'ruler' output.
--> Hit <Enter> or <Space> to redraw the screen and continue, without that key
- being used otherwise.
--> Hit ":" or any other Normal mode command character to start that command.
--> Hit <C-Y> to copy (yank) a modeless selection to the clipboard register.
+-> Press <Enter> or <Space> to redraw the screen and continue, without that
+ key being used otherwise.
+-> Press ':' or any other Normal mode command character to start that command.
+-> Press 'k', 'u' or 'b' to scroll back in the messages. This works the same
+ way as at the |more-prompt|. Only works when 'compatible' is off and
+ 'more' is on.
+-> Press <C-Y> to copy (yank) a modeless selection to the clipboard register.
-> Use a menu. The characters defined for Cmdline-mode are used.
-> When 'mouse' contains the 'r' flag, clicking the left mouse button works
like pressing <Space>. This makes it impossible to select text though.
@@ -746,8 +750,7 @@ group.
*more-prompt* *pager* >
-- More --
- -- More -- (RET: line, SPACE: page, d: half page, q: quit)
- -- More -- (RET/BS: line, SPACE/b: page, d/u: half page, q: quit)
+ -- More -- SPACE/d/j: screen/page/line down, b/u/k: up, q: quit
This message is given when the screen is filled with messages. It is only
given when the 'more' option is on. It is highlighted with the |hl-MoreMsg|
@@ -755,11 +758,13 @@ group.
Type effect ~
<CR> or <NL> or j or <Down> one more line
+ d down a page (half a screen)
+ <Space> or <PageDown> down a screen
+
<BS> or k or <Up> one line back (*)
- <Space> or <PageDown> next page
- b or <PageUp> previous page (*)
- d down half a page
- u up half a page (*)
+ u up a page (half a screen) (*)
+ b or <PageUp> back a screen (*)
+
q, <Esc> or CTRL-C stop the listing
: stop the listing and enter a
command-line
@@ -771,8 +776,8 @@ Type effect ~
Any other key causes the meaning of the keys to be displayed.
-(*) backwards scrolling is only supported for these commands: >
- :clist
+(*) backwards scrolling is {not in Vi}. Only scrolls back to where messages
+ started to scroll.
(**) Clicking the left mouse button only works:
- For the GUI: in the last line of the screen.
- When 'r' is included in 'mouse' (but then selecting text won't work).
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index aac3c29e4..9b470ab3a 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 7.0aa. Last change: 2005 Jul 22
+*options.txt* For Vim version 7.0aa. Last change: 2005 Jul 26
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1028,7 +1028,7 @@ A jump table for the options with a short description can be found at |Q_op|.
Vim does not try to send a message to an external debugger (Netbeans
or Sun Workshop).
- To check wether line breaks in the balloon text work use this check: >
+ To check whether line breaks in the balloon text work use this check: >
if has("balloon_multiline")
<
*'binary'* *'bin'* *'nobinary'* *'nobin'*
@@ -1066,7 +1066,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'bioskey' 'biosk' boolean (default on)
global
{not in Vi} {only for MS-DOS}
- When on the bios is called to obtain a keyboard character. This works
+ When on the BIOS is called to obtain a keyboard character. This works
better to detect CTRL-C, but only works for the console. When using a
terminal over a serial port reset this option.
Also see |'conskey'|.
diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt
index 37025e98d..313b218a7 100644
--- a/runtime/doc/quickfix.txt
+++ b/runtime/doc/quickfix.txt
@@ -1,4 +1,4 @@
-*quickfix.txt* For Vim version 7.0aa. Last change: 2005 Jul 25
+*quickfix.txt* For Vim version 7.0aa. Last change: 2005 Jul 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -110,6 +110,11 @@ The following quickfix commands can be used:
Read the error file. Just like ":cfile" but don't
jump to the first error.
+ *:cad* *:caddfile*
+:cad[dfile] [errorfile] Read the error file and add the errors from the
+ errorfile to the current quickfix list. If a quickfix
+ list is not present, then a new list is created.
+
*:cb* *:cbuffer* *E681*
:cb[uffer] [bufnr] Read the error list from the current buffer.
When [bufnr] is given it must be the number of a
@@ -118,6 +123,19 @@ The following quickfix commands can be used:
A range can be specified for the lines to be used.
Otherwise all lines in the buffer are used.
+ *:cex* *:cexpr*
+:cex[pr][!] {expr} Create a quickfix list using the result of {expr}.
+ If {expr} is a String, then each new-line terminated
+ line in the String is processed using 'errorformat'
+ and the result is added to the quickfix list.
+ If {expr} is a List, then each String item in the list
+ is processed and added to the quickfix list.
+ Non String items in the List are ignored. See |:cc|
+ for [!].
+ Examples: >
+ :cexpr system('grep -n xyz *')
+ :cexpr getline(1, '$')
+<
*:cl* *:clist*
:cl[ist] [from] [, [to]]
List all errors that are valid |quickfix-valid|.
diff --git a/runtime/doc/quickref.txt b/runtime/doc/quickref.txt
index 7150c3b1c..0b5861489 100644
--- a/runtime/doc/quickref.txt
+++ b/runtime/doc/quickref.txt
@@ -1,4 +1,4 @@
-*quickref.txt* For Vim version 7.0aa. Last change: 2005 Jul 13
+*quickref.txt* For Vim version 7.0aa. Last change: 2005 Jul 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -933,6 +933,11 @@ Short explanation of each option: *option-list*
|:cprevious| :cp display the previous error
|:clist| :cl list all errors
|:cfile| :cf read errors from the file 'errorfile'
+|:cgetfile| :cg like :cfile but don't jump to the first error
+|:caddfile| :cad add errors from the error file to the current
+ quickfix list
+|:cbuffer| :cb read errors from text in a buffer
+|:cexpr| :cex read errors from an expression
|:cquit| :cq quit without writing and return error code (to
the compiler)
|:make| :make [args] start make, read errors, and jump to first
diff --git a/runtime/doc/tags b/runtime/doc/tags
index fffaa339d..82235775a 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -1753,6 +1753,8 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
:cabbrev map.txt /*:cabbrev*
:cabc map.txt /*:cabc*
:cabclear map.txt /*:cabclear*
+:cad quickfix.txt /*:cad*
+:caddfile quickfix.txt /*:caddfile*
:cal eval.txt /*:cal*
:call eval.txt /*:call*
:cat eval.txt /*:cat*
@@ -1766,6 +1768,8 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
:cd- editing.txt /*:cd-*
:ce change.txt /*:ce*
:center change.txt /*:center*
+:cex quickfix.txt /*:cex*
+:cexpr quickfix.txt /*:cexpr*
:cf quickfix.txt /*:cf*
:cfile quickfix.txt /*:cfile*
:cfir quickfix.txt /*:cfir*
@@ -5188,6 +5192,7 @@ histget() eval.txt /*histget()*
histnr() eval.txt /*histnr()*
history cmdline.txt /*history*
hit-enter message.txt /*hit-enter*
+hit-enter-prompt message.txt /*hit-enter-prompt*
hit-return message.txt /*hit-return*
hitest.vim syntax.txt /*hitest.vim*
hjkl usr_02.txt /*hjkl*
@@ -5828,6 +5833,7 @@ new-printing version6.txt /*new-printing*
new-runtime-dir version5.txt /*new-runtime-dir*
new-script version5.txt /*new-script*
new-script-5.4 version5.txt /*new-script-5.4*
+new-scroll-back version7.txt /*new-scroll-back*
new-search-path version6.txt /*new-search-path*
new-searchpat version6.txt /*new-searchpat*
new-session-files version5.txt /*new-session-files*
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index 211ee93ff..fe3c41ef0 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt* For Vim version 7.0aa. Last change: 2005 Jul 25
+*todo.txt* For Vim version 7.0aa. Last change: 2005 Jul 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -58,13 +58,13 @@ Awaiting response:
PLANNED FOR VERSION 7.0:
-- Store messages to allow SCROLLING BACK for all commands. And other "less"
- like commands.
- "INTELLISENSE". First cleanup the Insert-mode completion.
http://www.vim.org/scripts/script.php?script_id=747
www.vim.org script 1213 (Java Development Environment) (Fuchuan Wang)
http://sourceforge.net/projects/insenvim
of http://insenvim.sourceforge.net
+ IComplete: http://www.vim.org/scripts/script.php?script_id=1265
+ and http://stud4.tuwien.ac.at/~e0125672/icomplete/
http://cedet.sourceforge.net/intellisense.shtml (for Emacs)
Ivan Villanueva has something for Java.
Ideas from Emads:
@@ -104,12 +104,21 @@ PLANNED FOR VERSION 7.0:
keep undo: "3h", "1d", "2w", "1y", etc. For the file use dot and
extension: ".filename.un~" (like swapfile but "un~" instead of "swp").
7 Support WINDOW TABS. Works like several pages, each with their own
- split windows. Patch for GTK 1.2 passed on by Christian Michon, 2004 Jan 6.
- Don't forget to provide an "X" to close a tab.
- Also for the console!
+ split windows.
In Emacs these are called frames. Could also call them "pages".
- Use "1gt" - "99gt" to switch to a tab?
+ Use the name of the first buffer in the tab (ignoring the help window,
+ unless it's the only one). Add a number for the window count.
+ First make it work on the console. Use a line of text with highlighting.
+ Then add GUI Tabs for some systems.
+ Patch for GTK 1.2 passed on by Christian Michon, 2004 Jan 6.
Simple patch for GTK by Luis M (nov 7).
+ Don't forget to provide an "X" to close a tab.
+ Implementation: keep the list of windows as-is. When switching to another
+ tab make the buffers in the current windows hidden, save the window
+ layout, buildup the other window layout and fill with buffers.
+ Need to be able to search the windows in inactive tabs, e.g. for the
+ quickfix window.
+ Use "1gt" - "99gt" to switch to a tab?
- EMBEDDING: Make it possible to run Vim inside a window of another program.
For Xwindows this can be done with XReparentWindow().
For GTK Neil Bird has a patch to use Vim like a widget.
@@ -238,10 +247,6 @@ Commands to use the location list:
:lgetfile idem, don't jump to first one
:lbuffer idem, from current buffer.
-7 Add a ":cstring" command. Works like ":cfile" but reads from a string
- variable. Also accept a list variable? Patch from Yegappan Lakshmanan.
- 2005 Feb 17 Now it's ":cexpr".
-
HTML indenting can be slow, find out why. Any way to do some kind of
profiling for Vim script? At least add a function to get the current time in
usec. reltime([start, [end]])
diff --git a/runtime/doc/version7.txt b/runtime/doc/version7.txt
index ce0c4a4e8..5fd768885 100644
--- a/runtime/doc/version7.txt
+++ b/runtime/doc/version7.txt
@@ -1,4 +1,4 @@
-*version7.txt* For Vim version 7.0aa. Last change: 2005 Jul 25
+*version7.txt* For Vim version 7.0aa. Last change: 2005 Jul 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -25,6 +25,7 @@ MzScheme interface |new-MzScheme|
Printing multi-byte text |new-print-multi-byte|
Translated manual pages |new-manpage-trans|
Internal grep |new-vimgrep|
+Scroll back in messages |new-scroll-back|
POSIX compatibility |new-posix|
Debugger support |new-debug-support|
Various new items |new-items-7|
@@ -227,6 +228,17 @@ expands into an arbitrary depth of directories. "**" can be used in all
places where file names are expanded, thus also with |:next| and |:args|.
+Scroll back in messages *new-scroll-back*
+-----------------------
+
+When displaying messages, at the |more-prompt| and the |hit-enter-prompt|, The
+'k', 'u' and 'b' keys can be used to scroll back to previous messages. This
+is especially useful for commands such as ":syntax", ":autocommand" and
+":highlight". This is implemented in a generic way thus it works for all
+commands and highlighting is kept. Only works when the 'more' option is set.
+Previously it only partly worked for ":clist".
+
+
POSIX compatibility *new-posix*
-------------------
@@ -350,6 +362,12 @@ Win32: The ":winpos" command now also works in the console. (Vipin Aravind)
|:sort| Sort lines in the buffer without depending on an
external command.
+|:caddfile| Add error messages to an existing quickfix list
+ (Yegappan Lakshmanan).
+
+|:cexpr| Read error messages from a Vim expression (Yegappan
+ Lakshmanan).
+
New functions: ~
@@ -1214,4 +1232,12 @@ When using command line completion for ":e *foo" and the file "+foo" exists
the resulting command ":e +foo" doesn't work. Now insert a backslash: ":e
\+foo".
+When the translation of "-- More --" was not 10 characters long the following
+message would be in the wrong position.
+
+At the more-prompt the last character in the last line wasn't drawn.
+
+When deleting non-existing text while 'virtualedit' is set the '[ and '] marks
+were not set.
+
vim:tw=78:ts=8:ft=help:norl: