mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #1648 from Pyrohh/amiga-vms-cleanup
Amiga/VMS cleanup
This commit is contained in:
commit
e922a74273
@ -528,8 +528,7 @@ CursorHold When the user doesn't press a key for the time
|
|||||||
Hint: to force an update of the status lines
|
Hint: to force an update of the status lines
|
||||||
use: >
|
use: >
|
||||||
:let &ro = &ro
|
:let &ro = &ro
|
||||||
< {only on Amiga, Unix, Win32, MSDOS and all GUI
|
|
||||||
versions}
|
|
||||||
*CursorHoldI*
|
*CursorHoldI*
|
||||||
CursorHoldI Just like CursorHold, but in Insert mode.
|
CursorHoldI Just like CursorHold, but in Insert mode.
|
||||||
|
|
||||||
|
@ -407,8 +407,7 @@ CTRL-N After using 'wildchar' which got multiple matches, go to next
|
|||||||
<S-Tab> *c_CTRL-P* *c_<S-Tab>*
|
<S-Tab> *c_CTRL-P* *c_<S-Tab>*
|
||||||
CTRL-P After using 'wildchar' which got multiple matches, go to
|
CTRL-P After using 'wildchar' which got multiple matches, go to
|
||||||
previous match. Otherwise recall older command-line from
|
previous match. Otherwise recall older command-line from
|
||||||
history. <S-Tab> only works with the GUI, on the Amiga and
|
history. <S-Tab> only works with the GUI and with MS-DOS.
|
||||||
with MS-DOS.
|
|
||||||
*c_CTRL-A*
|
*c_CTRL-A*
|
||||||
CTRL-A All names that match the pattern in front of the cursor are
|
CTRL-A All names that match the pattern in front of the cursor are
|
||||||
inserted.
|
inserted.
|
||||||
@ -587,10 +586,9 @@ When the character '%' or '#' is used where a file name is expected, they are
|
|||||||
expanded to the current and alternate file name (see the chapter "editing
|
expanded to the current and alternate file name (see the chapter "editing
|
||||||
files" |:_%| |:_#|).
|
files" |:_%| |:_#|).
|
||||||
|
|
||||||
Embedded spaces in file names are allowed on the Amiga if one file name is
|
Trailing spaces in filenames will be ignored, unless escaped with a backslash
|
||||||
expected as argument. Trailing spaces will be ignored, unless escaped with a
|
or CTRL-V. Note that the ":next" command uses spaces to separate file names.
|
||||||
backslash or CTRL-V. Note that the ":next" command uses spaces to separate
|
Escape the spaces to include them in a file name. Example: >
|
||||||
file names. Escape the spaces to include them in a file name. Example: >
|
|
||||||
:next foo\ bar goes\ to school\
|
:next foo\ bar goes\ to school\
|
||||||
starts editing the three files "foo bar", "goes to" and "school ".
|
starts editing the three files "foo bar", "goes to" and "school ".
|
||||||
|
|
||||||
@ -832,12 +830,11 @@ These are not available when Vim has been compiled without the |+modify_fname|
|
|||||||
feature.
|
feature.
|
||||||
These modifiers can be given, in this order:
|
These modifiers can be given, in this order:
|
||||||
:p Make file name a full path. Must be the first modifier. Also
|
:p Make file name a full path. Must be the first modifier. Also
|
||||||
changes "~/" (and "~user/" for Unix and VMS) to the path for
|
changes "~/" (and "~user/" for Unix) to the path for the home
|
||||||
the home directory. If the name is a directory a path
|
directory. If the name is a directory a path separator is
|
||||||
separator is added at the end. For a file name that does not
|
added at the end. For a file name that does not exist and
|
||||||
exist and does not have an absolute path the result is
|
does not have an absolute path the result is unpredictable.
|
||||||
unpredictable. On MS-Windows an 8.3 filename is expanded to
|
On MS-Windows an 8.3 filename is expanded to the long name.
|
||||||
the long name.
|
|
||||||
:8 Converts the path to 8.3 short format (currently only on
|
:8 Converts the path to 8.3 short format (currently only on
|
||||||
MS-Windows). Will act on as much of a path that is an
|
MS-Windows). Will act on as much of a path that is an
|
||||||
existing path.
|
existing path.
|
||||||
@ -855,9 +852,9 @@ These modifiers can be given, in this order:
|
|||||||
separator is removed. Thus ":p:h" on a directory name results
|
separator is removed. Thus ":p:h" on a directory name results
|
||||||
on the directory name itself (without trailing slash).
|
on the directory name itself (without trailing slash).
|
||||||
When the file name is an absolute path (starts with "/" for
|
When the file name is an absolute path (starts with "/" for
|
||||||
Unix; "x:\" for MS-DOS, WIN32; "drive:" for Amiga), that
|
Unix; "x:\" for MS-DOS and WIN32), that part is not removed.
|
||||||
part is not removed. When there is no head (path is relative
|
When there is no head (path is relative to current directory)
|
||||||
to current directory) the result is empty.
|
the result is empty.
|
||||||
:t Tail of the file name (last component of the name). Must
|
:t Tail of the file name (last component of the name). Must
|
||||||
precede any :r or :e.
|
precede any :r or :e.
|
||||||
:r Root of the file name (the last extension removed). When
|
:r Root of the file name (the last extension removed). When
|
||||||
|
@ -359,10 +359,10 @@ expected are mentioned at |cmdline-special|.
|
|||||||
Note for systems other than Unix: When using a command that accepts a single
|
Note for systems other than Unix: When using a command that accepts a single
|
||||||
file name (like ":edit file") spaces in the file name are allowed, but
|
file name (like ":edit file") spaces in the file name are allowed, but
|
||||||
trailing spaces are ignored. This is useful on systems that regularly embed
|
trailing spaces are ignored. This is useful on systems that regularly embed
|
||||||
spaces in file names (like MS-Windows and the Amiga). Example: The command
|
spaces in file names (like MS-Windows). Example: The command ":e Long File
|
||||||
":e Long File Name " will edit the file "Long File Name". When using a
|
Name " will edit the file "Long File Name". When using a command that accepts
|
||||||
command that accepts more than one file name (like ":next file1 file2")
|
more than one file name (like ":next file1 file2") embedded spaces must be
|
||||||
embedded spaces must be escaped with a backslash.
|
escaped with a backslash.
|
||||||
|
|
||||||
*wildcard* *wildcards*
|
*wildcard* *wildcards*
|
||||||
Wildcards in {file} are expanded, but as with file completion, 'wildignore'
|
Wildcards in {file} are expanded, but as with file completion, 'wildignore'
|
||||||
@ -510,10 +510,10 @@ characters will be replaced with <CR><NL> (assuming 'fileformats' includes
|
|||||||
If you start editing a new file and the 'fileformats' option is not empty
|
If you start editing a new file and the 'fileformats' option is not empty
|
||||||
(which is the default), Vim will try to detect whether the lines in the file
|
(which is the default), Vim will try to detect whether the lines in the file
|
||||||
are separated by the specified formats. When set to "unix,dos", Vim will
|
are separated by the specified formats. When set to "unix,dos", Vim will
|
||||||
check for lines with a single <NL> (as used on Unix and Amiga) or by a <CR>
|
check for lines with a single <NL> (as used on Unix) or by a <CR><NL> pair
|
||||||
<NL> pair (MS-DOS). Only when ALL lines end in <CR><NL>, 'fileformat' is set
|
(MS-DOS). Only when ALL lines end in <CR><NL>, 'fileformat' is set to "dos",
|
||||||
to "dos", otherwise it is set to "unix". When 'fileformats' includes "mac",
|
otherwise it is set to "unix". When 'fileformats' includes "mac", and no <NL>
|
||||||
and no <NL> characters are found in the file, 'fileformat' is set to "mac".
|
characters are found in the file, 'fileformat' is set to "mac".
|
||||||
|
|
||||||
If the 'fileformat' option is set to "dos" on non-MS-DOS systems the message
|
If the 'fileformat' option is set to "dos" on non-MS-DOS systems the message
|
||||||
"[dos format]" is shown to remind you that something unusual is happening. On
|
"[dos format]" is shown to remind you that something unusual is happening. On
|
||||||
@ -1031,7 +1031,6 @@ and for MS-DOS or MS-Windows: >
|
|||||||
For Unix a device is detected when the name doesn't refer to a normal file or
|
For Unix a device is detected when the name doesn't refer to a normal file or
|
||||||
a directory. A fifo or named pipe also looks like a device to Vim.
|
a directory. A fifo or named pipe also looks like a device to Vim.
|
||||||
For MS-DOS and MS-Windows the device is detected by its name:
|
For MS-DOS and MS-Windows the device is detected by its name:
|
||||||
AUX
|
|
||||||
CON
|
CON
|
||||||
CLOCK$
|
CLOCK$
|
||||||
NUL
|
NUL
|
||||||
@ -1063,8 +1062,7 @@ The names can be in upper- or lowercase.
|
|||||||
buffers. Use ":qall!" to exit always.
|
buffers. Use ":qall!" to exit always.
|
||||||
|
|
||||||
:cq[uit] Quit always, without writing, and return an error
|
:cq[uit] Quit always, without writing, and return an error
|
||||||
code. See |:cq|. Used for Manx's QuickFix mode (see
|
code. See |:cq|. {not in Vi}
|
||||||
|quickfix|). {not in Vi}
|
|
||||||
|
|
||||||
*:wq*
|
*:wq*
|
||||||
:wq [++opt] Write the current file and quit. Writing fails when
|
:wq [++opt] Write the current file and quit. Writing fails when
|
||||||
@ -1316,11 +1314,10 @@ There are a few things to remember when editing binary files:
|
|||||||
split in two.
|
split in two.
|
||||||
- When there are not many <EOL>s, the lines will become very long. If you
|
- When there are not many <EOL>s, the lines will become very long. If you
|
||||||
want to edit a line that does not fit on the screen reset the 'wrap' option.
|
want to edit a line that does not fit on the screen reset the 'wrap' option.
|
||||||
Horizontal scrolling is used then. If a line becomes too long (more than
|
Horizontal scrolling is used then. If a line becomes too long (see |limits|)
|
||||||
about 32767 characters on the Amiga, much more on 32-bit systems, see
|
you cannot edit that line. The line will be split when reading the file.
|
||||||
|limits|) you cannot edit that line. The line will be split when reading
|
It is also possible that you get an "out of memory" error when reading the
|
||||||
the file. It is also possible that you get an "out of memory" error when
|
file.
|
||||||
reading the file.
|
|
||||||
- Make sure the 'binary' option is set BEFORE loading the
|
- Make sure the 'binary' option is set BEFORE loading the
|
||||||
file. Otherwise both <CR> <NL> and <NL> are considered to end a line
|
file. Otherwise both <CR> <NL> and <NL> are considered to end a line
|
||||||
and when the file is written the <NL> will be replaced with <CR> <NL>.
|
and when the file is written the <NL> will be replaced with <CR> <NL>.
|
||||||
|
@ -6662,9 +6662,7 @@ There are four types of features:
|
|||||||
|
|
||||||
acl Compiled with |ACL| support.
|
acl Compiled with |ACL| support.
|
||||||
all_builtin_terms Compiled with all builtin terminals enabled.
|
all_builtin_terms Compiled with all builtin terminals enabled.
|
||||||
amiga Amiga version of Vim.
|
|
||||||
arabic Compiled with Arabic support |Arabic|.
|
arabic Compiled with Arabic support |Arabic|.
|
||||||
arp Compiled with ARP support (Amiga).
|
|
||||||
autocmd Compiled with autocommand support. |autocommand|
|
autocmd Compiled with autocommand support. |autocommand|
|
||||||
balloon_eval Compiled with |balloon-eval| support.
|
balloon_eval Compiled with |balloon-eval| support.
|
||||||
balloon_multiline GUI supports multiline balloons.
|
balloon_multiline GUI supports multiline balloons.
|
||||||
@ -6703,8 +6701,8 @@ filterpipe When 'shelltemp' is off pipes are used for shell
|
|||||||
find_in_path Compiled with support for include file searches
|
find_in_path Compiled with support for include file searches
|
||||||
|+find_in_path|.
|
|+find_in_path|.
|
||||||
float Compiled with support for |Float|.
|
float Compiled with support for |Float|.
|
||||||
fname_case Case in file names matters (for Amiga, MS-DOS, and
|
fname_case Case in file names matters (for MS-DOS and Windows
|
||||||
Windows this is not present).
|
this is not present).
|
||||||
folding Compiled with |folding| support.
|
folding Compiled with |folding| support.
|
||||||
footer Compiled with GUI footer support. |gui-footer|
|
footer Compiled with GUI footer support. |gui-footer|
|
||||||
fork Compiled to use fork()/exec() instead of system().
|
fork Compiled to use fork()/exec() instead of system().
|
||||||
@ -6803,7 +6801,6 @@ virtualedit Compiled with 'virtualedit' option.
|
|||||||
visual Compiled with Visual mode.
|
visual Compiled with Visual mode.
|
||||||
visualextra Compiled with extra Visual mode commands.
|
visualextra Compiled with extra Visual mode commands.
|
||||||
|blockwise-operators|.
|
|blockwise-operators|.
|
||||||
vms VMS version of Vim.
|
|
||||||
vreplace Compiled with |gR| and |gr| commands.
|
vreplace Compiled with |gR| and |gr| commands.
|
||||||
wildignore Compiled with 'wildignore' option.
|
wildignore Compiled with 'wildignore' option.
|
||||||
wildmenu Compiled with 'wildmenu' option.
|
wildmenu Compiled with 'wildmenu' option.
|
||||||
|
@ -33,11 +33,9 @@ compatible means options are global. Resetting 'compatible' is recommended,
|
|||||||
if you didn't do that already.
|
if you didn't do that already.
|
||||||
|
|
||||||
Detail: The ":filetype on" command will load one of these files:
|
Detail: The ":filetype on" command will load one of these files:
|
||||||
Amiga $VIMRUNTIME/filetype.vim
|
|
||||||
Mac $VIMRUNTIME/filetype.vim
|
Mac $VIMRUNTIME/filetype.vim
|
||||||
MS-DOS $VIMRUNTIME\filetype.vim
|
MS-DOS $VIMRUNTIME\filetype.vim
|
||||||
Unix $VIMRUNTIME/filetype.vim
|
Unix $VIMRUNTIME/filetype.vim
|
||||||
VMS $VIMRUNTIME/filetype.vim
|
|
||||||
This file is a Vim script that defines autocommands for the
|
This file is a Vim script that defines autocommands for the
|
||||||
BufNewFile and BufRead events. If the file type is not found by the
|
BufNewFile and BufRead events. If the file type is not found by the
|
||||||
name, the file $VIMRUNTIME/scripts.vim is used to detect it from the
|
name, the file $VIMRUNTIME/scripts.vim is used to detect it from the
|
||||||
|
@ -94,8 +94,6 @@ Recommended place for your personal GUI initializations:
|
|||||||
Unix $HOME/.gvimrc or $HOME/.vim/gvimrc
|
Unix $HOME/.gvimrc or $HOME/.vim/gvimrc
|
||||||
MS-DOS and Win32 $HOME/_gvimrc, $HOME/vimfiles/gvimrc
|
MS-DOS and Win32 $HOME/_gvimrc, $HOME/vimfiles/gvimrc
|
||||||
or $VIM/_gvimrc
|
or $VIM/_gvimrc
|
||||||
Amiga s:.gvimrc, home:.gvimrc, home:vimfiles:gvimrc
|
|
||||||
or $VIM/.gvimrc
|
|
||||||
|
|
||||||
The personal initialization files are searched in the order specified above
|
The personal initialization files are searched in the order specified above
|
||||||
and only the first one that is found is read.
|
and only the first one that is found is read.
|
||||||
|
@ -466,9 +466,7 @@ notation meaning equivalent decimal value(s) ~
|
|||||||
-----------------------------------------------------------------------
|
-----------------------------------------------------------------------
|
||||||
|
|
||||||
Note: The shifted cursor keys, the help key, and the undo key are only
|
Note: The shifted cursor keys, the help key, and the undo key are only
|
||||||
available on a few terminals. On the Amiga, shifted function key 10 produces
|
available on a few terminals.
|
||||||
a code (CSI) that is also used by key sequences. It will be recognized only
|
|
||||||
after typing another key.
|
|
||||||
|
|
||||||
Note: There are two codes for the delete key. 127 is the decimal ASCII value
|
Note: There are two codes for the delete key. 127 is the decimal ASCII value
|
||||||
for the delete key, which is always recognized. Some delete keys send another
|
for the delete key, which is always recognized. Some delete keys send another
|
||||||
@ -809,12 +807,11 @@ messages before you have a chance to read them}
|
|||||||
Some commands show how many lines were affected. Above which threshold this
|
Some commands show how many lines were affected. Above which threshold this
|
||||||
happens can be controlled with the 'report' option (default 2).
|
happens can be controlled with the 'report' option (default 2).
|
||||||
|
|
||||||
On the Amiga Vim will run in a CLI window. The name Vim and the full name of
|
The name Vim and the full name of the current file name will be shown in the
|
||||||
the current file name will be shown in the title bar. When the window is
|
title bar. When the window is resized, Vim will automatically redraw the
|
||||||
resized, Vim will automatically redraw the window. You may make the window as
|
window. You may make the window as small as you like, but if it gets too
|
||||||
small as you like, but if it gets too small not a single line will fit in it.
|
small not a single line will fit in it. Make it at least 40 characters wide
|
||||||
Make it at least 40 characters wide to be able to read most messages on the
|
to be able to read most messages on the last line.
|
||||||
last line.
|
|
||||||
|
|
||||||
On most Unix systems, resizing the window is recognized and handled correctly
|
On most Unix systems, resizing the window is recognized and handled correctly
|
||||||
by Vim. {Vi: not ok}
|
by Vim. {Vi: not ok}
|
||||||
|
@ -90,8 +90,7 @@ See ":help tag\-commands".
|
|||||||
Start in quickFix mode.
|
Start in quickFix mode.
|
||||||
The file [errorfile] is read and the first error is displayed.
|
The file [errorfile] is read and the first error is displayed.
|
||||||
If [errorfile] is omitted, the filename is obtained from the 'errorfile'
|
If [errorfile] is omitted, the filename is obtained from the 'errorfile'
|
||||||
option (defaults to "AztecC.Err" for the Amiga, "errors.err" on other
|
option (defaults to "errors.err").
|
||||||
systems).
|
|
||||||
Further errors can be jumped to with the ":cn" command.
|
Further errors can be jumped to with the ":cn" command.
|
||||||
See ":help quickfix".
|
See ":help quickfix".
|
||||||
.PP
|
.PP
|
||||||
@ -192,12 +191,6 @@ There should be two, three or four file name arguments.
|
|||||||
will open all the files and show differences between them.
|
will open all the files and show differences between them.
|
||||||
Works like vimdiff(1).
|
Works like vimdiff(1).
|
||||||
.TP
|
.TP
|
||||||
\-d {device}
|
|
||||||
Open {device} for use as a terminal.
|
|
||||||
Only on the Amiga.
|
|
||||||
Example:
|
|
||||||
"\-d con:20/30/600/150".
|
|
||||||
.TP
|
|
||||||
\-D
|
\-D
|
||||||
Debugging. Go to debugging mode when executing the first command from a
|
Debugging. Go to debugging mode when executing the first command from a
|
||||||
script.
|
script.
|
||||||
@ -216,14 +209,10 @@ in improved Ex mode, just like the executable was called "exim".
|
|||||||
Foreground. For the GUI version,
|
Foreground. For the GUI version,
|
||||||
.B Vim
|
.B Vim
|
||||||
will not fork and detach from the shell it was started in.
|
will not fork and detach from the shell it was started in.
|
||||||
On the Amiga,
|
|
||||||
.B Vim
|
|
||||||
is not restarted to open a new window.
|
|
||||||
This option should be used when
|
This option should be used when
|
||||||
.B Vim
|
.B Vim
|
||||||
is executed by a program that will wait for the edit
|
is executed by a program that will wait for the edit
|
||||||
session to finish (e.g. mail).
|
session to finish (e.g. mail).
|
||||||
On the Amiga the ":sh" and ":!" commands will not work.
|
|
||||||
.TP
|
.TP
|
||||||
\-\-nofork
|
\-\-nofork
|
||||||
Foreground. For the GUI version,
|
Foreground. For the GUI version,
|
||||||
|
@ -986,8 +986,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
again not rename the file.
|
again not rename the file.
|
||||||
|
|
||||||
*'backupdir'* *'bdir'*
|
*'backupdir'* *'bdir'*
|
||||||
'backupdir' 'bdir' string (default for Amiga: ".,t:",
|
'backupdir' 'bdir' string (default for MS-DOS and Win32: ".,$TEMP,c:/tmp,c:/temp",
|
||||||
for MS-DOS and Win32: ".,$TEMP,c:/tmp,c:/temp"
|
|
||||||
for Unix: ".,~/tmp,~/")
|
for Unix: ".,~/tmp,~/")
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
@ -1026,7 +1025,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
security reasons.
|
security reasons.
|
||||||
|
|
||||||
*'backupext'* *'bex'* *E589*
|
*'backupext'* *'bex'* *E589*
|
||||||
'backupext' 'bex' string (default "~", for VMS: "_")
|
'backupext' 'bex' string (default "~")
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
String which is appended to a file name to make the name of the
|
String which is appended to a file name to make the name of the
|
||||||
@ -2455,8 +2454,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
NOTE: This option is reset when 'compatible' is set.
|
NOTE: This option is reset when 'compatible' is set.
|
||||||
|
|
||||||
*'directory'* *'dir'*
|
*'directory'* *'dir'*
|
||||||
'directory' 'dir' string (default for Amiga: ".,t:",
|
'directory' 'dir' string (default for MS-DOS and Win32: ".,$TEMP,c:\tmp,c:\temp",
|
||||||
for MS-DOS and Win32: ".,$TEMP,c:\tmp,c:\temp"
|
|
||||||
for Unix: ".,~/tmp,/var/tmp,/tmp")
|
for Unix: ".,~/tmp,/var/tmp,/tmp")
|
||||||
global
|
global
|
||||||
List of directory names for the swap file, separated with commas.
|
List of directory names for the swap file, separated with commas.
|
||||||
@ -2655,8 +2653,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
screen flash or do nothing.
|
screen flash or do nothing.
|
||||||
|
|
||||||
*'errorfile'* *'ef'*
|
*'errorfile'* *'ef'*
|
||||||
'errorfile' 'ef' string (Amiga default: "AztecC.Err",
|
'errorfile' 'ef' string (default: "errors.err")
|
||||||
others: "errors.err")
|
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{not available when compiled without the |+quickfix|
|
{not available when compiled without the |+quickfix|
|
||||||
@ -3313,8 +3310,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
*'grepprg'* *'gp'*
|
*'grepprg'* *'gp'*
|
||||||
'grepprg' 'gp' string (default "grep -n ",
|
'grepprg' 'gp' string (default "grep -n ",
|
||||||
Unix: "grep -n $* /dev/null",
|
Unix: "grep -n $* /dev/null",
|
||||||
Win32: "findstr /n" or "grep -n",
|
Win32: "findstr /n" or "grep -n")
|
||||||
VMS: "SEARCH/NUMBERS ")
|
|
||||||
global or local to buffer |global-local|
|
global or local to buffer |global-local|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
Program to use for the |:grep| command. This option may contain '%'
|
Program to use for the |:grep| command. This option may contain '%'
|
||||||
@ -4263,8 +4259,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
*'isfname'* *'isf'*
|
*'isfname'* *'isf'*
|
||||||
'isfname' 'isf' string (default for MS-DOS and Win32:
|
'isfname' 'isf' string (default for MS-DOS and Win32:
|
||||||
"@,48-57,/,\,.,-,_,+,,,#,$,%,{,},[,],:,@-@,!,~,="
|
"@,48-57,/,\,.,-,_,+,,,#,$,%,{,},[,],:,@-@,!,~,="
|
||||||
for AMIGA: "@,48-57,/,.,-,_,+,,,$,:"
|
|
||||||
for VMS: "@,48-57,/,.,-,_,+,,,#,$,%,<,>,[,],:,;,~"
|
|
||||||
otherwise: "@,48-57,/,.,-,_,+,,,#,$,%,~,=")
|
otherwise: "@,48-57,/,.,-,_,+,,,#,$,%,~,=")
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
@ -4418,8 +4412,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
The 'keymodel' option is set by the |:behave| command.
|
The 'keymodel' option is set by the |:behave| command.
|
||||||
|
|
||||||
*'keywordprg'* *'kp'*
|
*'keywordprg'* *'kp'*
|
||||||
'keywordprg' 'kp' string (default "man" or "man -s", DOS: ":help",
|
'keywordprg' 'kp' string (default "man" or "man -s", DOS: ":help")
|
||||||
VMS: "help")
|
|
||||||
global or local to buffer |global-local|
|
global or local to buffer |global-local|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
Program to use for the |K| command. Environment variables are
|
Program to use for the |K| command. Environment variables are
|
||||||
@ -4713,7 +4706,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
security reasons.
|
security reasons.
|
||||||
|
|
||||||
*'makeprg'* *'mp'*
|
*'makeprg'* *'mp'*
|
||||||
'makeprg' 'mp' string (default "make", VMS: "MMS")
|
'makeprg' 'mp' string (default "make")
|
||||||
global or local to buffer |global-local|
|
global or local to buffer |global-local|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
Program to use for the ":make" command. See |:make_makeprg|.
|
Program to use for the ":make" command. See |:make_makeprg|.
|
||||||
@ -5679,19 +5672,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
$VIMRUNTIME,
|
$VIMRUNTIME,
|
||||||
$VIM/vimfiles/after,
|
$VIM/vimfiles/after,
|
||||||
$HOME/.vim/after"
|
$HOME/.vim/after"
|
||||||
Amiga: "home:vimfiles,
|
|
||||||
$VIM/vimfiles,
|
|
||||||
$VIMRUNTIME,
|
|
||||||
$VIM/vimfiles/after,
|
|
||||||
home:vimfiles/after"
|
|
||||||
Macintosh: "$VIM:vimfiles,
|
Macintosh: "$VIM:vimfiles,
|
||||||
$VIMRUNTIME,
|
$VIMRUNTIME,
|
||||||
$VIM:vimfiles:after"
|
$VIM:vimfiles:after"
|
||||||
VMS: "sys$login:vimfiles,
|
|
||||||
$VIM/vimfiles,
|
|
||||||
$VIMRUNTIME,
|
|
||||||
$VIM/vimfiles/after,
|
|
||||||
sys$login:vimfiles/after")
|
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
This is a list of directories which will be searched for runtime
|
This is a list of directories which will be searched for runtime
|
||||||
@ -5995,8 +5978,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
The name of the temporary file can be represented by "%s" if necessary
|
The name of the temporary file can be represented by "%s" if necessary
|
||||||
(the file name is appended automatically if no %s appears in the value
|
(the file name is appended automatically if no %s appears in the value
|
||||||
of this option).
|
of this option).
|
||||||
For the Amiga and MS-DOS the default is ">". The output is directly
|
For MS-DOS the default is ">". The output is directly saved in a file
|
||||||
saved in a file and not echoed to the screen.
|
and not echoed to the screen.
|
||||||
For Unix the default it "| tee". The stdout of the compiler is saved
|
For Unix the default it "| tee". The stdout of the compiler is saved
|
||||||
in a file and echoed to the screen. If the 'shell' option is "csh" or
|
in a file and echoed to the screen. If the 'shell' option is "csh" or
|
||||||
"tcsh" after initializations, the default becomes "|& tee". If the
|
"tcsh" after initializations, the default becomes "|& tee". If the
|
||||||
@ -7057,11 +7040,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
*'term'* *E529* *E530* *E531*
|
*'term'* *E529* *E530* *E531*
|
||||||
'term' string (default is $TERM, if that fails:
|
'term' string (default is $TERM, if that fails:
|
||||||
in the GUI: "builtin_gui"
|
in the GUI: "builtin_gui"
|
||||||
on Amiga: "amiga"
|
|
||||||
on Mac: "mac-ansi"
|
on Mac: "mac-ansi"
|
||||||
on MS-DOS: "pcterm"
|
on MS-DOS: "pcterm"
|
||||||
on Unix: "ansi"
|
on Unix: "ansi"
|
||||||
on VMS: "ansi"
|
|
||||||
on Win 32: "win32")
|
on Win 32: "win32")
|
||||||
global
|
global
|
||||||
Name of the terminal. Used for choosing the terminal control
|
Name of the terminal. Used for choosing the terminal control
|
||||||
@ -7244,9 +7225,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
(path) is the path of the file being edited
|
(path) is the path of the file being edited
|
||||||
- VIM the server name |v:servername| or "VIM"
|
- VIM the server name |v:servername| or "VIM"
|
||||||
Only works if the terminal supports setting window titles
|
Only works if the terminal supports setting window titles
|
||||||
(currently Amiga console, Win32 console, all GUI versions and
|
(currently Win32 console, all GUI versions and terminals with a non-
|
||||||
terminals with a non- empty 't_ts' option - this is Unix xterm
|
empty 't_ts' option - this is Unix xterm by default, where 't_ts' is
|
||||||
by default, where 't_ts' is taken from the builtin termcap).
|
taken from the builtin termcap).
|
||||||
*X11*
|
*X11*
|
||||||
When Vim was compiled with HAVE_X11 defined, the original title will
|
When Vim was compiled with HAVE_X11 defined, the original title will
|
||||||
be restored if possible. The output of ":version" will include "+X11"
|
be restored if possible. The output of ":version" will include "+X11"
|
||||||
@ -7298,8 +7279,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
When this option is not empty, it will be used for the title of the
|
When this option is not empty, it will be used for the title of the
|
||||||
window. This happens only when the 'title' option is on.
|
window. This happens only when the 'title' option is on.
|
||||||
Only works if the terminal supports setting window titles (currently
|
Only works if the terminal supports setting window titles (currently
|
||||||
Amiga console, Win32 console, all GUI versions and terminals with a
|
Win32 console, all GUI versions and terminals with a non-empty 't_ts'
|
||||||
non-empty 't_ts' option).
|
option).
|
||||||
When Vim was compiled with HAVE_X11 defined, the original title will
|
When Vim was compiled with HAVE_X11 defined, the original title will
|
||||||
be restored if possible |X11|.
|
be restored if possible |X11|.
|
||||||
When this option contains printf-style '%' items, they will be
|
When this option contains printf-style '%' items, they will be
|
||||||
@ -7391,7 +7372,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
'ttymouse' 'ttym' string (default depends on 'term')
|
'ttymouse' 'ttym' string (default depends on 'term')
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only in Unix and VMS, doesn't work in the GUI; not
|
{only in Unix, doesn't work in the GUI; not
|
||||||
available when compiled without |+mouse|}
|
available when compiled without |+mouse|}
|
||||||
Name of the terminal type for which mouse codes are to be recognized.
|
Name of the terminal type for which mouse codes are to be recognized.
|
||||||
Currently these strings are valid:
|
Currently these strings are valid:
|
||||||
@ -7498,8 +7479,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
When 'undofile' is turned off the undo file is NOT deleted.
|
When 'undofile' is turned off the undo file is NOT deleted.
|
||||||
|
|
||||||
*'undolevels'* *'ul'*
|
*'undolevels'* *'ul'*
|
||||||
'undolevels' 'ul' number (default 100, 1000 for Unix, VMS,
|
'undolevels' 'ul' number (default 100, 1000 for Unix and Win32)
|
||||||
and Win32)
|
|
||||||
global or local to buffer |global-local|
|
global or local to buffer |global-local|
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
Maximum number of changes that can be undone. Since undo information
|
Maximum number of changes that can be undone. Since undo information
|
||||||
@ -7594,11 +7574,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
displayed when 'verbosefile' is set.
|
displayed when 'verbosefile' is set.
|
||||||
|
|
||||||
*'viewdir'* *'vdir'*
|
*'viewdir'* *'vdir'*
|
||||||
'viewdir' 'vdir' string (default for Amiga, MS-DOS, and Win32:
|
'viewdir' 'vdir' string (default for MS-DOS and Win32: "$VIM/vimfiles/view",
|
||||||
"$VIM/vimfiles/view",
|
for Unix: "~/.vim/view")
|
||||||
for Unix: "~/.vim/view",
|
|
||||||
for Macintosh: "$VIM:vimfiles:view"
|
|
||||||
for VMS: "sys$login:vimfiles/view")
|
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
{not available when compiled without the |+mksession|
|
{not available when compiled without the |+mksession|
|
||||||
@ -7633,7 +7610,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
*'viminfo'* *'vi'* *E526* *E527* *E528*
|
*'viminfo'* *'vi'* *E526* *E527* *E528*
|
||||||
'viminfo' 'vi' string (Vi default: "", Vim default for MS-DOS,
|
'viminfo' 'vi' string (Vi default: "", Vim default for MS-DOS,
|
||||||
Windows: '100,<50,s10,h,rA:,rB:,
|
Windows: '100,<50,s10,h,rA:,rB:,
|
||||||
for Amiga: '100,<50,s10,h,rdf0:,rdf1:,rdf2:
|
|
||||||
for others: '100,<50,s10,h)
|
for others: '100,<50,s10,h)
|
||||||
global
|
global
|
||||||
{not in Vi}
|
{not in Vi}
|
||||||
@ -7715,10 +7691,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
','). This parameter can be given several times. Each
|
','). This parameter can be given several times. Each
|
||||||
specifies the start of a path for which no marks will be
|
specifies the start of a path for which no marks will be
|
||||||
stored. This is to avoid removable media. For MS-DOS you
|
stored. This is to avoid removable media. For MS-DOS you
|
||||||
could use "ra:,rb:", for Amiga "rdf0:,rdf1:,rdf2:". You can
|
could use "ra:,rb:". You can also use it for temp files,
|
||||||
also use it for temp files, e.g., for Unix: "r/tmp". Case is
|
e.g., for Unix: "r/tmp". Case is ignored. Maximum length of
|
||||||
ignored. Maximum length of each 'r' argument is 50
|
each 'r' argument is 50 characters.
|
||||||
characters.
|
|
||||||
*viminfo-s*
|
*viminfo-s*
|
||||||
s Maximum size of an item in Kbyte. If zero then registers are
|
s Maximum size of an item in Kbyte. If zero then registers are
|
||||||
not saved. Currently only applies to registers. The default
|
not saved. Currently only applies to registers. The default
|
||||||
@ -7786,9 +7761,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
might want to set it again in your |gvimrc|.
|
might want to set it again in your |gvimrc|.
|
||||||
In the GUI, 't_vb' defaults to "<Esc>|f", which inverts the display
|
In the GUI, 't_vb' defaults to "<Esc>|f", which inverts the display
|
||||||
for 20 msec. If you want to use a different time, use "<Esc>|40f",
|
for 20 msec. If you want to use a different time, use "<Esc>|40f",
|
||||||
where 40 is the time in msec.
|
where 40 is the time in msec. Also see 'errorbells'.
|
||||||
Does not work on the Amiga, you always get a screen flash.
|
|
||||||
Also see 'errorbells'.
|
|
||||||
|
|
||||||
*'warn'* *'nowarn'*
|
*'warn'* *'nowarn'*
|
||||||
'warn' boolean (default on)
|
'warn' boolean (default on)
|
||||||
|
@ -9,10 +9,10 @@ This file contains the particularities for the Unix version of Vim.
|
|||||||
|
|
||||||
For compiling Vim on Unix see "INSTALL" and "Makefile" in the src directory.
|
For compiling Vim on Unix see "INSTALL" and "Makefile" in the src directory.
|
||||||
|
|
||||||
The default help file name is "/usr/local/lib/vim/help.txt"
|
The default help file name is "/usr/local/lib/vim/help.txt" The files
|
||||||
The files "$HOME/.vimrc" and "$HOME/.exrc" are used instead of "s:.vimrc" and
|
"$HOME/.vimrc" and "$HOME/.exrc" are used for configuration. Additionally
|
||||||
"s:.exrc". Additionally "/usr/local/etc/vimrc" is used first.
|
"/usr/local/etc/vimrc" is used first. If "/usr/local/share" exists it is used
|
||||||
If "/usr/local/share" exists it is used instead of "/usr/local/lib".
|
instead of "/usr/local/lib".
|
||||||
|
|
||||||
Temporary files (for filtering) are put in "/tmp". If you want to place them
|
Temporary files (for filtering) are put in "/tmp". If you want to place them
|
||||||
somewhere else, set the environment variable $TMPDIR to the directory you
|
somewhere else, set the environment variable $TMPDIR to the directory you
|
||||||
|
@ -95,7 +95,6 @@ If the option is empty, then vim will use the system default printer for
|
|||||||
'printencoding' 'penc' String (default empty, except for:
|
'printencoding' 'penc' String (default empty, except for:
|
||||||
Windows: cp1252,
|
Windows: cp1252,
|
||||||
Macintosh: mac-roman,
|
Macintosh: mac-roman,
|
||||||
VMS: dec-mcs,
|
|
||||||
HPUX: hp-roman8)
|
HPUX: hp-roman8)
|
||||||
global
|
global
|
||||||
Sets the character encoding used when printing. This option tells VIM which
|
Sets the character encoding used when printing. This option tells VIM which
|
||||||
@ -120,9 +119,9 @@ other than latin1 will require VIM to be compiled with the |+iconv| feature.
|
|||||||
If no conversion is possible then printing will fail. Any characters that
|
If no conversion is possible then printing will fail. Any characters that
|
||||||
cannot be converted will be replaced with upside down question marks.
|
cannot be converted will be replaced with upside down question marks.
|
||||||
|
|
||||||
Three print character encoding files are provided to support default Mac, VMS,
|
Two print character encoding files are provided to support default Mac and
|
||||||
and HPUX character encodings and are used by default on these platforms. Code
|
HPUX character encodings and are used by default on these platforms. Code page
|
||||||
page 1252 print character encoding is used by default on the Windows platform.
|
1252 print character encoding is used by default on the Windows platform.
|
||||||
|
|
||||||
*pexpr-option*
|
*pexpr-option*
|
||||||
'printexpr' 'pexpr' String (default: see below)
|
'printexpr' 'pexpr' String (default: see below)
|
||||||
@ -134,8 +133,8 @@ The arguments to the ":hardcopy" command are in |v:cmdarg|.
|
|||||||
The expression must take care of deleting the file after printing it.
|
The expression must take care of deleting the file after printing it.
|
||||||
When there is an error, the expression must return a non-zero number.
|
When there is an error, the expression must return a non-zero number.
|
||||||
If there is no error, return zero or an empty string.
|
If there is no error, return zero or an empty string.
|
||||||
The default for non MS-Windows or VMS systems is to simply use "lpr" to print
|
The default for non MS-Windows systems is to simply use "lpr" to print the
|
||||||
the file: >
|
file: >
|
||||||
|
|
||||||
system('lpr' . (&printdevice == '' ? '' : ' -P' . &printdevice)
|
system('lpr' . (&printdevice == '' ? '' : ' -P' . &printdevice)
|
||||||
. ' ' . v:fname_in) . delete(v:fname_in) + v:shell_error
|
. ' ' . v:fname_in) . delete(v:fname_in) + v:shell_error
|
||||||
@ -147,12 +146,6 @@ currently specified printdevice: >
|
|||||||
? ' LPT1:' : (' \"' . &printdevice . '\"')))
|
? ' LPT1:' : (' \"' . &printdevice . '\"')))
|
||||||
. delete(v:fname_in)
|
. delete(v:fname_in)
|
||||||
|
|
||||||
On VMS machines the default is to send the file to either the default or
|
|
||||||
currently specified printdevice: >
|
|
||||||
|
|
||||||
system('print' . (&printdevice == '' ? '' : ' /queue=' .
|
|
||||||
&printdevice) . ' ' . v:fname_in) . delete(v:fname_in)
|
|
||||||
|
|
||||||
If you change this option, using a function is an easy way to avoid having to
|
If you change this option, using a function is an easy way to avoid having to
|
||||||
escape all the spaces. Example: >
|
escape all the spaces. Example: >
|
||||||
|
|
||||||
@ -613,12 +606,6 @@ X11
|
|||||||
|
|
||||||
http://www.cs.wisc.edu/~ghost/gv/
|
http://www.cs.wisc.edu/~ghost/gv/
|
||||||
|
|
||||||
OpenVMS
|
|
||||||
|
|
||||||
- Is apparently supported in the main code now (untested). See:
|
|
||||||
|
|
||||||
http://wwwthep.physik.uni-mainz.de/~plass/gv/
|
|
||||||
|
|
||||||
Windows
|
Windows
|
||||||
|
|
||||||
- GSview. Obtainable from:
|
- GSview. Obtainable from:
|
||||||
|
@ -35,12 +35,10 @@ positions in files. For example, |:vimgrep| finds pattern matches. You can
|
|||||||
use the positions in a script with the |getqflist()| function. Thus you can
|
use the positions in a script with the |getqflist()| function. Thus you can
|
||||||
do a lot more than the edit/compile/fix cycle!
|
do a lot more than the edit/compile/fix cycle!
|
||||||
|
|
||||||
If you are using Manx's Aztec C compiler on the Amiga look here for how to use
|
You should save your compiler's error messages to a file and start vim with
|
||||||
it with Vim: |quickfix-manx|. If you are using another compiler you should
|
"vim -q filename". An easy way to do this is with the |:make| command (see
|
||||||
save the error messages in a file and start Vim with "vim -q filename". An
|
below). The 'errorformat' option should be set to match the error messages
|
||||||
easy way to do this is with the |:make| command (see below). The
|
from your compiler (see |errorformat| below).
|
||||||
'errorformat' option should be set to match the error messages from your
|
|
||||||
compiler (see |errorformat| below).
|
|
||||||
|
|
||||||
*location-list* *E776*
|
*location-list* *E776*
|
||||||
A location list is similar to a quickfix list and contains a list of positions
|
A location list is similar to a quickfix list and contains a list of positions
|
||||||
@ -501,14 +499,14 @@ or simpler >
|
|||||||
"$*" can be given multiple times, for example: >
|
"$*" can be given multiple times, for example: >
|
||||||
:set makeprg=gcc\ -o\ $*\ $*
|
:set makeprg=gcc\ -o\ $*\ $*
|
||||||
|
|
||||||
The 'shellpipe' option defaults to ">" for the Amiga, MS-DOS and Win32. This
|
The 'shellpipe' option defaults to ">" for MS-DOS and Win32. This means that
|
||||||
means that the output of the compiler is saved in a file and not shown on the
|
the output of the compiler is saved in a file and not shown on the screen
|
||||||
screen directly. For Unix "| tee" is used. The compiler output is shown on
|
directly. For Unix "| tee" is used. The compiler output is shown on the
|
||||||
the screen and saved in a file the same time. Depending on the shell used
|
screen and saved in a file the same time. Depending on the shell used "|&
|
||||||
"|& tee" or "2>&1| tee" is the default, so stderr output will be included.
|
tee" or "2>&1| tee" is the default, so stderr output will be included.
|
||||||
|
|
||||||
If 'shellpipe' is empty, the {errorfile} part will be omitted. This is useful
|
If 'shellpipe' is empty, the {errorfile} part will be omitted. This is useful
|
||||||
for compilers that write to an errorfile themselves (e.g., Manx's Amiga C).
|
for compilers that write to an errorfile themselves.
|
||||||
|
|
||||||
|
|
||||||
Using QuickFixCmdPost to fix the encoding ~
|
Using QuickFixCmdPost to fix the encoding ~
|
||||||
@ -792,31 +790,6 @@ g:compiler_gcc_ignore_unmatched_lines
|
|||||||
positives.
|
positives.
|
||||||
|
|
||||||
|
|
||||||
MANX AZTEC C *quickfix-manx* *compiler-manx*
|
|
||||||
|
|
||||||
To use Vim with Manx's Aztec C compiler on the Amiga you should do the
|
|
||||||
following:
|
|
||||||
- Set the CCEDIT environment variable with the command: >
|
|
||||||
mset "CCEDIT=vim -q"
|
|
||||||
- Compile with the -qf option. If the compiler finds any errors, Vim is
|
|
||||||
started and the cursor is positioned on the first error. The error message
|
|
||||||
will be displayed on the last line. You can go to other errors with the
|
|
||||||
commands mentioned above. You can fix the errors and write the file(s).
|
|
||||||
- If you exit Vim normally the compiler will re-compile the same file. If you
|
|
||||||
exit with the :cq command, the compiler will terminate. Do this if you
|
|
||||||
cannot fix the error, or if another file needs to be compiled first.
|
|
||||||
|
|
||||||
There are some restrictions to the Quickfix mode on the Amiga. The
|
|
||||||
compiler only writes the first 25 errors to the errorfile (Manx's
|
|
||||||
documentation does not say how to get more). If you want to find the others,
|
|
||||||
you will have to fix a few errors and exit the editor. After recompiling,
|
|
||||||
up to 25 remaining errors will be found.
|
|
||||||
|
|
||||||
If Vim was started from the compiler, the :sh and some :! commands will not
|
|
||||||
work, because Vim is then running in the same process as the compiler and
|
|
||||||
stdin (standard input) will not be interactive.
|
|
||||||
|
|
||||||
|
|
||||||
PERL *quickfix-perl* *compiler-perl*
|
PERL *quickfix-perl* *compiler-perl*
|
||||||
|
|
||||||
The Perl compiler plugin doesn't actually compile, but invokes Perl's internal
|
The Perl compiler plugin doesn't actually compile, but invokes Perl's internal
|
||||||
@ -1171,9 +1144,7 @@ If the error format does not contain a file name Vim cannot switch to the
|
|||||||
correct file. You will have to do this by hand.
|
correct file. You will have to do this by hand.
|
||||||
|
|
||||||
|
|
||||||
Examples
|
For example, the format of the output from the Amiga Aztec compiler is:
|
||||||
|
|
||||||
The format of the file from the Amiga Aztec compiler is:
|
|
||||||
|
|
||||||
filename>linenumber:columnnumber:errortype:errornumber:errormessage
|
filename>linenumber:columnnumber:errortype:errornumber:errormessage
|
||||||
|
|
||||||
|
@ -1147,13 +1147,10 @@ Context-sensitive completion on the command-line:
|
|||||||
|-n| -n do not create a swap file
|
|-n| -n do not create a swap file
|
||||||
|-o| -o [num] open [num] windows (default: one for each file)
|
|-o| -o [num] open [num] windows (default: one for each file)
|
||||||
|-f| -f GUI: foreground process, don't fork
|
|-f| -f GUI: foreground process, don't fork
|
||||||
Amiga: do not restart Vim to open a window (for
|
|
||||||
e.g., mail)
|
|
||||||
|-s| -s {scriptin} first read commands from the file {scriptin}
|
|-s| -s {scriptin} first read commands from the file {scriptin}
|
||||||
|-w| -w {scriptout} write typed chars to file {scriptout} (append)
|
|-w| -w {scriptout} write typed chars to file {scriptout} (append)
|
||||||
|-W| -W {scriptout} write typed chars to file {scriptout} (overwrite)
|
|-W| -W {scriptout} write typed chars to file {scriptout} (overwrite)
|
||||||
|-T| -T {terminal} set terminal name
|
|-T| -T {terminal} set terminal name
|
||||||
|-d| -d {device} Amiga: open {device} to be used as a console
|
|
||||||
|-u| -u {vimrc} read inits from {vimrc} instead of other inits
|
|-u| -u {vimrc} read inits from {vimrc} instead of other inits
|
||||||
|-U| -U {gvimrc} idem, for when starting the GUI
|
|-U| -U {gvimrc} idem, for when starting the GUI
|
||||||
|-i| -i {viminfo} read info from {viminfo} instead of other files
|
|-i| -i {viminfo} read info from {viminfo} instead of other files
|
||||||
|
@ -56,14 +56,9 @@ Disadvantages:
|
|||||||
- When you use your home directory, and somebody else tries to edit the same
|
- When you use your home directory, and somebody else tries to edit the same
|
||||||
file, he will not see your swap file and will not get the ATTENTION warning
|
file, he will not see your swap file and will not get the ATTENTION warning
|
||||||
message.
|
message.
|
||||||
On the Amiga you can also use a recoverable ram disk, but there is no 100%
|
|
||||||
guarantee that this works. Putting swap files in a normal ram disk (like RAM:
|
|
||||||
on the Amiga) or in a place that is cleared when rebooting (like /tmp on Unix)
|
|
||||||
makes no sense, you will lose the swap file in a crash.
|
|
||||||
|
|
||||||
If you want to put swap files in a fixed place, put a command resembling the
|
If you want to put swap files in a fixed place, put a command resembling the
|
||||||
following ones in your .vimrc:
|
following ones in your .vimrc:
|
||||||
:set dir=dh2:tmp (for Amiga)
|
|
||||||
:set dir=~/tmp (for Unix)
|
:set dir=~/tmp (for Unix)
|
||||||
:set dir=c:\\tmp (for MS-DOS and Win32)
|
:set dir=c:\\tmp (for MS-DOS and Win32)
|
||||||
This is also very handy when editing files on floppy. Of course you will have
|
This is also very handy when editing files on floppy. Of course you will have
|
||||||
@ -100,8 +95,7 @@ the time with the 'updatetime' option. The time is given in milliseconds.
|
|||||||
After writing to the swap file Vim syncs the file to disk. This takes some
|
After writing to the swap file Vim syncs the file to disk. This takes some
|
||||||
time, especially on busy Unix systems. If you don't want this you can set the
|
time, especially on busy Unix systems. If you don't want this you can set the
|
||||||
'swapsync' option to an empty string. The risk of losing work becomes bigger
|
'swapsync' option to an empty string. The risk of losing work becomes bigger
|
||||||
though. On some non-Unix systems (MS-DOS, Amiga) the swap file won't be
|
though.
|
||||||
written at all.
|
|
||||||
|
|
||||||
If the writing to the swap file is not wanted, it can be switched off by
|
If the writing to the swap file is not wanted, it can be switched off by
|
||||||
setting the 'updatecount' option to 0. The same is done when starting Vim
|
setting the 'updatecount' option to 0. The same is done when starting Vim
|
||||||
|
@ -340,9 +340,6 @@ A spell file might not be available in the current 'encoding'. See
|
|||||||
|spell-mkspell| about how to create a spell file. Converting a spell file
|
|spell-mkspell| about how to create a spell file. Converting a spell file
|
||||||
with "iconv" will NOT work!
|
with "iconv" will NOT work!
|
||||||
|
|
||||||
Note: on VMS ".{enc}.spl" is changed to "_{enc}.spl" to avoid trouble with
|
|
||||||
filenames.
|
|
||||||
|
|
||||||
*spell-sug-file* *E781*
|
*spell-sug-file* *E781*
|
||||||
If there is a file with exactly the same name as the ".spl" file but ending in
|
If there is a file with exactly the same name as the ".spl" file but ending in
|
||||||
".sug", that file will be used for giving better suggestions. It isn't loaded
|
".sug", that file will be used for giving better suggestions. It isn't loaded
|
||||||
|
@ -7,14 +7,13 @@
|
|||||||
Starting Vim *starting*
|
Starting Vim *starting*
|
||||||
|
|
||||||
1. Vim arguments |vim-arguments|
|
1. Vim arguments |vim-arguments|
|
||||||
2. Vim on the Amiga |starting-amiga|
|
2. Running eVim |evim-keys|
|
||||||
3. Running eVim |evim-keys|
|
3. Initialization |initialization|
|
||||||
4. Initialization |initialization|
|
4. $VIM and $VIMRUNTIME |$VIM|
|
||||||
5. $VIM and $VIMRUNTIME |$VIM|
|
5. Suspending |suspend|
|
||||||
6. Suspending |suspend|
|
6. Saving settings |save-settings|
|
||||||
7. Saving settings |save-settings|
|
7. Views and Sessions |views-sessions|
|
||||||
8. Views and Sessions |views-sessions|
|
8. The viminfo file |viminfo-file|
|
||||||
9. The viminfo file |viminfo-file|
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
1. Vim arguments *vim-arguments*
|
1. Vim arguments *vim-arguments*
|
||||||
@ -122,9 +121,6 @@ The option arguments may be given in any order. Single-letter options can be
|
|||||||
combined after one dash. There can be no option arguments after the "--"
|
combined after one dash. There can be no option arguments after the "--"
|
||||||
argument.
|
argument.
|
||||||
|
|
||||||
On VMS all option arguments are assumed to be lowercase, unless preceded with
|
|
||||||
a slash. Thus "-R" means recovery and "-/R" readonly.
|
|
||||||
|
|
||||||
--help *-h* *--help*
|
--help *-h* *--help*
|
||||||
-h Give usage (help) message and exit. {not in Vi}
|
-h Give usage (help) message and exit. {not in Vi}
|
||||||
See |info-message| about capturing the text.
|
See |info-message| about capturing the text.
|
||||||
@ -416,15 +412,6 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
|
|||||||
{not in Vi} {not available when compiled without the |+diff|
|
{not in Vi} {not available when compiled without the |+diff|
|
||||||
feature}
|
feature}
|
||||||
|
|
||||||
-d {device} Only on the Amiga and when not compiled with the |+diff|
|
|
||||||
feature. Works like "-dev".
|
|
||||||
*-dev*
|
|
||||||
-dev {device} Only on the Amiga: The {device} is opened to be used for
|
|
||||||
editing.
|
|
||||||
Normally you would use this to set the window position and
|
|
||||||
size: "-d con:x/y/width/height", e.g.,
|
|
||||||
"-d con:30/10/600/150". But you can also use it to start
|
|
||||||
editing on another device, e.g., AUX:. {not in Vi}
|
|
||||||
*-f*
|
*-f*
|
||||||
-f GUI: Do not disconnect from the program that started Vim.
|
-f GUI: Do not disconnect from the program that started Vim.
|
||||||
'f' stands for "foreground". If omitted, the GUI forks a new
|
'f' stands for "foreground". If omitted, the GUI forks a new
|
||||||
@ -435,11 +422,6 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
|
|||||||
Careful: You can use "-gf" to start the GUI in the foreground,
|
Careful: You can use "-gf" to start the GUI in the foreground,
|
||||||
but "-fg" is used to specify the foreground color. |gui-fork|
|
but "-fg" is used to specify the foreground color. |gui-fork|
|
||||||
|
|
||||||
Amiga: Do not restart Vim to open a new window. This
|
|
||||||
option should be used when Vim is started by a program that
|
|
||||||
will wait for the edit session to finish (e.g., mail or
|
|
||||||
readnews). See |amiga-window|.
|
|
||||||
|
|
||||||
MS-Windows: This option is not supported. However, when
|
MS-Windows: This option is not supported. However, when
|
||||||
running Vim with an installed vim.bat or gvim.bat file it
|
running Vim with an installed vim.bat or gvim.bat file it
|
||||||
works.
|
works.
|
||||||
@ -488,8 +470,8 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
|
|||||||
avoids a long startup time when running Vim in a terminal
|
avoids a long startup time when running Vim in a terminal
|
||||||
emulator and the connection to the X server is slow.
|
emulator and the connection to the X server is slow.
|
||||||
See |--startuptime| to find out if affects you.
|
See |--startuptime| to find out if affects you.
|
||||||
Only makes a difference on Unix or VMS, when compiled with the
|
Only makes a difference on Unix when compiled with the |+X11|
|
||||||
|+X11| feature. Otherwise it's ignored.
|
feature. Otherwise it's ignored.
|
||||||
To disable the connection only for specific terminals, see the
|
To disable the connection only for specific terminals, see the
|
||||||
'clipboard' option.
|
'clipboard' option.
|
||||||
When the X11 Session Management Protocol (XSMP) handler has
|
When the X11 Session Management Protocol (XSMP) handler has
|
||||||
@ -606,57 +588,7 @@ Additional arguments are available on unix like systems when compiled with
|
|||||||
X11 GUI support. See |gui-resources|.
|
X11 GUI support. See |gui-resources|.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
2. Vim on the Amiga *starting-amiga*
|
2. Running eVim *evim-keys*
|
||||||
|
|
||||||
Starting Vim from the Workbench *workbench*
|
|
||||||
-------------------------------
|
|
||||||
|
|
||||||
Vim can be started from the Workbench by clicking on its icon twice. It will
|
|
||||||
then start with an empty buffer.
|
|
||||||
|
|
||||||
Vim can be started to edit one or more files by using a "Project" icon. The
|
|
||||||
"Default Tool" of the icon must be the full pathname of the Vim executable.
|
|
||||||
The name of the ".info" file must be the same as the name of the text file.
|
|
||||||
By clicking on this icon twice, Vim will be started with the file name as
|
|
||||||
current file name, which will be read into the buffer (if it exists). You can
|
|
||||||
edit multiple files by pressing the shift key while clicking on icons, and
|
|
||||||
clicking twice on the last one. The "Default Tool" for all these icons must
|
|
||||||
be the same.
|
|
||||||
|
|
||||||
It is not possible to give arguments to Vim, other than file names, from the
|
|
||||||
workbench.
|
|
||||||
|
|
||||||
Vim window *amiga-window*
|
|
||||||
----------
|
|
||||||
|
|
||||||
Vim will run in the CLI window where it was started. If Vim was started with
|
|
||||||
the "run" or "runback" command, or if Vim was started from the workbench, it
|
|
||||||
will open a window of its own.
|
|
||||||
|
|
||||||
Technical detail:
|
|
||||||
To open the new window a little trick is used. As soon as Vim
|
|
||||||
recognizes that it does not run in a normal CLI window, it will
|
|
||||||
create a script file in "t:". This script file contains the same
|
|
||||||
command as the one Vim was started with, and an "endcli" command.
|
|
||||||
This script file is then executed with a "newcli" command (the "c:run"
|
|
||||||
and "c:newcli" commands are required for this to work). The script
|
|
||||||
file will hang around until reboot, or until you delete it. This
|
|
||||||
method is required to get the ":sh" and ":!" commands to work
|
|
||||||
correctly. But when Vim was started with the -f option (foreground
|
|
||||||
mode), this method is not used. The reason for this is that
|
|
||||||
when a program starts Vim with the -f option it will wait for Vim to
|
|
||||||
exit. With the script trick, the calling program does not know when
|
|
||||||
Vim exits. The -f option can be used when Vim is started by a mail
|
|
||||||
program which also waits for the edit session to finish. As a
|
|
||||||
consequence, the ":sh" and ":!" commands are not available when the
|
|
||||||
-f option is used.
|
|
||||||
|
|
||||||
Vim will automatically recognize the window size and react to window
|
|
||||||
resizing. Under Amiga DOS 1.3, it is advised to use the fastfonts program,
|
|
||||||
"FF", to speed up display redrawing.
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
3. Running eVim *evim-keys*
|
|
||||||
|
|
||||||
EVim runs Vim as click-and-type editor. This is very unlike the original Vi
|
EVim runs Vim as click-and-type editor. This is very unlike the original Vi
|
||||||
idea. But it helps for people that don't use Vim often enough to learn the
|
idea. But it helps for people that don't use Vim often enough to learn the
|
||||||
@ -668,7 +600,7 @@ In Evim these options are changed from their default value:
|
|||||||
:set nocompatible Use Vim improvements
|
:set nocompatible Use Vim improvements
|
||||||
:set insertmode Remain in Insert mode most of the time
|
:set insertmode Remain in Insert mode most of the time
|
||||||
:set hidden Keep invisible buffers loaded
|
:set hidden Keep invisible buffers loaded
|
||||||
:set backup Keep backup files (not for VMS)
|
:set backup Keep backup files
|
||||||
:set backspace=2 Backspace over everything
|
:set backspace=2 Backspace over everything
|
||||||
:set autoindent auto-indent new lines
|
:set autoindent auto-indent new lines
|
||||||
:set history=50 keep 50 lines of Ex commands
|
:set history=50 keep 50 lines of Ex commands
|
||||||
@ -708,7 +640,7 @@ One hint: If you want to go to Normal mode to be able to type a sequence of
|
|||||||
commands, use CTRL-L. |i_CTRL-L|
|
commands, use CTRL-L. |i_CTRL-L|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
4. Initialization *initialization* *startup*
|
3. Initialization *initialization* *startup*
|
||||||
|
|
||||||
This section is about the non-GUI version of Vim. See |gui-fork| for
|
This section is about the non-GUI version of Vim. See |gui-fork| for
|
||||||
additional initialization when starting the GUI.
|
additional initialization when starting the GUI.
|
||||||
@ -744,8 +676,6 @@ accordingly. Vim proceeds in this order:
|
|||||||
Unix $HOME/.vimrc or $HOME/.vim/vimrc
|
Unix $HOME/.vimrc or $HOME/.vim/vimrc
|
||||||
MS-Windows $HOME/_vimrc, $HOME/vimfiles/vimrc
|
MS-Windows $HOME/_vimrc, $HOME/vimfiles/vimrc
|
||||||
or $VIM/_vimrc
|
or $VIM/_vimrc
|
||||||
Amiga s:.vimrc, home:.vimrc, home:vimfiles:vimrc
|
|
||||||
or $VIM/.vimrc
|
|
||||||
|
|
||||||
The files are searched in the order specified above and only the first
|
The files are searched in the order specified above and only the first
|
||||||
one that is found is read.
|
one that is found is read.
|
||||||
@ -767,9 +697,9 @@ accordingly. Vim proceeds in this order:
|
|||||||
a. If vim was started as |evim| or |eview| or with the |-y| argument, the
|
a. If vim was started as |evim| or |eview| or with the |-y| argument, the
|
||||||
script $VIMRUNTIME/evim.vim will be loaded.
|
script $VIMRUNTIME/evim.vim will be loaded.
|
||||||
*system-vimrc*
|
*system-vimrc*
|
||||||
b. For Unix, MS-DOS, MS-Windows, VMS, Macintosh, and Amiga,
|
b. For Unix, MS-DOS, MS-Windows, and Macintosh, the system vimrc file is
|
||||||
the system vimrc file is read for initializations. The path of this
|
read for initializations. The path of this file is shown with the
|
||||||
file is shown with the ":version" command. Mostly it's "$VIM/vimrc".
|
":version" command. Mostly it's "$VIM/vimrc".
|
||||||
Note that this file is ALWAYS read in 'compatible' mode, since the
|
Note that this file is ALWAYS read in 'compatible' mode, since the
|
||||||
automatic resetting of 'compatible' is only done later. Add a ":set
|
automatic resetting of 'compatible' is only done later. Add a ":set
|
||||||
nocp" command if you like.
|
nocp" command if you like.
|
||||||
@ -785,14 +715,10 @@ accordingly. Vim proceeds in this order:
|
|||||||
- The user vimrc file(s):
|
- The user vimrc file(s):
|
||||||
"$HOME/.vimrc" (for Unix) (*)
|
"$HOME/.vimrc" (for Unix) (*)
|
||||||
"$HOME/.vim/vimrc" (for Unix) (*)
|
"$HOME/.vim/vimrc" (for Unix) (*)
|
||||||
"s:.vimrc" (for Amiga) (*)
|
|
||||||
"home:.vimrc" (for Amiga) (*)
|
|
||||||
"home:vimfiles:vimrc" (for Amiga) (*)
|
|
||||||
"$VIM/.vimrc" (for Amiga) (*)
|
|
||||||
"$HOME/_vimrc" (for MS-DOS and Win32) (*)
|
"$HOME/_vimrc" (for MS-DOS and Win32) (*)
|
||||||
"$HOME/vimfiles/vimrc" (for MS-DOS and Win32) (*)
|
"$HOME/vimfiles/vimrc" (for MS-DOS and Win32) (*)
|
||||||
"$VIM/_vimrc" (for MS-DOS and Win32) (*)
|
"$VIM/_vimrc" (for MS-DOS and Win32) (*)
|
||||||
Note: For Unix and Amiga, when ".vimrc" does not exist,
|
Note: For Unix, when ".vimrc" does not exist,
|
||||||
"_vimrc" is also tried, in case an MS-DOS compatible file
|
"_vimrc" is also tried, in case an MS-DOS compatible file
|
||||||
system is used. For MS-DOS and Win32 ".vimrc" is checked
|
system is used. For MS-DOS and Win32 ".vimrc" is checked
|
||||||
after "_vimrc", in case long file names are used.
|
after "_vimrc", in case long file names are used.
|
||||||
@ -808,11 +734,11 @@ accordingly. Vim proceeds in this order:
|
|||||||
d. If the 'exrc' option is on (which is not the default), the current
|
d. If the 'exrc' option is on (which is not the default), the current
|
||||||
directory is searched for three files. The first that exists is used,
|
directory is searched for three files. The first that exists is used,
|
||||||
the others are ignored.
|
the others are ignored.
|
||||||
- The file ".vimrc" (for Unix and Amiga) (*)
|
- The file ".vimrc" (for Unix) (*)
|
||||||
"_vimrc" (for MS-DOS and Win32) (*)
|
"_vimrc" (for MS-DOS and Win32) (*)
|
||||||
- The file "_vimrc" (for Unix and Amiga) (*)
|
- The file "_vimrc" (for Unix) (*)
|
||||||
".vimrc" (for MS-DOS and Win32) (*)
|
".vimrc" (for MS-DOS and Win32) (*)
|
||||||
- The file ".exrc" (for Unix and Amiga)
|
- The file ".exrc" (for Unix)
|
||||||
"_exrc" (for MS-DOS and Win32)
|
"_exrc" (for MS-DOS and Win32)
|
||||||
|
|
||||||
(*) Using this file or environment variable will cause 'compatible' to be
|
(*) Using this file or environment variable will cause 'compatible' to be
|
||||||
@ -880,7 +806,6 @@ Standard setup:
|
|||||||
Create a vimrc file to set the default settings and mappings for all your edit
|
Create a vimrc file to set the default settings and mappings for all your edit
|
||||||
sessions. Put it in a place so that it will be found by 3b:
|
sessions. Put it in a place so that it will be found by 3b:
|
||||||
~/.vimrc (Unix)
|
~/.vimrc (Unix)
|
||||||
s:.vimrc (Amiga)
|
|
||||||
$VIM\_vimrc (MS-DOS and Win32)
|
$VIM\_vimrc (MS-DOS and Win32)
|
||||||
Note that creating a vimrc file will cause the 'compatible' option to be off
|
Note that creating a vimrc file will cause the 'compatible' option to be off
|
||||||
by default. See |compatible-default|.
|
by default. See |compatible-default|.
|
||||||
@ -906,12 +831,6 @@ Avoiding setup problems for Vi users:
|
|||||||
Vi uses the variable EXINIT and the file "~/.exrc". So if you do not want to
|
Vi uses the variable EXINIT and the file "~/.exrc". So if you do not want to
|
||||||
interfere with Vi, then use the variable VIMINIT and the file "vimrc" instead.
|
interfere with Vi, then use the variable VIMINIT and the file "vimrc" instead.
|
||||||
|
|
||||||
Amiga environment variables:
|
|
||||||
On the Amiga, two types of environment variables exist. The ones set with the
|
|
||||||
DOS 1.3 (or later) setenv command are recognized. See the AmigaDos 1.3
|
|
||||||
manual. The environment variables set with the old Manx Set command (before
|
|
||||||
version 5.0) are not recognized.
|
|
||||||
|
|
||||||
MS-DOS line separators:
|
MS-DOS line separators:
|
||||||
On MS-DOS-like systems (MS-DOS itself and Win32), Vim assumes that all
|
On MS-DOS-like systems (MS-DOS itself and Win32), Vim assumes that all
|
||||||
the vimrc files have <CR> <NL> pairs as line separators. This will give
|
the vimrc files have <CR> <NL> pairs as line separators. This will give
|
||||||
@ -1016,7 +935,7 @@ This still won't work for systems where gvim does not use stdout at all
|
|||||||
though.
|
though.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
5. $VIM and $VIMRUNTIME
|
4. $VIM and $VIMRUNTIME
|
||||||
*$VIM*
|
*$VIM*
|
||||||
The environment variable "$VIM" is used to locate various user files for Vim,
|
The environment variable "$VIM" is used to locate various user files for Vim,
|
||||||
such as the user startup script ".vimrc". This depends on the system, see
|
such as the user startup script ".vimrc". This depends on the system, see
|
||||||
@ -1078,7 +997,7 @@ greps in the help files) you might be able to use this: >
|
|||||||
VIMRUNTIME=`vim -e -T dumb --cmd 'exe "set t_cm=\<C-M>"|echo $VIMRUNTIME|quit' | tr -d '\015' `
|
VIMRUNTIME=`vim -e -T dumb --cmd 'exe "set t_cm=\<C-M>"|echo $VIMRUNTIME|quit' | tr -d '\015' `
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
6. Suspending *suspend*
|
5. Suspending *suspend*
|
||||||
|
|
||||||
*iconize* *iconise* *CTRL-Z* *v_CTRL-Z*
|
*iconize* *iconise* *CTRL-Z* *v_CTRL-Z*
|
||||||
CTRL-Z Suspend Vim, like ":stop".
|
CTRL-Z Suspend Vim, like ":stop".
|
||||||
@ -1111,7 +1030,7 @@ can't paste it in another application (since Vim is going to sleep an attempt
|
|||||||
to get the selection would make the program hang).
|
to get the selection would make the program hang).
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
7. Saving settings *save-settings*
|
6. Saving settings *save-settings*
|
||||||
|
|
||||||
Mostly you will edit your vimrc files manually. This gives you the greatest
|
Mostly you will edit your vimrc files manually. This gives you the greatest
|
||||||
flexibility. There are a few commands to generate a vimrc file automatically.
|
flexibility. There are a few commands to generate a vimrc file automatically.
|
||||||
@ -1152,7 +1071,7 @@ with ":map" and ":set" commands and write the modified file. First read the
|
|||||||
default ".vimrc" in with a command like ":source ~piet/.vimrc.Cprogs", change
|
default ".vimrc" in with a command like ":source ~piet/.vimrc.Cprogs", change
|
||||||
the settings and then save them in the current directory with ":mkvimrc!". If
|
the settings and then save them in the current directory with ":mkvimrc!". If
|
||||||
you want to make this file your default .vimrc, move it to your home directory
|
you want to make this file your default .vimrc, move it to your home directory
|
||||||
(on Unix), s: (Amiga) or $VIM directory (MS-DOS). You could also use
|
(on Unix) or $VIM directory (MS-DOS). You could also use
|
||||||
autocommands |autocommand| and/or modelines |modeline|.
|
autocommands |autocommand| and/or modelines |modeline|.
|
||||||
|
|
||||||
*vimrc-option-example*
|
*vimrc-option-example*
|
||||||
@ -1173,7 +1092,7 @@ option, which has several side effects. See |'compatible'|.
|
|||||||
'compatible' option to the output file first, because of these side effects.
|
'compatible' option to the output file first, because of these side effects.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
8. Views and Sessions *views-sessions*
|
7. Views and Sessions *views-sessions*
|
||||||
|
|
||||||
This is introduced in sections |21.4| and |21.5| of the user manual.
|
This is introduced in sections |21.4| and |21.5| of the user manual.
|
||||||
|
|
||||||
@ -1320,7 +1239,7 @@ To automatically save and restore views for *.c files: >
|
|||||||
au BufWinEnter *.c silent loadview
|
au BufWinEnter *.c silent loadview
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
9. The viminfo file *viminfo* *viminfo-file* *E136*
|
8. The viminfo file *viminfo* *viminfo-file* *E136*
|
||||||
*E575* *E576* *E577*
|
*E575* *E576* *E577*
|
||||||
If you exit Vim and later start it again, you would normally lose a lot of
|
If you exit Vim and later start it again, you would normally lose a lot of
|
||||||
information. The viminfo file can be used to remember that information, which
|
information. The viminfo file can be used to remember that information, which
|
||||||
@ -1387,7 +1306,7 @@ stored, but the '"' mark is. The '"' mark is very useful for jumping to the
|
|||||||
cursor position when the file was last exited. No marks are saved for files
|
cursor position when the file was last exited. No marks are saved for files
|
||||||
that start with any string given with the "r" flag in 'viminfo'. This can be
|
that start with any string given with the "r" flag in 'viminfo'. This can be
|
||||||
used to avoid saving marks for files on removable media (for MS-DOS you would
|
used to avoid saving marks for files on removable media (for MS-DOS you would
|
||||||
use "ra:,rb:", for Amiga "rdf0:,rdf1:,rdf2:").
|
use "ra:,rb:".
|
||||||
The |v:oldfiles| variable is filled with the file names that the viminfo file
|
The |v:oldfiles| variable is filled with the file names that the viminfo file
|
||||||
has marks for.
|
has marks for.
|
||||||
|
|
||||||
@ -1419,9 +1338,9 @@ remembered.
|
|||||||
VIMINFO FILE NAME *viminfo-file-name*
|
VIMINFO FILE NAME *viminfo-file-name*
|
||||||
|
|
||||||
- The default name of the viminfo file is "$HOME/.viminfo" for Unix,
|
- The default name of the viminfo file is "$HOME/.viminfo" for Unix,
|
||||||
"s:.viminfo" for Amiga, "$HOME\_viminfo" for MS-DOS and Win32. For the last
|
"$HOME\_viminfo" for MS-DOS and Win32. For the last two, when $HOME is not
|
||||||
two, when $HOME is not set, "$VIM\_viminfo" is used. When $VIM is also not
|
set, "$VIM\_viminfo" is used. When $VIM is also not set, "c:\_viminfo" is
|
||||||
set, "c:\_viminfo" is used.
|
used.
|
||||||
- The 'n' flag in the 'viminfo' option can be used to specify another viminfo
|
- The 'n' flag in the 'viminfo' option can be used to specify another viminfo
|
||||||
file name |'viminfo'|.
|
file name |'viminfo'|.
|
||||||
- The "-i" Vim argument can be used to set another file name, |-i|. When the
|
- The "-i" Vim argument can be used to set another file name, |-i|. When the
|
||||||
|
@ -24,9 +24,9 @@ NOTE: Most of this is not used when running the |GUI|.
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
1. Startup *startup-terminal*
|
1. Startup *startup-terminal*
|
||||||
|
|
||||||
When Vim is started a default terminal type is assumed. For the Amiga this is
|
When Vim is started a default terminal type is assumed. for MS-DOS this is
|
||||||
a standard CLI window, for MS-DOS the pc terminal, for Unix an ansi terminal.
|
the pc terminal, for Unix an ansi terminal. A few other terminal types are
|
||||||
A few other terminal types are always available, see below |builtin-terms|.
|
always available, see below |builtin-terms|.
|
||||||
|
|
||||||
You can give the terminal name with the '-T' Vim argument. If it is not given
|
You can give the terminal name with the '-T' Vim argument. If it is not given
|
||||||
Vim will try to get the name from the TERM environment variable.
|
Vim will try to get the name from the TERM environment variable.
|
||||||
@ -84,10 +84,7 @@ defined with 't_ti' and 't_ks' will be sent to the terminal. Normally this
|
|||||||
puts the terminal in a state where the termcap codes are valid and activates
|
puts the terminal in a state where the termcap codes are valid and activates
|
||||||
the cursor and function keys. When Vim exits the terminal will be put back
|
the cursor and function keys. When Vim exits the terminal will be put back
|
||||||
into the mode it was before Vim started. The strings defined with 't_te' and
|
into the mode it was before Vim started. The strings defined with 't_te' and
|
||||||
't_ke' will be sent to the terminal. On the Amiga, with commands that execute
|
't_ke' will be sent to the terminal.
|
||||||
an external command (e.g., "!!"), the terminal will be put into Normal mode
|
|
||||||
for a moment. This means that you can stop the output to the screen by
|
|
||||||
hitting a printing key. Output resumes when you hit <BS>.
|
|
||||||
|
|
||||||
*cs7-problem*
|
*cs7-problem*
|
||||||
Note: If the terminal settings are changed after running Vim, you might have
|
Note: If the terminal settings are changed after running Vim, you might have
|
||||||
@ -100,17 +97,6 @@ cursor keys send codes different from the codes defined in the termcap. To
|
|||||||
avoid this you can set 't_ks' (and 't_ke') to empty strings. This must be
|
avoid this you can set 't_ks' (and 't_ke') to empty strings. This must be
|
||||||
done during initialization (see |initialization|), otherwise it's too late.
|
done during initialization (see |initialization|), otherwise it's too late.
|
||||||
|
|
||||||
Some termcap entries assume that the highest bit is always reset. For
|
|
||||||
example: The cursor-up entry for the Amiga could be ":ku=\E[A:". But the
|
|
||||||
Amiga really sends "\233A". This works fine if the highest bit is reset,
|
|
||||||
e.g., when using an Amiga over a serial line. If the cursor keys don't work,
|
|
||||||
try the entry ":ku=\233A:".
|
|
||||||
|
|
||||||
Some termcap entries have the entry ":ku=\E[A:". But the Amiga really sends
|
|
||||||
"\233A". On output "\E[" and "\233" are often equivalent, on input they
|
|
||||||
aren't. You will have to change the termcap entry, or change the key code with
|
|
||||||
the :set command to fix this.
|
|
||||||
|
|
||||||
Many cursor key codes start with an <Esc>. Vim must find out if this is a
|
Many cursor key codes start with an <Esc>. Vim must find out if this is a
|
||||||
single hit of the <Esc> key or the start of a cursor key sequence. It waits
|
single hit of the <Esc> key or the start of a cursor key sequence. It waits
|
||||||
for a next character to arrive. If it does not arrive within one second a
|
for a next character to arrive. If it does not arrive within one second a
|
||||||
@ -121,9 +107,6 @@ you want to enter a single <Esc> you must type it twice. Resetting the
|
|||||||
'esckeys' option avoids this problem in Insert mode, but you lose the
|
'esckeys' option avoids this problem in Insert mode, but you lose the
|
||||||
possibility to use cursor and function keys in Insert mode.
|
possibility to use cursor and function keys in Insert mode.
|
||||||
|
|
||||||
On the Amiga the recognition of window resizing is activated only when the
|
|
||||||
terminal name is "amiga" or "builtin_amiga".
|
|
||||||
|
|
||||||
Some terminals have confusing codes for the cursor keys. The televideo 925 is
|
Some terminals have confusing codes for the cursor keys. The televideo 925 is
|
||||||
such a terminal. It sends a CTRL-H for cursor-left. This would make it
|
such a terminal. It sends a CTRL-H for cursor-left. This would make it
|
||||||
impossible to distinguish a backspace and cursor-left. To avoid this problem
|
impossible to distinguish a backspace and cursor-left. To avoid this problem
|
||||||
@ -516,9 +499,7 @@ closes the window. On other systems you can probably use them.)
|
|||||||
[This is about the size of the whole window Vim is using, not a window that is
|
[This is about the size of the whole window Vim is using, not a window that is
|
||||||
created with the ":split" command.]
|
created with the ":split" command.]
|
||||||
|
|
||||||
If you are running Vim on an Amiga and the terminal name is "amiga" or
|
On Unix systems, three methods are tried to get the window size:
|
||||||
"builtin_amiga", the amiga-specific window resizing will be enabled. On Unix
|
|
||||||
systems three methods are tried to get the window size:
|
|
||||||
|
|
||||||
- an ioctl call (TIOCGSIZE or TIOCGWINSZ, depends on your system)
|
- an ioctl call (TIOCGSIZE or TIOCGWINSZ, depends on your system)
|
||||||
- the environment variables "LINES" and "COLUMNS"
|
- the environment variables "LINES" and "COLUMNS"
|
||||||
|
@ -204,9 +204,6 @@ Patch to support expression argument to sort() instead of a function name.
|
|||||||
Yasuhiro Matsumoto, 2013 May 31.
|
Yasuhiro Matsumoto, 2013 May 31.
|
||||||
Or should we add a more general mechanism, like lambda functions?
|
Or should we add a more general mechanism, like lambda functions?
|
||||||
|
|
||||||
VMS: Select() doesn't work properly, typing ESC may hang Vim. Use sys$qiow
|
|
||||||
instead. (Samuel Ferencik, 2013 Sep 28)
|
|
||||||
|
|
||||||
Patch for XDG base directory support. (Jean François Bignolles, 2014 Mar 4)
|
Patch for XDG base directory support. (Jean François Bignolles, 2014 Mar 4)
|
||||||
Remark on the docs. Should not be a compile time feature. But then what?
|
Remark on the docs. Should not be a compile time feature. But then what?
|
||||||
|
|
||||||
@ -1380,11 +1377,6 @@ character typed. (Tyler Spivey, 2008 Sep 3) Only redraw cmdline for
|
|||||||
Cheng Fang made javacomplete. (2007 Aug 11)
|
Cheng Fang made javacomplete. (2007 Aug 11)
|
||||||
Asked about latest version: 0.77.1 is on www.vim.org.
|
Asked about latest version: 0.77.1 is on www.vim.org.
|
||||||
|
|
||||||
More AmigaOS4 patches. (Peter Bengtsson, Nov 9)
|
|
||||||
|
|
||||||
Amiga patches with vbcc. (Adrien Destugues, 2010 Aug 30)
|
|
||||||
http://pulkomandy.ath.cx/drop/vim73_vbcc_amiga.diff
|
|
||||||
|
|
||||||
Insert mode completion: When editing the text and pressing CTRL-N again goes
|
Insert mode completion: When editing the text and pressing CTRL-N again goes
|
||||||
back to originally completed text, edited text is gone. (Peng Yu, 2008 Jul 24)
|
back to originally completed text, edited text is gone. (Peng Yu, 2008 Jul 24)
|
||||||
Suggestion by Ben Schmidt, 2008 Aug 6.
|
Suggestion by Ben Schmidt, 2008 Aug 6.
|
||||||
@ -1587,12 +1579,6 @@ The buffer has the full path in ffname, should pass this to the autocommand.
|
|||||||
"vim -C" often has 'nocompatible', because it's set in some startup script.
|
"vim -C" often has 'nocompatible', because it's set in some startup script.
|
||||||
Set 'compatible' after startup is done? Patch by James Vega, 2008 Feb 7.
|
Set 'compatible' after startup is done? Patch by James Vega, 2008 Feb 7.
|
||||||
|
|
||||||
VMS: while editing a file found in complex, Vim will save file into the first
|
|
||||||
directory of the path and not to the original location of the file.
|
|
||||||
(Zoltan Arpadffy)
|
|
||||||
|
|
||||||
VMS: VFC files are in some cases truncated during reading (Zoltan Arpadffy)
|
|
||||||
|
|
||||||
input() completion should not insert a backslash to escape a space in a file
|
input() completion should not insert a backslash to escape a space in a file
|
||||||
name?
|
name?
|
||||||
|
|
||||||
@ -2247,11 +2233,9 @@ GUI:
|
|||||||
Need better separation of Vim core and GUI code.
|
Need better separation of Vim core and GUI code.
|
||||||
8 When fontset support is enabled, setting 'guifont' to a single font
|
8 When fontset support is enabled, setting 'guifont' to a single font
|
||||||
doesn't work.
|
doesn't work.
|
||||||
8 Menu priority for sub-menus for: Amiga.
|
|
||||||
8 When translating menus ignore the part after the Tab, the shortcut. So
|
8 When translating menus ignore the part after the Tab, the shortcut. So
|
||||||
that the same menu item with a different shortcut (e.g., for the Mac) are
|
that the same menu item with a different shortcut (e.g., for the Mac) are
|
||||||
still translated.
|
still translated.
|
||||||
8 Add menu separators for Amiga.
|
|
||||||
8 Add way to specify the file filter for the browse dialog. At least for
|
8 Add way to specify the file filter for the browse dialog. At least for
|
||||||
browse().
|
browse().
|
||||||
8 Add dialog for search/replace to other GUIs? Tk has something for this,
|
8 Add dialog for search/replace to other GUIs? Tk has something for this,
|
||||||
@ -2360,15 +2344,6 @@ Win32 console:
|
|||||||
exiting.
|
exiting.
|
||||||
|
|
||||||
|
|
||||||
Amiga:
|
|
||||||
8 In mch_inchar() should use convert_input_safe() to handle incomplete byte
|
|
||||||
sequences.
|
|
||||||
9 In mch_expandpath() a "*" is to be expanded, but "\*" isn't. Remove
|
|
||||||
backslashes in result.
|
|
||||||
8 Executing a shell, only one option for 'shell' is separated. Should do
|
|
||||||
all options, using white space separation.
|
|
||||||
|
|
||||||
|
|
||||||
Macintosh:
|
Macintosh:
|
||||||
- GUI: gui_mch_browsedir() is missing.
|
- GUI: gui_mch_browsedir() is missing.
|
||||||
7 Loading the Perl library only works on OS/X 10.2 or 10.3, never on both.
|
7 Loading the Perl library only works on OS/X 10.2 or 10.3, never on both.
|
||||||
@ -2685,9 +2660,6 @@ Problems that will (probably) not be solved:
|
|||||||
- In zsh, "gvim&" changes the terminal settings. This is a zsh problem.
|
- In zsh, "gvim&" changes the terminal settings. This is a zsh problem.
|
||||||
(Jennings)
|
(Jennings)
|
||||||
- Problem with HPterm under X: old contents of window is lost (Cosentino).
|
- Problem with HPterm under X: old contents of window is lost (Cosentino).
|
||||||
- Amiga: When using quickfix with the Manx compiler we only get the first 25
|
|
||||||
errors. How do we get the rest?
|
|
||||||
- Amiga: The ":cq" command does not always abort the Manx compiler. Why?
|
|
||||||
- Linux: A file with protection r--rw-rw- is seen readonly for others. The
|
- Linux: A file with protection r--rw-rw- is seen readonly for others. The
|
||||||
access() function in GNU libc is probably wrong.
|
access() function in GNU libc is probably wrong.
|
||||||
- MSDOS: When using smartdrive with write-back buffering, writing to a
|
- MSDOS: When using smartdrive with write-back buffering, writing to a
|
||||||
@ -2726,8 +2698,6 @@ Problems that will (probably) not be solved:
|
|||||||
libraries, get a patch from Sun.
|
libraries, get a patch from Sun.
|
||||||
- Solaris 2.6 with GTK and Perl: gvim crashes when started. Problem with X
|
- Solaris 2.6 with GTK and Perl: gvim crashes when started. Problem with X
|
||||||
input method called from GDK code. Without Perl it doesn't crash.
|
input method called from GDK code. Without Perl it doesn't crash.
|
||||||
- VMS: Vimdiff doesn't work with the VMS diff, because the output looks
|
|
||||||
different. This makes test 47 fail. Install a Unix-compatible diff.
|
|
||||||
- Win32 GUI: mouse wheel always scrolls rightmost window. The events arrive
|
- Win32 GUI: mouse wheel always scrolls rightmost window. The events arrive
|
||||||
in Vim as if the rightmost scrollbar was used.
|
in Vim as if the rightmost scrollbar was used.
|
||||||
- GTK with Gnome: Produces an error message when starting up:
|
- GTK with Gnome: Produces an error message when starting up:
|
||||||
@ -2867,7 +2837,6 @@ User Friendlier:
|
|||||||
disabling it. Be careful that tear-offs don't disappear (keep one empty
|
disabling it. Be careful that tear-offs don't disappear (keep one empty
|
||||||
item?).
|
item?).
|
||||||
Alternative: use BufEnter and BufLeave autocommands.
|
Alternative: use BufEnter and BufLeave autocommands.
|
||||||
8 make a vimtutor script for Amiga and other systems.
|
|
||||||
7 Add the arguments for configure to the ":version" output?
|
7 Add the arguments for configure to the ":version" output?
|
||||||
7 When Vim detects a file is being edited elsewhere and it's a gvim session
|
7 When Vim detects a file is being edited elsewhere and it's a gvim session
|
||||||
of the same user it should offer a "Raise" button, so that the other gvim
|
of the same user it should offer a "Raise" button, so that the other gvim
|
||||||
@ -3741,7 +3710,6 @@ Win32 GUI:
|
|||||||
|
|
||||||
|
|
||||||
GUI:
|
GUI:
|
||||||
8 Make inputdialog() work for Amiga.
|
|
||||||
- <C--> cannot be mapped. Should be possible to recognize this as a
|
- <C--> cannot be mapped. Should be possible to recognize this as a
|
||||||
normal "-" with the Ctrl modifier.
|
normal "-" with the Ctrl modifier.
|
||||||
7 Implement ":popup" for other systems than Windows.
|
7 Implement ":popup" for other systems than Windows.
|
||||||
@ -4812,9 +4780,7 @@ Digraphs:
|
|||||||
|
|
||||||
|
|
||||||
Writing files:
|
Writing files:
|
||||||
- In vim_rename(), should lock "from" file when deleting "to" file for
|
- In vim_rename(), should lock "from" file when deleting "to" file.
|
||||||
systems other than Amiga.
|
|
||||||
8 write mch_isdevice() for Amiga, Mac, VMS, etc.
|
|
||||||
8 When appending to a file, Vim should also make a backup and a 'patchmode'
|
8 When appending to a file, Vim should also make a backup and a 'patchmode'
|
||||||
file.
|
file.
|
||||||
8 'backupskip' doesn't write a backup file at all, a bit dangerous for some
|
8 'backupskip' doesn't write a backup file at all, a bit dangerous for some
|
||||||
@ -4869,7 +4835,6 @@ Mouse support:
|
|||||||
8 Add 'mouse' flag, which sets a behavior like Visual mode, but automatic
|
8 Add 'mouse' flag, which sets a behavior like Visual mode, but automatic
|
||||||
yanking at the button-up event. Or like Select mode, but typing gets you
|
yanking at the button-up event. Or like Select mode, but typing gets you
|
||||||
out of Select mode, instead of replacing the text. (Bhaskar)
|
out of Select mode, instead of replacing the text. (Bhaskar)
|
||||||
- Implement mouse support for the Amiga console.
|
|
||||||
- Using right mouse button to extend a blockwise selection should attach to
|
- Using right mouse button to extend a blockwise selection should attach to
|
||||||
the nearest corner of the rectangle (four possible corners).
|
the nearest corner of the rectangle (four possible corners).
|
||||||
- Precede mouse click by a number to simulate double clicks?!?
|
- Precede mouse click by a number to simulate double clicks?!?
|
||||||
@ -5211,8 +5176,6 @@ Various improvements:
|
|||||||
- Add "-d null" for editing from a script file without displaying.
|
- Add "-d null" for editing from a script file without displaying.
|
||||||
- In Insert mode: Remember the characters that were removed with backspace
|
- In Insert mode: Remember the characters that were removed with backspace
|
||||||
and re-insert them one at a time with <key1>, all together with <key2>.
|
and re-insert them one at a time with <key1>, all together with <key2>.
|
||||||
- Amiga: Add possibility to set a keymap. The code in amiga.c does not work
|
|
||||||
yet.
|
|
||||||
- Implement 'redraw' option.
|
- Implement 'redraw' option.
|
||||||
- Add special code to 'sections' option to define something else but '{' or
|
- Add special code to 'sections' option to define something else but '{' or
|
||||||
'}' as the start of a section (e.g. one shiftwidth to the right).
|
'}' as the start of a section (e.g. one shiftwidth to the right).
|
||||||
@ -5231,15 +5194,12 @@ Various improvements:
|
|||||||
off".
|
off".
|
||||||
- Check handling of CTRL-V and '\' for ":" commands that do not have TRLBAR.
|
- Check handling of CTRL-V and '\' for ":" commands that do not have TRLBAR.
|
||||||
- When a file cannot be opened but does exist, give error message.
|
- When a file cannot be opened but does exist, give error message.
|
||||||
- Amiga: When 'r' protection bit is not set, file can still be opened but
|
|
||||||
gives read errors. Check protection before opening.
|
|
||||||
- When writing check for file exists but no permission, "Permission denied".
|
- When writing check for file exists but no permission, "Permission denied".
|
||||||
- If file does not exist, check if directory exists.
|
- If file does not exist, check if directory exists.
|
||||||
- MSDOS: although t_cv and t_ci are not set, do invert char under cursor.
|
- MSDOS: although t_cv and t_ci are not set, do invert char under cursor.
|
||||||
- Settings edit mode: make file with ":set opt=xx", edit it, parse it as ex
|
- Settings edit mode: make file with ":set opt=xx", edit it, parse it as ex
|
||||||
commands.
|
commands.
|
||||||
- ":set -w all": list one option per line.
|
- ":set -w all": list one option per line.
|
||||||
- Amiga: test for 'w' flag when reading a file.
|
|
||||||
- :table command (Webb)
|
- :table command (Webb)
|
||||||
- Add new operator: clear, make area white (replace with spaces): "g ".
|
- Add new operator: clear, make area white (replace with spaces): "g ".
|
||||||
- Add command to ":read" a file at a certain column (blockwise read?).
|
- Add command to ":read" a file at a certain column (blockwise read?).
|
||||||
|
@ -73,8 +73,6 @@ Unix: >
|
|||||||
:!cp -i $VIMRUNTIME/vimrc_example.vim ~/.vimrc
|
:!cp -i $VIMRUNTIME/vimrc_example.vim ~/.vimrc
|
||||||
MS-DOS, MS-Windows: >
|
MS-DOS, MS-Windows: >
|
||||||
:!copy $VIMRUNTIME/vimrc_example.vim $VIM/_vimrc
|
:!copy $VIMRUNTIME/vimrc_example.vim $VIM/_vimrc
|
||||||
Amiga: >
|
|
||||||
:!copy $VIMRUNTIME/vimrc_example.vim $VIM/.vimrc
|
|
||||||
|
|
||||||
If the file already exists you probably want to keep it.
|
If the file already exists you probably want to keep it.
|
||||||
|
|
||||||
@ -126,14 +124,7 @@ available, use the two-letter language code. For French: >
|
|||||||
vimtutor fr
|
vimtutor fr
|
||||||
|
|
||||||
On Unix, if you prefer using the GUI version of Vim, use "gvimtutor" or
|
On Unix, if you prefer using the GUI version of Vim, use "gvimtutor" or
|
||||||
"vimtutor -g" instead of "vimtutor".
|
"vimtutor -g", optionally with a two-letter language code.
|
||||||
|
|
||||||
For OpenVMS, if Vim has been properly installed, you can start vimtutor from a
|
|
||||||
VMS prompt with: >
|
|
||||||
|
|
||||||
@VIM:vimtutor
|
|
||||||
|
|
||||||
Optionally add the two-letter language code as above.
|
|
||||||
|
|
||||||
|
|
||||||
On other systems, you have to do a little work:
|
On other systems, you have to do a little work:
|
||||||
|
@ -96,14 +96,9 @@ when pressing <Enter> in Insert mode, and when using the "o" command to open a
|
|||||||
new line.
|
new line.
|
||||||
>
|
>
|
||||||
|
|
||||||
if has("vms")
|
set backup
|
||||||
set nobackup
|
|
||||||
else
|
|
||||||
set backup
|
|
||||||
endif
|
|
||||||
|
|
||||||
This tells Vim to keep a backup copy of a file when overwriting it. But not
|
This tells Vim to keep a backup copy of a file when overwriting it. The backup
|
||||||
on the VMS system, since it keeps old versions of files already. The backup
|
|
||||||
file will have the same name as the original file with "~" added. See |07.4|
|
file will have the same name as the original file with "~" added. See |07.4|
|
||||||
>
|
>
|
||||||
|
|
||||||
@ -314,7 +309,6 @@ Then copy the file to your plugin directory:
|
|||||||
|
|
||||||
system plugin directory ~
|
system plugin directory ~
|
||||||
Unix ~/.vim/plugin/
|
Unix ~/.vim/plugin/
|
||||||
Amiga s:vimfiles/plugin
|
|
||||||
Macintosh $VIM:vimfiles:plugin
|
Macintosh $VIM:vimfiles:plugin
|
||||||
Mac OS X ~/.vim/plugin/
|
Mac OS X ~/.vim/plugin/
|
||||||
|
|
||||||
|
@ -300,7 +300,6 @@ g8 Print the hex values of the bytes used in the
|
|||||||
|
|
||||||
*+feature-list*
|
*+feature-list*
|
||||||
*+acl* |ACL| support included
|
*+acl* |ACL| support included
|
||||||
*+ARP* Amiga only: ARP support included
|
|
||||||
B *+arabic* |Arabic| language support
|
B *+arabic* |Arabic| language support
|
||||||
N *+autocmd* |:autocmd|, automatic commands
|
N *+autocmd* |:autocmd|, automatic commands
|
||||||
m *+balloon_eval* |balloon-eval| support. Included when compiling with
|
m *+balloon_eval* |balloon-eval| support. Included when compiling with
|
||||||
|
@ -71,10 +71,8 @@ Vim has only a few limits for the files that can be edited {Vi: can not handle
|
|||||||
<Nul> characters and characters above 128, has limited line length, many other
|
<Nul> characters and characters above 128, has limited line length, many other
|
||||||
limits}.
|
limits}.
|
||||||
*E340*
|
*E340*
|
||||||
Maximum line length On machines with 16-bit ints (Amiga and MS-DOS real
|
Maximum line length 2147483647 characters
|
||||||
mode): 32767, otherwise 2147483647 characters.
|
Maximum number of lines 2147483647 lines
|
||||||
Longer lines are split.
|
|
||||||
Maximum number of lines 2147483647 lines.
|
|
||||||
Maximum file size 2147483647 bytes (2 Gbyte) when a long integer is
|
Maximum file size 2147483647 bytes (2 Gbyte) when a long integer is
|
||||||
32 bits. Much more for 64 bit longs. Also limited
|
32 bits. Much more for 64 bit longs. Also limited
|
||||||
by available disk space for the |swap-file|.
|
by available disk space for the |swap-file|.
|
||||||
@ -102,9 +100,8 @@ Memory usage limits
|
|||||||
|
|
||||||
The option 'maxmem' ('mm') is used to set the maximum memory used for one
|
The option 'maxmem' ('mm') is used to set the maximum memory used for one
|
||||||
buffer (in kilobytes). 'maxmemtot' is used to set the maximum memory used for
|
buffer (in kilobytes). 'maxmemtot' is used to set the maximum memory used for
|
||||||
all buffers (in kilobytes). The defaults depend on the system used. For the
|
all buffers (in kilobytes). The defaults depend on the system used. For
|
||||||
Amiga and MS-DOS, 'maxmemtot' is set depending on the amount of memory
|
MS-DOS, 'maxmemtot' is set depending on the amount of memory available.
|
||||||
available.
|
|
||||||
These are not hard limits, but tell Vim when to move text into a swap file.
|
These are not hard limits, but tell Vim when to move text into a swap file.
|
||||||
If you don't like Vim to swap to a file, set 'maxmem' and 'maxmemtot' to a
|
If you don't like Vim to swap to a file, set 'maxmem' and 'maxmemtot' to a
|
||||||
very large value. The swap file will then only be used for recovery. If you
|
very large value. The swap file will then only be used for recovery. If you
|
||||||
@ -132,11 +129,9 @@ Support for different systems.
|
|||||||
Vim can be used on:
|
Vim can be used on:
|
||||||
- All Unix systems (it works on all systems it was tested on, although
|
- All Unix systems (it works on all systems it was tested on, although
|
||||||
the GUI and Perl interface may not work everywhere).
|
the GUI and Perl interface may not work everywhere).
|
||||||
- Amiga (500, 1000, 1200, 2000, 3000, 4000, ...).
|
|
||||||
- MS-DOS in real-mode (no additional drivers required).
|
- MS-DOS in real-mode (no additional drivers required).
|
||||||
- In protected mode on Windows 3.1 and MS-DOS (DPMI driver required).
|
- In protected mode on Windows 3.1 and MS-DOS (DPMI driver required).
|
||||||
- Windows 95 and Windows NT, with support for long file names.
|
- Windows 95 and Windows NT, with support for long file names.
|
||||||
- VMS
|
|
||||||
- Macintosh
|
- Macintosh
|
||||||
Note that on some systems features need to be disabled to reduce
|
Note that on some systems features need to be disabled to reduce
|
||||||
resource usage, esp. on MS-DOS. For some outdated systems you need to
|
resource usage, esp. on MS-DOS. For some outdated systems you need to
|
||||||
@ -159,7 +154,7 @@ Graphical User Interface (GUI). |gui|
|
|||||||
define your own menus. Better support for CTRL/SHIFT/ALT keys in
|
define your own menus. Better support for CTRL/SHIFT/ALT keys in
|
||||||
combination with special keys and mouse. Supported for various
|
combination with special keys and mouse. Supported for various
|
||||||
platforms, such as X11 (with Motif and Athena interfaces), GTK, Win32
|
platforms, such as X11 (with Motif and Athena interfaces), GTK, Win32
|
||||||
(Windows 95 and later), Amiga and Macintosh.
|
(Windows 95 and later), and Macintosh.
|
||||||
|
|
||||||
Multiple windows and buffers. |windows.txt|
|
Multiple windows and buffers. |windows.txt|
|
||||||
Vim can split the screen into several windows, each editing a
|
Vim can split the screen into several windows, each editing a
|
||||||
@ -718,10 +713,6 @@ When the 'fileformats' option is not empty, Vim tries to detect the type of
|
|||||||
On systems that have no job control (older Unix systems and non-Unix systems)
|
On systems that have no job control (older Unix systems and non-Unix systems)
|
||||||
the CTRL-Z, ":stop" or ":suspend" command starts a new shell.
|
the CTRL-Z, ":stop" or ":suspend" command starts a new shell.
|
||||||
|
|
||||||
If Vim is started on the Amiga without an interactive window for output, a
|
|
||||||
window is opened (and :sh still works). You can give a device to use for
|
|
||||||
editing with the |-d| argument, e.g. "-d con:20/20/600/150".
|
|
||||||
|
|
||||||
The 'columns' and 'lines' options are used to set or get the width and height
|
The 'columns' and 'lines' options are used to set or get the width and height
|
||||||
of the display.
|
of the display.
|
||||||
|
|
||||||
@ -734,8 +725,8 @@ If the 'insertmode' option is set (e.g. in .exrc), Vim starts in insert mode.
|
|||||||
And it comes back there, when pressing <Esc>.
|
And it comes back there, when pressing <Esc>.
|
||||||
|
|
||||||
Undo information is kept in memory. Available memory limits the number and
|
Undo information is kept in memory. Available memory limits the number and
|
||||||
size of change that can be undone. This may be a problem with MS-DOS, is
|
size of change that can be undone. This may be a problem with MS-DOS, but is
|
||||||
hardly a problem on the Amiga and almost never with Unix and Win32.
|
almost never one with Unix and Win32.
|
||||||
|
|
||||||
If the 'backup' or 'writebackup' option is set: Before a file is overwritten,
|
If the 'backup' or 'writebackup' option is set: Before a file is overwritten,
|
||||||
a backup file (.bak) is made. If the "backup" option is set it is left
|
a backup file (.bak) is made. If the "backup" option is set it is left
|
||||||
@ -760,8 +751,6 @@ changing files.
|
|||||||
The "No lines in buffer" message is a normal message instead of an error
|
The "No lines in buffer" message is a normal message instead of an error
|
||||||
message, since that may cause a mapping to be aborted.
|
message, since that may cause a mapping to be aborted.
|
||||||
|
|
||||||
The AUX: device of the Amiga is supported.
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
6. Command-line arguments *cmdline-arguments*
|
6. Command-line arguments *cmdline-arguments*
|
||||||
|
|
||||||
@ -837,12 +826,8 @@ Only Vim is able to accept options in between and after the file names.
|
|||||||
loading the edit buffer.
|
loading the edit buffer.
|
||||||
Vim: allow up to 10 "-c" arguments
|
Vim: allow up to 10 "-c" arguments
|
||||||
|
|
||||||
-d {device} Vim: Use {device} for I/O (Amiga only). {only when compiled
|
|
||||||
without the |+diff| feature}
|
|
||||||
-d Vim: start with 'diff' set. |vimdiff|
|
-d Vim: start with 'diff' set. |vimdiff|
|
||||||
|
|
||||||
-dev {device} Vim: Use {device} for I/O (Amiga only).
|
|
||||||
|
|
||||||
-D Vim: debug mode.
|
-D Vim: debug mode.
|
||||||
|
|
||||||
-e Elvis, Nvi, Vim: Start in Ex mode, as if the executable is
|
-e Elvis, Nvi, Vim: Start in Ex mode, as if the executable is
|
||||||
@ -850,7 +835,7 @@ Only Vim is able to accept options in between and after the file names.
|
|||||||
|
|
||||||
-E Vim: Start in improved Ex mode |gQ|, like "exim".
|
-E Vim: Start in improved Ex mode |gQ|, like "exim".
|
||||||
|
|
||||||
-f Vim: Run GUI in foreground (Amiga: don't open new window).
|
-f Vim: Run GUI in foreground.
|
||||||
-f {session} Elvis: Use {session} as the session file.
|
-f {session} Elvis: Use {session} as the session file.
|
||||||
|
|
||||||
-F Vim: Start in Farsi mode (when compiled with Farsi).
|
-F Vim: Start in Farsi mode (when compiled with Farsi).
|
||||||
|
@ -28,11 +28,7 @@ cnoremap <silent> <C-F> <C-C>:promptfind<CR>
|
|||||||
|
|
||||||
set backspace=2 " allow backspacing over everything in insert mode
|
set backspace=2 " allow backspacing over everything in insert mode
|
||||||
set autoindent " always set autoindenting on
|
set autoindent " always set autoindenting on
|
||||||
if has("vms")
|
set backup " keep a backup file
|
||||||
set nobackup " do not keep a backup file, use versions instead
|
|
||||||
else
|
|
||||||
set backup " keep a backup file
|
|
||||||
endif
|
|
||||||
set history=50 " keep 50 lines of command line history
|
set history=50 " keep 50 lines of command line history
|
||||||
set ruler " show the cursor position all the time
|
set ruler " show the cursor position all the time
|
||||||
set incsearch " do incremental searching
|
set incsearch " do incremental searching
|
||||||
|
@ -91,11 +91,7 @@ au BufNewFile,BufRead *.wrm setf acedb
|
|||||||
|
|
||||||
" Ada (83, 9X, 95)
|
" Ada (83, 9X, 95)
|
||||||
au BufNewFile,BufRead *.adb,*.ads,*.ada setf ada
|
au BufNewFile,BufRead *.adb,*.ads,*.ada setf ada
|
||||||
if has("vms")
|
au BufNewFile,BufRead *.gpr setf ada
|
||||||
au BufNewFile,BufRead *.gpr,*.ada_m,*.adc setf ada
|
|
||||||
else
|
|
||||||
au BufNewFile,BufRead *.gpr setf ada
|
|
||||||
endif
|
|
||||||
|
|
||||||
" AHDL
|
" AHDL
|
||||||
au BufNewFile,BufRead *.tdf setf ahdl
|
au BufNewFile,BufRead *.tdf setf ahdl
|
||||||
|
@ -119,11 +119,7 @@ endif
|
|||||||
" Section: Compiler {{{1
|
" Section: Compiler {{{1
|
||||||
"
|
"
|
||||||
if ! exists("g:ada_default_compiler")
|
if ! exists("g:ada_default_compiler")
|
||||||
if has("vms")
|
let g:ada_default_compiler = 'gnat'
|
||||||
let g:ada_default_compiler = 'decada'
|
|
||||||
else
|
|
||||||
let g:ada_default_compiler = 'gnat'
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if ! exists("current_compiler") ||
|
if ! exists("current_compiler") ||
|
||||||
|
@ -15,7 +15,7 @@ let b:did_ftplugin = 1
|
|||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
set cpo-=C
|
set cpo-=C
|
||||||
|
|
||||||
let b:undo_ftplugin = "setl fo< com< ofu< | if has('vms') | setl isk< | endif"
|
let b:undo_ftplugin = "setl fo< com< ofu<"
|
||||||
|
|
||||||
" Set 'formatoptions' to break comment lines but not other lines,
|
" Set 'formatoptions' to break comment lines but not other lines,
|
||||||
" and insert the comment leader when hitting <CR> or using "o".
|
" and insert the comment leader when hitting <CR> or using "o".
|
||||||
@ -29,11 +29,6 @@ endif
|
|||||||
" Set 'comments' to format dashed lists in comments.
|
" Set 'comments' to format dashed lists in comments.
|
||||||
setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
|
setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
|
||||||
|
|
||||||
" In VMS C keywords contain '$' characters.
|
|
||||||
if has("vms")
|
|
||||||
setlocal iskeyword+=$
|
|
||||||
endif
|
|
||||||
|
|
||||||
" When the matchit plugin is loaded, this makes the % command skip parens and
|
" When the matchit plugin is loaded, this makes the % command skip parens and
|
||||||
" braces in comments.
|
" braces in comments.
|
||||||
let b:match_words = &matchpairs . ',^\s*#\s*if\(\|def\|ndef\)\>:^\s*#\s*elif\>:^\s*#\s*else\>:^\s*#\s*endif\>'
|
let b:match_words = &matchpairs . ',^\s*#\s*if\(\|def\|ndef\)\>:^\s*#\s*elif\>:^\s*#\s*else\>:^\s*#\s*endif\>'
|
||||||
|
@ -15,7 +15,7 @@ let b:did_ftplugin = 1
|
|||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
set cpo-=C
|
set cpo-=C
|
||||||
|
|
||||||
let b:undo_ftplugin = "setl fo< com< ofu< efm< tw< et< sts< sw< | if has('vms') | setl isk< | endif"
|
let b:undo_ftplugin = "setl fo< com< ofu< efm< tw< et< sts< sw<"
|
||||||
|
|
||||||
" Set 'formatoptions' to break comment lines but not other lines,
|
" Set 'formatoptions' to break comment lines but not other lines,
|
||||||
" and insert the comment leader when hitting <CR> or using "o".
|
" and insert the comment leader when hitting <CR> or using "o".
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
" An example for a gvimrc file.
|
" An example for a gvimrc file.
|
||||||
" The commands in this are executed when the GUI is started.
|
" The commands in this are executed when the GUI is started.
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last change: 2001 Sep 02
|
" Last change: 2001 Sep 02
|
||||||
"
|
"
|
||||||
" To use it, copy it to
|
" To use it, copy it to
|
||||||
" for Unix: ~/.gvimrc
|
" for Unix: ~/.gvimrc
|
||||||
" for Amiga: s:.gvimrc
|
|
||||||
" for MS-DOS and Win32: $VIM\_gvimrc
|
" for MS-DOS and Win32: $VIM\_gvimrc
|
||||||
" for OpenVMS: sys$login:.gvimrc
|
|
||||||
|
|
||||||
" Make external commands work through a pipe instead of a pseudo-tty
|
" Make external commands work through a pipe instead of a pseudo-tty
|
||||||
"set noguipty
|
"set noguipty
|
||||||
@ -16,9 +14,9 @@
|
|||||||
" set the X11 font to use
|
" set the X11 font to use
|
||||||
" set guifont=-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
|
" set guifont=-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
|
||||||
|
|
||||||
set ch=2 " Make command line two lines high
|
set ch=2 " Make command line two lines high
|
||||||
|
|
||||||
set mousehide " Hide the mouse when typing text
|
set mousehide " Hide the mouse when typing text
|
||||||
|
|
||||||
" Make shift-insert work like in Xterm
|
" Make shift-insert work like in Xterm
|
||||||
map <S-Insert> <MiddleMouse>
|
map <S-Insert> <MiddleMouse>
|
||||||
|
@ -194,8 +194,6 @@ fun! s:EditVimrc()
|
|||||||
else
|
else
|
||||||
let fname = $VIM . "/_vimrc"
|
let fname = $VIM . "/_vimrc"
|
||||||
endif
|
endif
|
||||||
elseif has("amiga")
|
|
||||||
let fname = "s:.vimrc"
|
|
||||||
else
|
else
|
||||||
let fname = $HOME . "/.vimrc"
|
let fname = $HOME . "/.vimrc"
|
||||||
endif
|
endif
|
||||||
@ -345,7 +343,7 @@ endfun
|
|||||||
" get NL separated string with file names
|
" get NL separated string with file names
|
||||||
let s:n = globpath(&runtimepath, "colors/*.vim")
|
let s:n = globpath(&runtimepath, "colors/*.vim")
|
||||||
|
|
||||||
" split at NL, Ignore case for VMS and windows, sort on name
|
" split at NL, ignore case for Windows, sort on name
|
||||||
let s:names = sort(map(split(s:n, "\n"), 'substitute(v:val, "\\c.*[/\\\\:\\]]\\([^/\\\\:]*\\)\\.vim", "\\1", "")'), 1)
|
let s:names = sort(map(split(s:n, "\n"), 'substitute(v:val, "\\c.*[/\\\\:\\]]\\([^/\\\\:]*\\)\\.vim", "\\1", "")'), 1)
|
||||||
|
|
||||||
" define all the submenu entries
|
" define all the submenu entries
|
||||||
@ -372,7 +370,7 @@ if has("keymap")
|
|||||||
let s:name = strpart(s:n, 0, s:i)
|
let s:name = strpart(s:n, 0, s:i)
|
||||||
let s:n = strpart(s:n, s:i + 1, 19999)
|
let s:n = strpart(s:n, s:i + 1, 19999)
|
||||||
endif
|
endif
|
||||||
" Ignore case for VMS and windows
|
" Ignore case for Windows
|
||||||
let s:name = substitute(s:name, '\c.*[/\\:\]]\([^/\\:_]*\)\(_[0-9a-zA-Z-]*\)\=\.vim', '\1', '')
|
let s:name = substitute(s:name, '\c.*[/\\:\]]\([^/\\:_]*\)\(_[0-9a-zA-Z-]*\)\=\.vim', '\1', '')
|
||||||
exe "an 20.460." . s:idx . ' &Edit.&Keymap.' . s:name . " :set keymap=" . s:name . "<CR>"
|
exe "an 20.460." . s:idx . ' &Edit.&Keymap.' . s:name . " :set keymap=" . s:name . "<CR>"
|
||||||
unlet s:name
|
unlet s:name
|
||||||
@ -389,11 +387,7 @@ endif
|
|||||||
|
|
||||||
" Programming menu
|
" Programming menu
|
||||||
if !exists("g:ctags_command")
|
if !exists("g:ctags_command")
|
||||||
if has("vms")
|
let g:ctags_command = "ctags -R ."
|
||||||
let g:ctags_command = "mc vim:ctags *.*"
|
|
||||||
else
|
|
||||||
let g:ctags_command = "ctags -R ."
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
an 40.300 &Tools.&Jump\ to\ this\ tag<Tab>g^] g<C-]>
|
an 40.300 &Tools.&Jump\ to\ this\ tag<Tab>g^] g<C-]>
|
||||||
@ -538,12 +532,8 @@ an <silent> 40.540 &Tools.Conve&rt\ back<Tab>:%!xxd\ -r
|
|||||||
" set.
|
" set.
|
||||||
func! s:XxdConv()
|
func! s:XxdConv()
|
||||||
let mod = &mod
|
let mod = &mod
|
||||||
if has("vms")
|
call s:XxdFind()
|
||||||
%!mc vim:xxd
|
exe '%!"' . g:xxdprogram . '"'
|
||||||
else
|
|
||||||
call s:XxdFind()
|
|
||||||
exe '%!"' . g:xxdprogram . '"'
|
|
||||||
endif
|
|
||||||
if getline(1) =~ "^0000000:" " only if it worked
|
if getline(1) =~ "^0000000:" " only if it worked
|
||||||
set ft=xxd
|
set ft=xxd
|
||||||
endif
|
endif
|
||||||
@ -552,12 +542,8 @@ endfun
|
|||||||
|
|
||||||
func! s:XxdBack()
|
func! s:XxdBack()
|
||||||
let mod = &mod
|
let mod = &mod
|
||||||
if has("vms")
|
call s:XxdFind()
|
||||||
%!mc vim:xxd -r
|
exe '%!"' . g:xxdprogram . '" -r'
|
||||||
else
|
|
||||||
call s:XxdFind()
|
|
||||||
exe '%!"' . g:xxdprogram . '" -r'
|
|
||||||
endif
|
|
||||||
set ft=
|
set ft=
|
||||||
doautocmd filetypedetect BufReadPost
|
doautocmd filetypedetect BufReadPost
|
||||||
let &mod = mod
|
let &mod = mod
|
||||||
@ -586,7 +572,7 @@ while strlen(s:n) > 0
|
|||||||
let s:name = strpart(s:n, 0, s:i)
|
let s:name = strpart(s:n, 0, s:i)
|
||||||
let s:n = strpart(s:n, s:i + 1, 19999)
|
let s:n = strpart(s:n, s:i + 1, 19999)
|
||||||
endif
|
endif
|
||||||
" Ignore case for VMS and windows
|
" Ignore case for Windows
|
||||||
let s:name = substitute(s:name, '\c.*[/\\:\]]\([^/\\:]*\)\.vim', '\1', '')
|
let s:name = substitute(s:name, '\c.*[/\\:\]]\([^/\\:]*\)\.vim', '\1', '')
|
||||||
exe "an 30.440." . s:idx . ' &Tools.Se&T\ Compiler.' . s:name . " :compiler " . s:name . "<CR>"
|
exe "an 30.440." . s:idx . ' &Tools.Se&T\ Compiler.' . s:name . " :compiler " . s:name . "<CR>"
|
||||||
unlet s:name
|
unlet s:name
|
||||||
|
@ -1,40 +0,0 @@
|
|||||||
%!PS-Adobe-3.0 Resource-Encoding
|
|
||||||
%%Title: VIM-dec-mcs
|
|
||||||
%%Version: 1.0 0
|
|
||||||
%%EndComments
|
|
||||||
/VIM-dec-mcs[
|
|
||||||
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
|
|
||||||
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
|
|
||||||
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
|
|
||||||
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
|
|
||||||
/space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quotesingle
|
|
||||||
/parenleft /parenright /asterisk /plus /comma /minus /period /slash
|
|
||||||
/zero /one /two /three /four /five /six /seven
|
|
||||||
/eight /nine /colon /semicolon /less /equal /greater /question
|
|
||||||
/at /A /B /C /D /E /F /G
|
|
||||||
/H /I /J /K /L /M /N /O
|
|
||||||
/P /Q /R /S /T /U /V /W
|
|
||||||
/X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore
|
|
||||||
/grave /a /b /c /d /e /f /g
|
|
||||||
/h /i /j /k /l /m /n /o
|
|
||||||
/p /q /r /s /t /u /v /w
|
|
||||||
/x /y /z /braceleft /bar /braceright /asciitilde /.notdef
|
|
||||||
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
|
|
||||||
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
|
|
||||||
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
|
|
||||||
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
|
|
||||||
/.notdef /exclamdown /cent /sterling /.notdef /yen /.notdef /section
|
|
||||||
/currency /copyright /ordfeminine /guillemotleft /.notdef /.notdef /.notdef /.notdef
|
|
||||||
/degree /plusminus /twosuperior /threesuperior /.notdef /mu /paragraph /periodcentered
|
|
||||||
/.notdef /onesuperior /ordmasculine /guillemotright /onequarter /onehalf /.notdef /questiondown
|
|
||||||
/Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla
|
|
||||||
/Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis
|
|
||||||
/.notdef /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /OE
|
|
||||||
/Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Ydieresis /.notdef /germandbls
|
|
||||||
/agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla
|
|
||||||
/egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis
|
|
||||||
/.notdef /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /oe
|
|
||||||
/oslash /ugrave /uacute /ucircumflex /udieresis /ydieresis /.notdef /.notdef]
|
|
||||||
/Encoding defineresource pop
|
|
||||||
% vim:ff=unix:
|
|
||||||
%%EOF
|
|
@ -223,11 +223,6 @@ else
|
|||||||
\ || s:line5 =~ '^\s*dnl\>'
|
\ || s:line5 =~ '^\s*dnl\>'
|
||||||
set ft=m4
|
set ft=m4
|
||||||
|
|
||||||
" AmigaDos scripts
|
|
||||||
elseif $TERM == "amiga"
|
|
||||||
\ && (s:line1 =~ "^;" || s:line1 =~ '^\.[bB][rR][aA]')
|
|
||||||
set ft=amiga
|
|
||||||
|
|
||||||
" SiCAD scripts (must have procn or procd as the first line to trigger this)
|
" SiCAD scripts (must have procn or procd as the first line to trigger this)
|
||||||
elseif s:line1 =~? '^ *proc[nd] *$'
|
elseif s:line1 =~? '^ *proc[nd] *$'
|
||||||
set ft=sicad
|
set ft=sicad
|
||||||
|
@ -107,9 +107,6 @@ syn match dclGotoLabel "^\$\s*\I\i*:\s*$" contains=dclStart
|
|||||||
" parameters
|
" parameters
|
||||||
syn match dclParam "'\I[a-zA-Z0-9_$]*'\="
|
syn match dclParam "'\I[a-zA-Z0-9_$]*'\="
|
||||||
|
|
||||||
" () matching (the clusters are commented out until a vim/vms comes out for v5.2+)
|
|
||||||
"syn cluster dclNextGroups contains=dclCmdDirPath,dclCmdProc,dclCmdProc,dclDirPath,dclFilename,dclFilename,dclMdfySet,dclMdfySetString,delCmdProc,dclExe,dclTodo
|
|
||||||
"syn region dclFuncList matchgroup=Delimiter start="(" matchgroup=Delimiter end=")" contains=ALLBUT,@dclNextGroups
|
|
||||||
syn region dclFuncList matchgroup=Delimiter start="(" matchgroup=Delimiter end=")" contains=ALLBUT,dclCmdDirPath,dclCmdProc,dclCmdProc,dclDirPath,dclFilename,dclFilename,dclMdfySet,dclMdfySetString,delCmdProc,dclExe,dclTodo
|
syn region dclFuncList matchgroup=Delimiter start="(" matchgroup=Delimiter end=")" contains=ALLBUT,dclCmdDirPath,dclCmdProc,dclCmdProc,dclDirPath,dclFilename,dclFilename,dclMdfySet,dclMdfySetString,delCmdProc,dclExe,dclTodo
|
||||||
syn match dclError ")"
|
syn match dclError ")"
|
||||||
|
|
||||||
|
@ -1,13 +1,11 @@
|
|||||||
" An example for a vimrc file.
|
" An example for a vimrc file.
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last change: 2014 Feb 05
|
" Last change: 2014 Feb 05
|
||||||
"
|
"
|
||||||
" To use it, copy it to
|
" To use it, copy it to
|
||||||
" for Unix: ~/.vimrc
|
" for Unix: ~/.vimrc
|
||||||
" for Amiga: s:.vimrc
|
" for MS-DOS and Win32: $VIM\_vimrc
|
||||||
" for MS-DOS and Win32: $VIM\_vimrc
|
|
||||||
" for OpenVMS: sys$login:.vimrc
|
|
||||||
|
|
||||||
" When started as "evim", evim.vim will already have done these settings.
|
" When started as "evim", evim.vim will already have done these settings.
|
||||||
if v:progname =~? "evim"
|
if v:progname =~? "evim"
|
||||||
@ -21,16 +19,12 @@ set nocompatible
|
|||||||
" allow backspacing over everything in insert mode
|
" allow backspacing over everything in insert mode
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start
|
||||||
|
|
||||||
if has("vms")
|
set backup " keep a backup file (restore to previous version)
|
||||||
set nobackup " do not keep a backup file, use versions instead
|
set undofile " keep an undo file (undo changes after closing)
|
||||||
else
|
set history=50 " keep 50 lines of command line history
|
||||||
set backup " keep a backup file (restore to previous version)
|
set ruler " show the cursor position all the time
|
||||||
set undofile " keep an undo file (undo changes after closing)
|
set showcmd " display incomplete commands
|
||||||
endif
|
set incsearch " do incremental searching
|
||||||
set history=50 " keep 50 lines of command line history
|
|
||||||
set ruler " show the cursor position all the time
|
|
||||||
set showcmd " display incomplete commands
|
|
||||||
set incsearch " do incremental searching
|
|
||||||
|
|
||||||
" For Win32 GUI: remove 't' flag from 'guioptions': no tearoff menu entries
|
" For Win32 GUI: remove 't' flag from 'guioptions': no tearoff menu entries
|
||||||
" let &guioptions = substitute(&guioptions, "t", "", "g")
|
" let &guioptions = substitute(&guioptions, "t", "", "g")
|
||||||
@ -84,7 +78,7 @@ if has("autocmd")
|
|||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
set autoindent " always set autoindenting on
|
set autoindent " always set autoindenting on
|
||||||
|
|
||||||
endif " has("autocmd")
|
endif " has("autocmd")
|
||||||
|
|
||||||
@ -93,5 +87,5 @@ endif " has("autocmd")
|
|||||||
" Only define it when not defined already.
|
" Only define it when not defined already.
|
||||||
if !exists(":DiffOrig")
|
if !exists(":DiffOrig")
|
||||||
command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_ | diffthis
|
command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_ | diffthis
|
||||||
\ | wincmd p | diffthis
|
\ | wincmd p | diffthis
|
||||||
endif
|
endif
|
||||||
|
@ -1294,14 +1294,6 @@ do_shell (
|
|||||||
}
|
}
|
||||||
|
|
||||||
starttermcap(); /* start termcap if not done by wait_return() */
|
starttermcap(); /* start termcap if not done by wait_return() */
|
||||||
|
|
||||||
/*
|
|
||||||
* In an Amiga window redrawing is caused by asking the window size.
|
|
||||||
* If we got an interrupt this will not work. The chance that the
|
|
||||||
* window size is wrong is very small, but we need to redraw the
|
|
||||||
* screen. Don't do this if ':' hit in wait_return(). THIS IS UGLY
|
|
||||||
* but it saves an extra redraw.
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* display any error messages now */
|
/* display any error messages now */
|
||||||
|
@ -5141,8 +5141,7 @@ static void ex_quit(exarg_T *eap)
|
|||||||
*/
|
*/
|
||||||
static void ex_cquit(exarg_T *eap)
|
static void ex_cquit(exarg_T *eap)
|
||||||
{
|
{
|
||||||
getout(1); /* this does not always pass on the exit code to the Manx
|
getout(1);
|
||||||
compiler. why? */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -208,9 +208,6 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Check if we have an interactive window.
|
* Check if we have an interactive window.
|
||||||
* On the Amiga: If there is no window, we open one with a newcli command
|
|
||||||
* (needed for :! to * work). mch_check_win() will also handle the -d or
|
|
||||||
* -dev argument.
|
|
||||||
*/
|
*/
|
||||||
check_and_set_isatty(¶ms);
|
check_and_set_isatty(¶ms);
|
||||||
|
|
||||||
@ -1087,8 +1084,7 @@ static void command_line_scan(mparm_T *parmp)
|
|||||||
exmode_active = EXMODE_VIM;
|
exmode_active = EXMODE_VIM;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'f': /* "-f" GUI: run in foreground. Amiga: open
|
case 'f': /* "-f" GUI: run in foreground. */
|
||||||
window directly, not with newcli */
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'g': /* "-g" start GUI */
|
case 'g': /* "-g" start GUI */
|
||||||
@ -1489,9 +1485,6 @@ static void init_startuptime(mparm_T *paramp)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Check if we have an interactive window.
|
* Check if we have an interactive window.
|
||||||
* On the Amiga: If there is no window, we open one with a newcli command
|
|
||||||
* (needed for :! to * work). mch_check_win() will also handle the -d or
|
|
||||||
* -dev argument.
|
|
||||||
*/
|
*/
|
||||||
static void check_and_set_isatty(mparm_T *paramp)
|
static void check_and_set_isatty(mparm_T *paramp)
|
||||||
{
|
{
|
||||||
@ -1957,10 +1950,10 @@ static void source_startup_scripts(mparm_T *parmp)
|
|||||||
/*
|
/*
|
||||||
* Try to read initialization commands from the following places:
|
* Try to read initialization commands from the following places:
|
||||||
* - environment variable VIMINIT
|
* - environment variable VIMINIT
|
||||||
* - user vimrc file (s:.vimrc for Amiga, ~/.vimrc otherwise)
|
* - user vimrc file (~/.vimrc)
|
||||||
* - second user vimrc file ($VIM/.vimrc for Dos)
|
* - second user vimrc file ($VIM/.vimrc for Dos)
|
||||||
* - environment variable EXINIT
|
* - environment variable EXINIT
|
||||||
* - user exrc file (s:.exrc for Amiga, ~/.exrc otherwise)
|
* - user exrc file (~/.exrc)
|
||||||
* - second user exrc file ($VIM/.exrc for Dos)
|
* - second user exrc file ($VIM/.exrc for Dos)
|
||||||
* The first that exists is used, the rest is ignored.
|
* The first that exists is used, the rest is ignored.
|
||||||
*/
|
*/
|
||||||
|
@ -289,11 +289,9 @@ enc_canon_table[] =
|
|||||||
|
|
||||||
#define IDX_MACROMAN 57
|
#define IDX_MACROMAN 57
|
||||||
{"macroman", ENC_8BIT + ENC_MACROMAN, 0}, /* Mac OS */
|
{"macroman", ENC_8BIT + ENC_MACROMAN, 0}, /* Mac OS */
|
||||||
#define IDX_DECMCS 58
|
#define IDX_HPROMAN8 58
|
||||||
{"dec-mcs", ENC_8BIT, 0}, /* DEC MCS */
|
|
||||||
#define IDX_HPROMAN8 59
|
|
||||||
{"hp-roman8", ENC_8BIT, 0}, /* HP Roman8 */
|
{"hp-roman8", ENC_8BIT, 0}, /* HP Roman8 */
|
||||||
#define IDX_COUNT 60
|
#define IDX_COUNT 59
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* VIM - Vi IMproved by Bram Moolenaar
|
* VIM - Vi IMproved by Bram Moolenaar
|
||||||
* VMS merge by Zoltan Arpadffy
|
|
||||||
*
|
*
|
||||||
* Do ":help uganda" in Vim to read copying and usage conditions.
|
* Do ":help uganda" in Vim to read copying and usage conditions.
|
||||||
* Do ":help credits" in Vim to see a list of people who contributed.
|
* Do ":help credits" in Vim to see a list of people who contributed.
|
||||||
|
@ -179,7 +179,7 @@ char_u *path_next_component(char_u *fname)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Get a pointer to one character past the head of a path name.
|
* Get a pointer to one character past the head of a path name.
|
||||||
* Unix: after "/"; DOS: after "c:\"; Amiga: after "disk:/"; Mac: no head.
|
* Unix: after "/"; DOS: after "c:\"; Mac: no head.
|
||||||
* If there is no head, path is returned.
|
* If there is no head, path is returned.
|
||||||
*/
|
*/
|
||||||
char_u *get_past_head(char_u *path)
|
char_u *get_past_head(char_u *path)
|
||||||
|
@ -80,7 +80,7 @@
|
|||||||
*
|
*
|
||||||
* The entries are compact, therefore they normally are included even when
|
* The entries are compact, therefore they normally are included even when
|
||||||
* HAVE_TGETENT is defined. When HAVE_TGETENT is defined, the builtin entries
|
* HAVE_TGETENT is defined. When HAVE_TGETENT is defined, the builtin entries
|
||||||
* can be accessed with "builtin_amiga", "builtin_ansi", "builtin_debug", etc.
|
* can be accessed with "builtin_ansi", "builtin_debug", etc.
|
||||||
*
|
*
|
||||||
* Each termcap is a list of builtin_term structures. It always starts with
|
* Each termcap is a list of builtin_term structures. It always starts with
|
||||||
* KS_NAME, which separates the entries. See parse_builtin_tcap() for all
|
* KS_NAME, which separates the entries. See parse_builtin_tcap() for all
|
||||||
|
@ -16,11 +16,7 @@ STARTTEST
|
|||||||
:let $CDIR = "."
|
:let $CDIR = "."
|
||||||
/CDIR
|
/CDIR
|
||||||
:else
|
:else
|
||||||
:if has("amiga")
|
|
||||||
:let $TDIR = "/testdir"
|
|
||||||
:else
|
|
||||||
:let $TDIR = "."
|
:let $TDIR = "."
|
||||||
:endif
|
|
||||||
/TDIR
|
/TDIR
|
||||||
:endif
|
:endif
|
||||||
:" Dummy writing for making that sure gf doesn't fail even if the current
|
:" Dummy writing for making that sure gf doesn't fail even if the current
|
||||||
|
@ -24,12 +24,7 @@ STARTTEST
|
|||||||
:set nobin eol
|
:set nobin eol
|
||||||
:bwipe XXUnix XXDos XXMac
|
:bwipe XXUnix XXDos XXMac
|
||||||
:" create mixed format files
|
:" create mixed format files
|
||||||
:if has("vms")
|
:if has("win32")
|
||||||
: !copy XXUnix,XXDos XXUxDs.
|
|
||||||
: !copy XXUnix,XXMac XXUxMac.
|
|
||||||
: !copy XXDos,XXMac XXDosMac.
|
|
||||||
: !copy XXUnix,XXDos,XXMac XXUxDsMc.
|
|
||||||
:elseif has("win32")
|
|
||||||
: !copy /b XXUnix+XXDos XXUxDs
|
: !copy /b XXUnix+XXDos XXUxDs
|
||||||
: !copy /b XXUnix+XXMac XXUxMac
|
: !copy /b XXUnix+XXMac XXUxMac
|
||||||
: !copy /b XXDos+XXMac XXDosMac
|
: !copy /b XXDos+XXMac XXDosMac
|
||||||
|
Loading…
Reference in New Issue
Block a user