updated for version 7.0006
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
*editing.txt* For Vim version 7.0aa. Last change: 2004 Jun 17
|
||||
*editing.txt* For Vim version 7.0aa. Last change: 2004 Jul 04
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -48,6 +48,9 @@ CTRL-G or *CTRL-G* *:f* *:fi* *:file*
|
||||
make this message shorter. {Vi does not include
|
||||
column number}
|
||||
|
||||
:f[ile]! like |:file|, but don't truncate the name even when
|
||||
'shortmess' indicates this.
|
||||
|
||||
{count}CTRL-G Like CTRL-G, but prints the current file name with
|
||||
full path. If the count is higher than 1 the current
|
||||
buffer number is also given. {not in Vi}
|
||||
@ -69,7 +72,12 @@ g CTRL-G Prints the current position of the cursor in four
|
||||
{not in VI}
|
||||
|
||||
*:file_f*
|
||||
:f[ile] {name} Sets the current file name to {name}.
|
||||
:f[ile][!] {name} Sets the current file name to {name}. The optional !
|
||||
avoids truncating the message, as with |:file|.
|
||||
|
||||
:0f[ile][!] Remove the name of the current buffer. The optional !
|
||||
avoids truncating the message, as with |:file|. {not
|
||||
in Vi}
|
||||
|
||||
:buffers
|
||||
:files
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*eval.txt* For Vim version 7.0aa. Last change: 2004 Jun 30
|
||||
*eval.txt* For Vim version 7.0aa. Last change: 2004 Jul 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -2808,6 +2808,7 @@ mouse_xterm Compiled with support for xterm mouse.
|
||||
multi_byte Compiled with support for editing Korean et al.
|
||||
multi_byte_ime Compiled with support for IME input method.
|
||||
multi_lang Compiled with support for multiple languages.
|
||||
mzscheme Compiled with MzScheme interface |mzscheme|.
|
||||
netbeans_intg Compiled with support for |netbeans|.
|
||||
ole Compiled with OLE automation support for Win32.
|
||||
os2 OS/2 version of Vim.
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*help.txt* For Vim version 7.0aa. Last change: 2004 May 04
|
||||
*help.txt* For Vim version 7.0aa. Last change: 2004 Jul 05
|
||||
|
||||
VIM - main help file
|
||||
k
|
||||
@ -148,7 +148,8 @@ GUI ~
|
||||
|gui_x11.txt| X11 GUI
|
||||
|
||||
Interfaces ~
|
||||
|if_cscop.txt| using cscope with Vim
|
||||
|if_cscop.txt| using Cscope with Vim
|
||||
|if_mzsch.txt| MzScheme interface
|
||||
|if_perl.txt| Perl interface
|
||||
|if_pyth.txt| Python interface
|
||||
|if_sniff.txt| SNiFF+ interface
|
||||
@ -187,6 +188,12 @@ Standard plugins ~
|
||||
|pi_expl.txt| File explorer
|
||||
|
||||
LOCAL ADDITIONS: *local-additions*
|
||||
|engspchk.txt| English Spelling Checker (v57) May 25, 2004
|
||||
|example.txt| Example for a locally added help file
|
||||
|matchit.txt| Extended "%" matching
|
||||
|test.txt| Testing the h<>lp c<>mm<6D>nd n<>w
|
||||
|typecorr.txt| Plugin for correcting typing mistakes
|
||||
|helpp.txt| Dummy line to avoid an error message
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
*bars* Bars example
|
||||
|
||||
219
runtime/doc/if_mzsch.txt
Normal file
219
runtime/doc/if_mzsch.txt
Normal file
@ -0,0 +1,219 @@
|
||||
*if_mzsch.txt* For Vim version 7.0aa. Last change: 2004 Jul 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Sergey Khorev
|
||||
|
||||
|
||||
The MzScheme Interface to Vim *mzscheme* *MzScheme*
|
||||
|
||||
1. Commands |mzscheme-commands|
|
||||
2. Examples |mzscheme-examples|
|
||||
3. Threads |mzscheme-threads|
|
||||
4. The Vim access procedures |mzscheme-vim|
|
||||
|
||||
{Vi does not have any of these commands}
|
||||
|
||||
The MzScheme interface is available only if Vim was compiled with the
|
||||
|+mzscheme| feature.
|
||||
|
||||
Based on the work of Brent Fulgham.
|
||||
|
||||
For downloading MzScheme and other info:
|
||||
http://www.plt-scheme.org/software/mzscheme/
|
||||
|
||||
==============================================================================
|
||||
1. Commands *mzscheme-commands*
|
||||
|
||||
*:mzscheme* *:mz*
|
||||
:[range]mz[scheme] {stmt}
|
||||
Execute MzScheme statement {stmt}. {not in Vi}
|
||||
|
||||
:[range]mz[scheme] << {endmarker}
|
||||
{script}
|
||||
{endmarker}
|
||||
Execute inlined MzScheme script {script}.
|
||||
Note: This command doesn't work if the MzScheme
|
||||
feature wasn't compiled in. To avoid errors, see
|
||||
|script-here|.
|
||||
|
||||
*:mzfile* *:mzf*
|
||||
:[range]mzf[ile] {file} Execute the MzScheme script in {file}. {not in Vi}
|
||||
All statements are executed in the namespace of the
|
||||
buffer that was current during :mzfile start.
|
||||
If you want to access other namespaces, use
|
||||
'parameterize'.
|
||||
|
||||
All of these commands do essentially the same thing - they execute a piece of
|
||||
MzScheme code, with the "current range" set to the given line
|
||||
range.
|
||||
|
||||
In the case of :mzscheme, the code to execute is in the command-line.
|
||||
In the case of :mzfile, the code to execute is the contents of the given file.
|
||||
|
||||
Each buffer has its own MzScheme namespace. Global namespace is bound to
|
||||
the `global-namespace' value from the 'vimext' module.
|
||||
MzScheme interface defines exception exn:vim, derived from exn.
|
||||
It is raised for various Vim errors.
|
||||
|
||||
During compilation, the MzScheme interface will remember the current MzScheme
|
||||
collection path. If you want to specify additional paths use the
|
||||
'current-library-collection-paths' parameter. E.g., to cons the user-local
|
||||
MzScheme collection path: >
|
||||
:mz << EOF
|
||||
(current-library-collection-paths
|
||||
(cons
|
||||
(build-path (find-system-path 'addon-dir) (version) "collects")
|
||||
(current-library-collection-paths)))
|
||||
EOF
|
||||
<
|
||||
|
||||
All functionality is provided through module vimext.
|
||||
|
||||
The exn:vim is available without explicit import.
|
||||
|
||||
To avoid clashes with MzScheme, consider using prefix when requiring module,
|
||||
e.g.: >
|
||||
:mzscheme (require (prefix vim- vimext))
|
||||
<
|
||||
All the examples below assume this naming scheme. Note that you need to do
|
||||
this again for every buffer.
|
||||
|
||||
The auto-instantiation can be achieved with autocommands, e.g. you can put
|
||||
something like this in your .vimrc: >
|
||||
au VimEnter,BufNew,BufNewFile,BufAdd,BufReadPre *
|
||||
\:mz (require (prefix vim- vimext)
|
||||
<
|
||||
|
||||
The global namespace just instantiated this module with the prefix "vimext:".
|
||||
|
||||
==============================================================================
|
||||
2. Examples *mzscheme-examples*
|
||||
>
|
||||
:mzscheme (display "Hello")
|
||||
:mzscheme (vim-set-buff-line 10 "This is line #10")
|
||||
<
|
||||
Inline script usage: >
|
||||
function! <SID>SetFirstLine()
|
||||
:mz << EOF
|
||||
(display "!!!")
|
||||
(vim-set-buff-line 1 "This is line #1")
|
||||
(vim-beep)
|
||||
EOF
|
||||
endfunction
|
||||
|
||||
nmap <F9> :call <SID>SetFirstLine() <CR>
|
||||
<
|
||||
File execution: >
|
||||
:mzfile supascript.scm
|
||||
<
|
||||
Accessing the current buffer namespace from an MzScheme program running in
|
||||
another buffer within |:mzfile|-executed script : >
|
||||
; Move to the window below
|
||||
(vim-command "wincmd j")
|
||||
; execute in the context of buffer, to which window belongs
|
||||
; assume that buffer has 'textstring' defined
|
||||
(parameterize ((current-namespace
|
||||
(vim-get-buff-namespace (vim-curr-buff))))
|
||||
(eval '(vim-set-buff-line 1 textstring)))
|
||||
<
|
||||
|
||||
==============================================================================
|
||||
3. Threads *mzscheme-threads*
|
||||
|
||||
The MzScheme interface supports threads. They are independent from OS threads,
|
||||
thus scheduling is required. The option 'mzquantum' determines how often
|
||||
Vim should poll for available MzScheme threads.
|
||||
NOTE
|
||||
Thread scheduling in the console version of Vim is less reliable than in the
|
||||
GUI version.
|
||||
|
||||
==============================================================================
|
||||
5. VIM Functions *mzscheme-vim*
|
||||
|
||||
*mzscheme-vimext*
|
||||
The 'vimext' module provides access to procedures defined in the MzScheme
|
||||
interface.
|
||||
|
||||
Common
|
||||
------
|
||||
(command {command-string}) Perform the vim ":Ex" style command.
|
||||
(eval {expr-string}) Evaluate the vim command string.
|
||||
NOTE clashes with MzScheme eval
|
||||
(range-start) Start/End of the range passed with
|
||||
(range-end) the Scheme command.
|
||||
(beep) beep
|
||||
(get-option {option-name} [buffer-or-window]) Get Vim option value (either
|
||||
local or global, see set-option).
|
||||
(set-option {string} [buffer-or-window])
|
||||
Set a Vim option. String must have option
|
||||
setting form (like optname=optval, or
|
||||
optname+=optval, etc.) When called with
|
||||
{buffer} or {window} the local option will
|
||||
be set. The symbol 'global can be passed
|
||||
as {buffer-or-window}. Then |:setglobal|
|
||||
will be used.
|
||||
global-namespace The MzScheme main namespace.
|
||||
|
||||
Buffers *mzscheme-buffer*
|
||||
-------
|
||||
(buff? {object}) Is object a buffer?
|
||||
(buff-valid? {object}) Is object a valid buffer? (i.e.
|
||||
corresponds to the real Vim buffer)
|
||||
(get-buff-line {linenr} [buffer])
|
||||
Get line from a buffer.
|
||||
(set-buff-line {linenr} {string} [buffer])
|
||||
Set a line in a buffer. If {string} is #f,
|
||||
the line gets deleted. The [buffer]
|
||||
argument is optional. If omitted, the
|
||||
current buffer will be used.
|
||||
(get-buff-line-list {start} {end} [buffer])
|
||||
Get a list of lines in a buffer. {Start}
|
||||
and {end} are 1-based. {Start} is
|
||||
inclusive, {end} - exclusive.
|
||||
(set-buff-line-list {start} {end} {string-list} [buffer])
|
||||
Set a list of lines in a buffer. If
|
||||
string-list is #f or null, the lines get
|
||||
deleted. If a list is shorter than
|
||||
{end}-{start} the remaining lines will
|
||||
be deleted.
|
||||
(get-buff-name [buffer]) Get a buffer's text name.
|
||||
(get-buff-num [buffer]) Get a buffer's number.
|
||||
(get-buff-size [buffer]) Get buffer line count.
|
||||
(insert-buff-line-list {linenr} {string/string-list} [buffer])
|
||||
Insert a list of lines into a buffer after
|
||||
{linenr}. If {linenr} is 0, lines will be
|
||||
inserted at start.
|
||||
(curr-buff) Get the current buffer. Use procedures
|
||||
from `vimcmd' module to change it.
|
||||
(buff-count) Get count of total buffers in the editor.
|
||||
(get-next-buff [buffer]) Get next buffer.
|
||||
(get-prev-buff [buffer]) Get previous buffer. Return #f when there
|
||||
are no more buffers.
|
||||
(open-buff {filename}) Open a new buffer (for file "name")
|
||||
(get-buff-by-name {buffername}) Get a buffer by its filename or #f
|
||||
if there is no such buffer.
|
||||
(get-buff-by-num {buffernum}) Get a buffer by its number (return #f if
|
||||
there is no buffer with this number).
|
||||
(get-buff-namespace [buffer]) Get buffer namespace.
|
||||
|
||||
Windows *mzscheme-window*
|
||||
------
|
||||
(win? {object}) Is object a window?
|
||||
(win-valid? {object}) Is object a valid window (i.e. corresponds
|
||||
to the real Vim window)?
|
||||
(curr-win) Get the current window.
|
||||
(win-count) Get count of windows.
|
||||
(get-win-num [window]) Get window number.
|
||||
(get-win-by-num {windownum}) Get window by its number.
|
||||
(get-win-buffer [window]) Get the buffer for a given window.
|
||||
(get-win-height [window])
|
||||
(set-win-height {height} [window]) Get/Set height of window.
|
||||
(get-win-width [window])
|
||||
(set-win-width {width} [window])Get/Set width of window.
|
||||
(get-win-list [buffer]) Get list of windows for a buffer.
|
||||
(get-cursor [window]) Get cursor position in a window as
|
||||
a pair (linenr . column).
|
||||
(set-cursor (line . col) [window]) Set cursor position.
|
||||
|
||||
======================================================================
|
||||
vim:tw=78:ts=8:sts=4:ft=help:norl:
|
||||
@ -1,4 +1,4 @@
|
||||
*index.txt* For Vim version 7.0aa. Last change: 2004 Jul 02
|
||||
*index.txt* For Vim version 7.0aa. Last change: 2004 Jul 04
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -1352,6 +1352,7 @@ The commands are sorted on the non-optional part of their name.
|
||||
|:stop| :st[op] suspend the editor or escape to a shell
|
||||
|:stag| :sta[g] split window and jump to a tag
|
||||
|:startinsert| :star[tinsert] start Insert mode
|
||||
|:startreplace| :startr[eplace] start Replace mode
|
||||
|:stopinsert|| :stopi[nsert] stop Insert mode
|
||||
|:stjump| :stj[ump] do ":tjump" and split window
|
||||
|:stselect| :sts[elect] do ":tselect" and split window
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*insert.txt* For Vim version 7.0aa. Last change: 2004 Jul 02
|
||||
*insert.txt* For Vim version 7.0aa. Last change: 2004 Jul 04
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -991,6 +991,19 @@ NOTE: ":append" and ":insert" don't work properly in between ":if" and
|
||||
typing <Esc> in Insert mode.
|
||||
Can be used in an autocommand, example: >
|
||||
:au BufEnter scratch stopinsert
|
||||
<
|
||||
*replacing-ex* *:startreplace*
|
||||
:startr[eplace][!] Start Replace mode just after executing this command.
|
||||
Works just like typing "R" in Normal mode. When the
|
||||
! is included it acts just like "$R" had been typed
|
||||
(ie. begin replace mode at the end-of-line). Other-
|
||||
wise replacement begins at the cursor position.
|
||||
Note that when using this command in a function or
|
||||
script that the replacement will only start after
|
||||
the function or script is finished.
|
||||
{not in Vi}
|
||||
{not available when compiled without the +ex_extra
|
||||
feature}
|
||||
|
||||
==============================================================================
|
||||
10. Inserting a file *inserting-file*
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*options.txt* For Vim version 7.0aa. Last change: 2004 Jul 03
|
||||
*options.txt* For Vim version 7.0aa. Last change: 2004 Jul 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -1558,7 +1558,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
part before the "\|" matches the base, the part after it is used
|
||||
when there is no match. The "\2" in the replacement is empty if the
|
||||
part before the "\|" does not match.
|
||||
|
||||
|
||||
*'confirm'* *'cf'* *'noconfirm'* *'nocf'*
|
||||
'confirm' 'cf' boolean (default off)
|
||||
global
|
||||
@ -4235,6 +4235,15 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
time in msec between two mouse clicks for the second click to be
|
||||
recognized as a multi click.
|
||||
|
||||
*'mzquantum'* *'mzq'*
|
||||
'mzquantum' 'mzq' number (default 100)
|
||||
global
|
||||
{not in Vi}
|
||||
{not available when compiled without the |+mzscheme|
|
||||
feature}
|
||||
The number of milliseconds between polls for MzScheme threads.
|
||||
Negative or zero value means no thread scheduling.
|
||||
|
||||
*'nrformats'* *'nf'*
|
||||
'nrformats' 'nf' string (default "octal,hex")
|
||||
local to buffer
|
||||
@ -4269,6 +4278,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
*'numberwidth'* *'nuw'*
|
||||
'numberwidth' 'nuw' number (Vim default: 4 Vi default: 8)
|
||||
local to window
|
||||
{not in Vi}
|
||||
{only available when compiled with the |+linebreak|
|
||||
feature}
|
||||
Minimal number of columns to use for the line number. Only relevant
|
||||
when the 'number' option is set.
|
||||
Since one space is always between the number and the text, there is
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*quickref.txt* For Vim version 7.0aa. Last change: 2004 Jul 03
|
||||
*quickref.txt* For Vim version 7.0aa. Last change: 2004 Jul 04
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -255,6 +255,7 @@ These only work when 'wrap' is off:
|
||||
|o| N o open a new line below the current line, append text (N times)
|
||||
|O| N O open a new line above the current line, append text (N times)
|
||||
|:startinsert| :star[tinsert][!] start Insert mode, append when [!] used
|
||||
|:startreplace| :startr[eplace][!] start Replace mode, at EOL when [!] used
|
||||
|
||||
in Visual block mode:
|
||||
|v_b_I| I insert the same text in front of all the selected lines
|
||||
@ -762,6 +763,7 @@ Short explanation of each option: *option-list*
|
||||
|'mousemodel'| |'mousem'| changes meaning of mouse buttons
|
||||
|'mouseshape'| |'mouses'| shape of the mouse pointer in different modes
|
||||
|'mousetime'| |'mouset'| max time between mouse double-click
|
||||
|'mzquantum'| |'mzq'| the interval between polls for MzScheme threads
|
||||
|'nrformats'| |'nf'| number formats recognized for CTRL-A command
|
||||
|'number'| |'nu'| print the line number in front of each line
|
||||
|'numberwidth'| |'nuw'| number of columns used for the line number
|
||||
|
||||
@ -377,6 +377,8 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
|
||||
'mousetime' options.txt /*'mousetime'*
|
||||
'mp' options.txt /*'mp'*
|
||||
'mps' options.txt /*'mps'*
|
||||
'mzq' options.txt /*'mzq'*
|
||||
'mzquantum' options.txt /*'mzquantum'*
|
||||
'nf' options.txt /*'nf'*
|
||||
'noacd' options.txt /*'noacd'*
|
||||
'noai' options.txt /*'noai'*
|
||||
@ -1038,6 +1040,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
|
||||
+multi_byte various.txt /*+multi_byte*
|
||||
+multi_byte_ime various.txt /*+multi_byte_ime*
|
||||
+multi_lang various.txt /*+multi_lang*
|
||||
+mzscheme various.txt /*+mzscheme*
|
||||
+netbeans_intg various.txt /*+netbeans_intg*
|
||||
+ole various.txt /*+ole*
|
||||
+osfiletype various.txt /*+osfiletype*
|
||||
@ -2076,6 +2079,10 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
|
||||
:mod term.txt /*:mod*
|
||||
:mode term.txt /*:mode*
|
||||
:move change.txt /*:move*
|
||||
:mz if_mzsch.txt /*:mz*
|
||||
:mzf if_mzsch.txt /*:mzf*
|
||||
:mzfile if_mzsch.txt /*:mzfile*
|
||||
:mzscheme if_mzsch.txt /*:mzscheme*
|
||||
:n editing.txt /*:n*
|
||||
:ne editing.txt /*:ne*
|
||||
:new windows.txt /*:new*
|
||||
@ -2338,6 +2345,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
|
||||
:star repeat.txt /*:star*
|
||||
:start insert.txt /*:start*
|
||||
:startinsert insert.txt /*:startinsert*
|
||||
:startreplace insert.txt /*:startreplace*
|
||||
:stj tagsrch.txt /*:stj*
|
||||
:stjump tagsrch.txt /*:stjump*
|
||||
:stop starting.txt /*:stop*
|
||||
@ -3617,6 +3625,7 @@ Mark motion.txt /*Mark*
|
||||
MiNT os_mint.txt /*MiNT*
|
||||
MorphOS os_amiga.txt /*MorphOS*
|
||||
Motif gui_x11.txt /*Motif*
|
||||
MzScheme if_mzsch.txt /*MzScheme*
|
||||
N pattern.txt /*N*
|
||||
N% motion.txt /*N%*
|
||||
N: cmdline.txt /*N:*
|
||||
@ -5080,6 +5089,7 @@ iconize starting.txt /*iconize*
|
||||
iconv() eval.txt /*iconv()*
|
||||
ident-search tips.txt /*ident-search*
|
||||
if_cscop.txt if_cscop.txt /*if_cscop.txt*
|
||||
if_mzsch.txt if_mzsch.txt /*if_mzsch.txt*
|
||||
if_ole.txt if_ole.txt /*if_ole.txt*
|
||||
if_perl.txt if_perl.txt /*if_perl.txt*
|
||||
if_pyth.txt if_pyth.txt /*if_pyth.txt*
|
||||
@ -5371,6 +5381,14 @@ myscriptsfile syntax.txt /*myscriptsfile*
|
||||
mysyntaxfile syntax.txt /*mysyntaxfile*
|
||||
mysyntaxfile-add syntax.txt /*mysyntaxfile-add*
|
||||
mysyntaxfile-replace syntax.txt /*mysyntaxfile-replace*
|
||||
mzscheme if_mzsch.txt /*mzscheme*
|
||||
mzscheme-buffer if_mzsch.txt /*mzscheme-buffer*
|
||||
mzscheme-commands if_mzsch.txt /*mzscheme-commands*
|
||||
mzscheme-examples if_mzsch.txt /*mzscheme-examples*
|
||||
mzscheme-threads if_mzsch.txt /*mzscheme-threads*
|
||||
mzscheme-vim if_mzsch.txt /*mzscheme-vim*
|
||||
mzscheme-vimext if_mzsch.txt /*mzscheme-vimext*
|
||||
mzscheme-window if_mzsch.txt /*mzscheme-window*
|
||||
n pattern.txt /*n*
|
||||
nasm-syntax syntax.txt /*nasm-syntax*
|
||||
nasm.vim syntax.txt /*nasm.vim*
|
||||
@ -5746,6 +5764,7 @@ rename-files tips.txt /*rename-files*
|
||||
repeat.txt repeat.txt /*repeat.txt*
|
||||
repeating repeat.txt /*repeating*
|
||||
replacing change.txt /*replacing*
|
||||
replacing-ex insert.txt /*replacing-ex*
|
||||
resolve() eval.txt /*resolve()*
|
||||
restore-position tips.txt /*restore-position*
|
||||
restricted-mode starting.txt /*restricted-mode*
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*todo.txt* For Vim version 7.0aa. Last change: 2004 Jul 03
|
||||
*todo.txt* For Vim version 7.0aa. Last change: 2004 Jul 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -30,31 +30,9 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
|
||||
*known-bugs*
|
||||
-------------------- Known bugs and current work -----------------------
|
||||
|
||||
Docs for 'numberwidth'. index. optwin.vim
|
||||
|
||||
For version 7.0:
|
||||
- Include many PATCHES:
|
||||
7 Be able to call a function while passing on a variable number of
|
||||
arguments:
|
||||
:function Foo(abc, ...)
|
||||
: call Bar(a:abc, a:*)
|
||||
Charles Campbell has a patch for this
|
||||
He lost the patch himself.
|
||||
7 Make ":startinsert" command work directly for functions and scripts?
|
||||
Also make it possible to append (it's difficult at end of line).
|
||||
And add ":startreplace" (patch by Charles Campbell, 2004 Jan 9,
|
||||
http://www.erols.com/astronaut/vim/index.html#Patch)
|
||||
Update 2004 June 18
|
||||
8 Add patch from Charles Campbell to have ":0file!" remove the name of
|
||||
the current buffer. (2003 June 17)
|
||||
Lost the patch himself.
|
||||
8 Make it possible to delete marks. Charles Campbell has a patch that
|
||||
does this with the markclear() function (2004 Jan 9). And the
|
||||
":delmark" command (2004 Feb 9)
|
||||
Update 2004 June 18
|
||||
8 ":hardcopy":
|
||||
- Patch to append CTRL-D to PostScript output (Mike Williams, 2004 Jun
|
||||
14)
|
||||
- support printing multi-byte characters. Patch from Motonobu
|
||||
Ichimura. New (better) patch from Mike Williams (2004 Jan 20)
|
||||
Updated patch: http://www.eandem.co.uk/mrw/vim/special/index.html
|
||||
@ -88,6 +66,13 @@ For version 7.0:
|
||||
Update 2004 Jun 17
|
||||
Missing docs. Search in 'runtimepath'?
|
||||
How to get the messages into the .po files?
|
||||
8 Make it possible to delete marks. Charles Campbell has a patch that
|
||||
does this with the markclear() function (2004 Jan 9).
|
||||
And the ":delmark" command (2004 Feb 9)
|
||||
http://mysite.verizon.net/astronaut/vim/index.html#Patch
|
||||
~/tmp/ptch.delmark.bz2
|
||||
~/tmp/ptch.markclear
|
||||
Implement setmark(markname, lnum, col [, filename]) instead?
|
||||
--- responses above --
|
||||
7 Make "5dd" on last-but-one-line not delete anything (Vi compatible).
|
||||
Add flag in 'cpoptions' for this. When not present, "2dd" in the last
|
||||
@ -206,6 +191,7 @@ For version 7.0:
|
||||
- In the kvim/KDE source files fix the formatting.
|
||||
- KDE version is called "kvim". Make it "gvim", like the others?
|
||||
- Better configure check for KDE include files from Dan Sharp.
|
||||
- KDE Input method patch. (Yasuhiro Matsumoto)
|
||||
- Change ga_room into ga_maxlen, so that it doesn't need to be
|
||||
incremented/decremented each time.
|
||||
- For string variables, use length instead of NUL termination.
|
||||
@ -274,8 +260,6 @@ For version 7.0:
|
||||
- Mac: Unicode input and display (Eckehard Berns, June 27)
|
||||
8 Add patch from Muraoka Taro (Mar 16) to support input method on Mac?
|
||||
New patch 2004 Jun 16
|
||||
7 Add the MzScheme interface? New patch 2004 Jul 2. (Sergey Khorev)
|
||||
Also fix a few Lisp problems.
|
||||
9 Add cursor-column highlighting. Enable it with 'cursorcolumn' option,
|
||||
set highlighting with "CursorColumn" group. Useful for aligning text.
|
||||
Also cursor-row highlighting. Patch from Yasuhiro Matsumoto for
|
||||
@ -283,6 +267,8 @@ For version 7.0:
|
||||
instead.
|
||||
Alternative: when 'number' is set highlight the number of the current
|
||||
line.
|
||||
7 Make ":startinsert" command work directly for functions and scripts?
|
||||
Also make it possible to append (it's difficult at end of line).
|
||||
|
||||
Vi incompatibility:
|
||||
8 With undo/redo only marks in the changed lines should be changed. Other
|
||||
|
||||
@ -306,6 +306,7 @@ N *+mouse_xterm* Unix only: xterm mouse handling |xterm-mouse|
|
||||
B *+multi_byte* Korean and other languages |multibyte|
|
||||
*+multi_byte_ime* Win32 input method for multibyte chars |multibyte-ime|
|
||||
N *+multi_lang* non-English language support |multi-lang|
|
||||
m *+mzscheme* Mzscheme interface |mzscheme|
|
||||
m *+netbeans_intg* |netbeans|
|
||||
m *+ole* Win32 GUI only: |ole-interface|
|
||||
*+osfiletype* Support for the 'osfiletype' option and filetype
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*version7.txt* For Vim version 7.0aa. Last change: 2004 Jul 03
|
||||
*version7.txt* For Vim version 7.0aa. Last change: 2004 Jul 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -18,6 +18,7 @@ INCOMPATIBLE CHANGES |incompatible-7|
|
||||
NEW FEATURES |new-7|
|
||||
|
||||
New data types |new-data-types|
|
||||
KDE support |new-KDE|
|
||||
Various new items |new-items-7|
|
||||
|
||||
IMPROVEMENTS |improvements-7|
|
||||
@ -64,13 +65,21 @@ Many functions and commands have been added to support the new types.
|
||||
NOT IMPLEMENTED YET!
|
||||
|
||||
|
||||
KDE support *new-kde*
|
||||
KDE support *new-KDE*
|
||||
-----------
|
||||
|
||||
Kvim is the KDE version of Vim. It uses the Qt toolkit. See |KVim|.
|
||||
(Thomas Capricelli, Philippe Fremy, Mickael Marchand, Mark Westcott, et al.)
|
||||
|
||||
|
||||
MzScheme interface *new-MzScheme*
|
||||
------------------
|
||||
|
||||
The MzScheme interpreter is supported. |MzScheme|
|
||||
The |:mzscheme| command can be used to execute MzScheme commands.
|
||||
The |:mzfile| command can be used to execute an MzScheme script file.
|
||||
|
||||
|
||||
Various new items *new-items-7*
|
||||
-----------------
|
||||
|
||||
@ -88,11 +97,17 @@ Options: ~
|
||||
Used for the a", a' and a` text objects. |a'|
|
||||
'numberwidth' Minimal width of the space used for the 'number'
|
||||
option. (Emmanuel Renieris)
|
||||
'mzquantum' Time in msec to schedule MzScheme threads.
|
||||
|
||||
|
||||
Ex commands: ~
|
||||
|
||||
Win32: The ":winpos" command now also works in the console. (Vipin Aravind)
|
||||
|
||||
:startreplace Start Replace mode. (Charles Campbell)
|
||||
|
||||
:0file Removes the name of the buffer. (Charles Campbell)
|
||||
|
||||
|
||||
New functions: ~
|
||||
|
||||
@ -139,6 +154,11 @@ it. (Johannes Zellner)
|
||||
|
||||
Added "nbsp" in 'listchars'. (David Blanchet)
|
||||
|
||||
For lisp indenting and matching parenthesis: (Sergey Khorev)
|
||||
- square brackets are recognized properly
|
||||
- #\(, #\), #\[ and #\] are recognized as character literals
|
||||
- Lisp line comments (delimited by semicolon) are recognized
|
||||
|
||||
==============================================================================
|
||||
COMPILE TIME CHANGES *compile-changes-7*
|
||||
|
||||
@ -196,4 +216,7 @@ fields. (Walter Briscoe)
|
||||
On Sinix SYS_NMLN isn't always defined. Define it ourselves. (Cristiano De
|
||||
Michele)
|
||||
|
||||
Printing with PostScript may keep the printer waiting for more. Append a
|
||||
CTRL-D to the printer output. (Mike Williams)
|
||||
|
||||
vim:tw=78:ts=8:ft=help:norl:
|
||||
|
||||
@ -1147,6 +1147,10 @@ call append("$", "\t(local to buffer)")
|
||||
call <SID>BinOptionL("bl")
|
||||
call append("$", "debug\tset to \"msg\" to see all error messages")
|
||||
call append("$", " \tset debug=" . &debug)
|
||||
if has("mzscheme")
|
||||
call append("$", "mzquantum\tinterval in milliseconds between polls for MzScheme threads")
|
||||
call append("$", " \tset mzq=" . &mzq)
|
||||
endif
|
||||
|
||||
set cpo&vim
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
%!PS-Adobe-3.0 Resource-ProcSet
|
||||
%%Title: VIM-Prolog
|
||||
%%Version: 1.3 1
|
||||
%%Version: 1.4 1
|
||||
%%EndComments
|
||||
% Editing of this file is NOT RECOMMENDED. You run a very good risk of causing
|
||||
% all PostScript printing from VIM failing if you do. PostScript is not called
|
||||
@ -36,5 +36,6 @@ put}{pop pop}ifelse}forall/Encoding findresource dup length 256 eq{NFD/Encoding
|
||||
ifelse 2 copy known{2 copy get dup maxlength dict copy[/questiondown/space]{2
|
||||
copy known{2 copy get 2 index/.notdef 3 -1 roll put pop exit}if pop}forall put
|
||||
}{pop pop}ifelse dup NFD/FontName 3 -1 roll put NFD definefont pop end}bd
|
||||
(\004)cvn{}bd
|
||||
% vim:ff=unix:
|
||||
%%EOF
|
||||
|
||||
Reference in New Issue
Block a user