mirror of
https://github.com/zoriya/vim.git
synced 2025-12-25 08:35:22 +00:00
Compare commits
178 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b982ca5c88 | ||
|
|
582fd85b02 | ||
|
|
8b879e7fe8 | ||
|
|
2641f77fbc | ||
|
|
68b76a69aa | ||
|
|
a88d968da1 | ||
|
|
43b604cddc | ||
|
|
6bb683663a | ||
|
|
fc73515f7b | ||
|
|
dbc08a3459 | ||
|
|
2d3c0a9daa | ||
|
|
e19defe17a | ||
|
|
60c78929eb | ||
|
|
217ad920dd | ||
|
|
2e4096b077 | ||
|
|
a0dea674b8 | ||
|
|
c07611362a | ||
|
|
5409c051a5 | ||
|
|
4317d9b486 | ||
|
|
a5319aed9b | ||
|
|
a008465995 | ||
|
|
ef53c02238 | ||
|
|
916b7afcbb | ||
|
|
da5d740e92 | ||
|
|
58e7f2bb4c | ||
|
|
eafefe4fb0 | ||
|
|
5b743bfc4d | ||
|
|
f36d3693dd | ||
|
|
fb26980c31 | ||
|
|
e2cc9702a6 | ||
|
|
152c9dd52b | ||
|
|
3918c950c9 | ||
|
|
28a37ffcf7 | ||
|
|
11cbeb1326 | ||
|
|
4ad237ddc8 | ||
|
|
cd71fa3c1e | ||
|
|
df7b1ffe99 | ||
|
|
9062a9dfbf | ||
|
|
2f6b0b8fce | ||
|
|
111ff9f40e | ||
|
|
9be038da7d | ||
|
|
95fb60ac58 | ||
|
|
e2ac10d732 | ||
|
|
4d34b432db | ||
|
|
f1f8bc5b63 | ||
|
|
e4efc3b270 | ||
|
|
44ecf65f74 | ||
|
|
fd91ecbbe0 | ||
|
|
5ea7e8b730 | ||
|
|
408fb62450 | ||
|
|
52b4b557a2 | ||
|
|
d62bec86bf | ||
|
|
fdac490def | ||
|
|
8bf59b9507 | ||
|
|
bc7aa85d8a | ||
|
|
19a09a1893 | ||
|
|
7383034c0a | ||
|
|
8cd06cabf3 | ||
|
|
4d01d630a5 | ||
|
|
038eb0ed16 | ||
|
|
2be221fa5e | ||
|
|
a21b29a2fc | ||
|
|
78cb7d249e | ||
|
|
32e7b2d575 | ||
|
|
05159a0c6a | ||
|
|
5313dcb75a | ||
|
|
26a60b4524 | ||
|
|
df177f679e | ||
|
|
6bdcfc08cb | ||
|
|
81bf708341 | ||
|
|
4399ef4764 | ||
|
|
b11bd7e43f | ||
|
|
bee0c5b29f | ||
|
|
7c62692d43 | ||
|
|
f97ca8f066 | ||
|
|
2a8d1f877c | ||
|
|
3a7c85bc13 | ||
|
|
8089cae03b | ||
|
|
758711c5dc | ||
|
|
f583668da1 | ||
|
|
6ac5429d3b | ||
|
|
748bf0374b | ||
|
|
24c088a284 | ||
|
|
2e6aff38e0 | ||
|
|
485db9bbb2 | ||
|
|
d438e91c93 | ||
|
|
2ce06f6eb9 | ||
|
|
b23c33872a | ||
|
|
65c1b01669 | ||
|
|
0182465bc0 | ||
|
|
929224039f | ||
|
|
5b625c53a5 | ||
|
|
532c780ef0 | ||
|
|
b2956cd218 | ||
|
|
677ee6890d | ||
|
|
10de2da0f5 | ||
|
|
410d0286f4 | ||
|
|
33570924ba | ||
|
|
b71ec9fc70 | ||
|
|
7df2d6629f | ||
|
|
dad6b69c00 | ||
|
|
8f999f1999 | ||
|
|
df3267e4e1 | ||
|
|
495de9c1ae | ||
|
|
6ebb114c0c | ||
|
|
9d75c83f8f | ||
|
|
281bdcec60 | ||
|
|
aab21c3533 | ||
|
|
1fad5d49c9 | ||
|
|
623fd5e206 | ||
|
|
a7043832f3 | ||
|
|
dcaf10e19a | ||
|
|
ca4729948b | ||
|
|
ce5e58e601 | ||
|
|
6abd8e9735 | ||
|
|
383f9bc302 | ||
|
|
c92ad2e2c2 | ||
|
|
9ef486dbf3 | ||
|
|
bac234ead6 | ||
|
|
d6754643d0 | ||
|
|
3a3a72348d | ||
|
|
f3bae6935a | ||
|
|
af7f641de4 | ||
|
|
89e5d68d42 | ||
|
|
7480b5cefe | ||
|
|
798c5a7a84 | ||
|
|
9cd15160b8 | ||
|
|
0cf6f545ac | ||
|
|
32e4e1f1d8 | ||
|
|
1d817d0321 | ||
|
|
e9a4126498 | ||
|
|
f1ab380df5 | ||
|
|
2fda12f0fa | ||
|
|
6d14ccda51 | ||
|
|
8c711458a6 | ||
|
|
d8b0273231 | ||
|
|
fd371684fa | ||
|
|
31c67ef813 | ||
|
|
2a41f3a19f | ||
|
|
5f2bb9f584 | ||
|
|
f7889b6c73 | ||
|
|
c5a1e80ca2 | ||
|
|
ab7013c8d8 | ||
|
|
b7d6e72b85 | ||
|
|
540d6e3a01 | ||
|
|
a40c500a4c | ||
|
|
6cc1619799 | ||
|
|
9588a0f72b | ||
|
|
e49b69a091 | ||
|
|
13065c4e70 | ||
|
|
cf3630f2d0 | ||
|
|
0d6602271c | ||
|
|
a14de3dd5b | ||
|
|
6f7926cd2a | ||
|
|
8a283e5059 | ||
|
|
de8866baa8 | ||
|
|
8a7e52f4c2 | ||
|
|
bb761a783f | ||
|
|
3d60ec2aaf | ||
|
|
1280586e4b | ||
|
|
06fb435a1c | ||
|
|
f4c01101e7 | ||
|
|
b32ce2d7e8 | ||
|
|
c70646c652 | ||
|
|
0a56cb85a6 | ||
|
|
2079a601eb | ||
|
|
fca34d6d94 | ||
|
|
b11160ef88 | ||
|
|
a0a83bea65 | ||
|
|
323850cc6d | ||
|
|
2fa15e6c7b | ||
|
|
fa4fd1bf97 | ||
|
|
c83c455ee7 | ||
|
|
2317284d1b | ||
|
|
b4022957c1 | ||
|
|
bac9684e42 | ||
|
|
e8dcf625b9 | ||
|
|
87c1948243 |
21
Filelist
21
Filelist
@@ -30,6 +30,7 @@ SRC_ALL1 = \
|
||||
src/gui.h \
|
||||
src/gui_beval.c \
|
||||
src/gui_beval.h \
|
||||
src/hashtable.c \
|
||||
src/keymap.h \
|
||||
src/macros.h \
|
||||
src/main.c \
|
||||
@@ -56,6 +57,7 @@ SRC_ALL1 = \
|
||||
src/screen.c \
|
||||
src/search.c \
|
||||
src/structs.h \
|
||||
src/spell.c \
|
||||
src/syntax.c \
|
||||
src/tag.c \
|
||||
src/term.c \
|
||||
@@ -73,7 +75,7 @@ SRC_ALL2 = \
|
||||
src/main.aap \
|
||||
src/testdir/main.aap \
|
||||
src/testdir/*.in \
|
||||
src/testdir/*.ok \
|
||||
src/testdir/test[0-9]*.ok \
|
||||
src/testdir/test49.vim \
|
||||
src/proto.h \
|
||||
src/proto/buffer.pro \
|
||||
@@ -92,6 +94,7 @@ SRC_ALL2 = \
|
||||
src/proto/getchar.pro \
|
||||
src/proto/gui.pro \
|
||||
src/proto/gui_beval.pro \
|
||||
src/proto/hashtable.pro \
|
||||
src/proto/main.pro \
|
||||
src/proto/mark.pro \
|
||||
src/proto/mbyte.pro \
|
||||
@@ -110,6 +113,7 @@ SRC_ALL2 = \
|
||||
src/proto/regexp.pro \
|
||||
src/proto/screen.pro \
|
||||
src/proto/search.pro \
|
||||
src/proto/spell.pro \
|
||||
src/proto/syntax.pro \
|
||||
src/proto/tag.pro \
|
||||
src/proto/term.pro \
|
||||
@@ -323,7 +327,7 @@ SRC_DOS = \
|
||||
|
||||
# source files for DOS without CR/LF translation (also in the extra archive)
|
||||
SRC_DOS_BIN = \
|
||||
src/VisVim/Res \
|
||||
src/VisVim/Res/*.bmp \
|
||||
src/tearoff.bmp \
|
||||
src/tools.bmp \
|
||||
src/tools16.bmp \
|
||||
@@ -342,17 +346,12 @@ SRC_AMI = \
|
||||
README_amisrc.txt.info \
|
||||
src.info \
|
||||
src/INSTALLami.txt \
|
||||
src/Make_agui.mak \
|
||||
src/Make_aros.mak \
|
||||
src/Make_dice.mak \
|
||||
src/Make_manx.mak \
|
||||
src/Make_morph.mak \
|
||||
src/Make_sas.mak \
|
||||
src/gui_amiga.c \
|
||||
src/gui_amiga.h \
|
||||
src/os_amiga.c \
|
||||
src/os_amiga.h \
|
||||
src/proto/gui_amiga.pro \
|
||||
src/proto/os_amiga.pro \
|
||||
src/testdir/Make_amiga.mak \
|
||||
src/testdir/amiga.vim \
|
||||
@@ -422,8 +421,6 @@ SRC_EXTRA = \
|
||||
README_os390.txt \
|
||||
src/Make_mint.mak \
|
||||
src/Make_ro.mak \
|
||||
src/gui_beos.cc \
|
||||
src/gui_beos.h \
|
||||
src/gui_riscos.c \
|
||||
src/gui_riscos.h \
|
||||
src/if_sniff.c \
|
||||
@@ -436,9 +433,7 @@ SRC_EXTRA = \
|
||||
src/os_mint.h \
|
||||
src/os_riscos.c \
|
||||
src/os_riscos.h \
|
||||
src/proto/gui_beos.pro \
|
||||
src/proto/gui_riscos.pro \
|
||||
src/proto/os_beos.pro \
|
||||
src/proto/os_riscos.pro \
|
||||
src/os_vms_fix.com \
|
||||
src/toolbar.phi \
|
||||
@@ -668,6 +663,9 @@ EXTRA = \
|
||||
LANG_GEN = \
|
||||
README_lang.txt \
|
||||
runtime/doc/*-it.1 \
|
||||
runtime/doc/*-it.UTF-8.1 \
|
||||
runtime/doc/*-ru.1 \
|
||||
runtime/doc/*-ru.UTF-8.1 \
|
||||
runtime/lang/README.txt \
|
||||
runtime/lang/menu_*.vim \
|
||||
runtime/keymap/README.txt \
|
||||
@@ -681,6 +679,7 @@ LANG_GEN = \
|
||||
runtime/tutor/tutor.pl.* \
|
||||
runtime/tutor/tutor.ru.* \
|
||||
runtime/tutor/tutor.zh.* \
|
||||
runtime/spell/en.spl \
|
||||
|
||||
# all files for lang archive
|
||||
LANG_SRC = \
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
" Vim color file
|
||||
" Maintainer: Bohdan Vlasyuk <bohdan@vstu.edu.ua>
|
||||
" Last Change: 2002 Mar 09
|
||||
" Last Change: 2005 Mar 28
|
||||
|
||||
" darkblue -- for those who prefer dark background
|
||||
" [note: looks bit uglier with come terminal palettes,
|
||||
@@ -32,31 +32,31 @@ hi MoreMsg ctermfg=darkgreen ctermfg=darkgreen
|
||||
hi Question guifg=green gui=none ctermfg=green cterm=none
|
||||
hi NonText guifg=#0030ff ctermfg=darkblue
|
||||
|
||||
hi StatusLine guifg=blue guibg=darkgray gui=none ctermfg=blue ctermbg=gray term=none cterm=none
|
||||
hi StatusLineNC guifg=black guibg=darkgray gui=none ctermfg=black ctermbg=gray term=none cterm=none
|
||||
hi VertSplit guifg=black guibg=darkgray gui=none ctermfg=black ctermbg=gray term=none cterm=none
|
||||
hi StatusLine guifg=blue guibg=darkgray gui=none ctermfg=blue ctermbg=gray term=none cterm=none
|
||||
hi StatusLineNC guifg=black guibg=darkgray gui=none ctermfg=black ctermbg=gray term=none cterm=none
|
||||
hi VertSplit guifg=black guibg=darkgray gui=none ctermfg=black ctermbg=gray term=none cterm=none
|
||||
|
||||
hi Folded guifg=#808080 guibg=#000040 ctermfg=darkgrey ctermbg=black cterm=bold term=bold
|
||||
hi FoldColumn guifg=#808080 guibg=#000040 ctermfg=darkgrey ctermbg=black cterm=bold term=bold
|
||||
hi LineNr guifg=#90f020 ctermfg=green cterm=none
|
||||
hi Folded guifg=#808080 guibg=#000040 ctermfg=darkgrey ctermbg=black cterm=bold term=bold
|
||||
hi FoldColumn guifg=#808080 guibg=#000040 ctermfg=darkgrey ctermbg=black cterm=bold term=bold
|
||||
hi LineNr guifg=#90f020 ctermfg=green cterm=none
|
||||
|
||||
hi DiffAdd guibg=darkblue ctermbg=darkblue term=none cterm=none
|
||||
hi DiffChange guibg=darkmagenta ctermbg=magenta cterm=none
|
||||
hi DiffDelete ctermfg=blue ctermbg=cyan gui=bold guifg=Blue guibg=DarkCyan
|
||||
hi DiffText cterm=bold ctermbg=red gui=bold guibg=Red
|
||||
hi DiffAdd guibg=darkblue ctermbg=darkblue term=none cterm=none
|
||||
hi DiffChange guibg=darkmagenta ctermbg=magenta cterm=none
|
||||
hi DiffDelete ctermfg=blue ctermbg=cyan gui=bold guifg=Blue guibg=DarkCyan
|
||||
hi DiffText cterm=bold ctermbg=red gui=bold guibg=Red
|
||||
|
||||
hi Cursor guifg=#000020 guibg=#ffaf38 ctermfg=bg ctermbg=brown
|
||||
hi lCursor guifg=#ffffff guibg=#000000 ctermfg=bg ctermbg=darkgreen
|
||||
hi Cursor guifg=black guibg=yellow ctermfg=black ctermbg=yellow
|
||||
hi lCursor guifg=black guibg=white ctermfg=black ctermbg=white
|
||||
|
||||
|
||||
hi Comment guifg=#80a0ff ctermfg=darkred
|
||||
hi Constant ctermfg=magenta guifg=#ffa0a0 cterm=none
|
||||
hi Special ctermfg=brown guifg=Orange cterm=none gui=none
|
||||
hi Identifier ctermfg=cyan guifg=#40ffff cterm=none
|
||||
hi Statement ctermfg=yellow cterm=none guifg=#ffff60 gui=none
|
||||
hi PreProc ctermfg=magenta guifg=#ff80ff gui=none cterm=none
|
||||
hi type ctermfg=green guifg=#60ff60 gui=none cterm=none
|
||||
hi Underlined cterm=underline term=underline
|
||||
hi Ignore guifg=bg ctermfg=bg
|
||||
hi Comment guifg=#80a0ff ctermfg=darkred
|
||||
hi Constant ctermfg=magenta guifg=#ffa0a0 cterm=none
|
||||
hi Special ctermfg=brown guifg=Orange cterm=none gui=none
|
||||
hi Identifier ctermfg=cyan guifg=#40ffff cterm=none
|
||||
hi Statement ctermfg=yellow cterm=none guifg=#ffff60 gui=none
|
||||
hi PreProc ctermfg=magenta guifg=#ff80ff gui=none cterm=none
|
||||
hi type ctermfg=green guifg=#60ff60 gui=none cterm=none
|
||||
hi Underlined cterm=underline term=underline
|
||||
hi Ignore guifg=bg ctermfg=bg
|
||||
|
||||
|
||||
|
||||
@@ -68,7 +68,6 @@ DOCS = \
|
||||
os_vms.txt \
|
||||
os_win32.txt \
|
||||
pattern.txt \
|
||||
pi_expl.txt \
|
||||
pi_gzip.txt \
|
||||
pi_netrw.txt \
|
||||
pi_spec.txt \
|
||||
@@ -85,6 +84,7 @@ DOCS = \
|
||||
sign.txt \
|
||||
sponsor.txt \
|
||||
starting.txt \
|
||||
spell.txt \
|
||||
syntax.txt \
|
||||
tagsrch.txt \
|
||||
term.txt \
|
||||
@@ -189,7 +189,6 @@ HTMLS = \
|
||||
os_vms.html \
|
||||
os_win32.html \
|
||||
pattern.html \
|
||||
pi_expl.html \
|
||||
pi_gzip.html \
|
||||
pi_netrw.html \
|
||||
pi_spec.html \
|
||||
@@ -206,6 +205,7 @@ HTMLS = \
|
||||
sign.html \
|
||||
sponsor.html \
|
||||
starting.html \
|
||||
spell.html \
|
||||
syntax.html \
|
||||
tagsrch.html \
|
||||
tags.html \
|
||||
@@ -256,10 +256,22 @@ HTMLS = \
|
||||
windows.html \
|
||||
workshop.html
|
||||
|
||||
CONVERTED = \
|
||||
vim-it.UTF-8.1 \
|
||||
evim-it.UTF-8.1 \
|
||||
vimdiff-it.UTF-8.1 \
|
||||
vimtutor-it.UTF-8.1 \
|
||||
xxd-it.UTF-8.1 \
|
||||
vim-ru.UTF-8.1 \
|
||||
evim-ru.UTF-8.1 \
|
||||
vimdiff-ru.UTF-8.1 \
|
||||
vimtutor-ru.UTF-8.1 \
|
||||
xxd-ru.UTF-8.1 \
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .txt .html
|
||||
|
||||
all: tags vim.man vimdiff.man vimtutor.man xxd.man
|
||||
all: tags vim.man vimdiff.man vimtutor.man xxd.man $(CONVERTED)
|
||||
|
||||
# Use Vim to generate the tags file. Can only be used when Vim has been
|
||||
# compiled and installed. Supports multiple languages.
|
||||
@@ -367,3 +379,33 @@ os_risc.txt:
|
||||
|
||||
os_win32.txt:
|
||||
touch os_win32.txt
|
||||
|
||||
vim-it.UTF-8.1: vim-it.1
|
||||
iconv -f latin1 -t utf-8 $> >$@
|
||||
|
||||
evim-it.UTF-8.1: evim-it.1
|
||||
iconv -f latin1 -t utf-8 $> >$@
|
||||
|
||||
vimdiff-it.UTF-8.1: vimdiff-it.1
|
||||
iconv -f latin1 -t utf-8 $> >$@
|
||||
|
||||
vimtutor-it.UTF-8.1: vimtutor-it.1
|
||||
iconv -f latin1 -t utf-8 $> >$@
|
||||
|
||||
xxd-it.UTF-8.1: xxd-it.1
|
||||
iconv -f latin1 -t utf-8 $> >$@
|
||||
|
||||
vim-ru.UTF-8.1: vim-ru.1
|
||||
iconv -f KOI8-R -t utf-8 $> >$@
|
||||
|
||||
evim-ru.UTF-8.1: evim-ru.1
|
||||
iconv -f KOI8-R -t utf-8 $> >$@
|
||||
|
||||
vimdiff-ru.UTF-8.1: vimdiff-ru.1
|
||||
iconv -f KOI8-R -t utf-8 $> >$@
|
||||
|
||||
vimtutor-ru.UTF-8.1: vimtutor-ru.1
|
||||
iconv -f KOI8-R -t utf-8 $> >$@
|
||||
|
||||
xxd-ru.UTF-8.1: xxd-ru.1
|
||||
iconv -f KOI8-R -t utf-8 $> >$@
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*autocmd.txt* For Vim version 7.0aa. Last change: 2004 Dec 24
|
||||
*autocmd.txt* For Vim version 7.0aa. Last change: 2005 Mar 04
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -204,10 +204,12 @@ FilterReadPre Before reading a file from a filter command.
|
||||
the current buffer, not the name of the
|
||||
temporary file that is the output of the
|
||||
filter command.
|
||||
Not triggered when 'shelltemp' is off.
|
||||
*FilterReadPost*
|
||||
FilterReadPost After reading a file from a filter command.
|
||||
Vim checks the pattern against the name of
|
||||
the current buffer as with FilterReadPre.
|
||||
Not triggered when 'shelltemp' is off.
|
||||
*FileType*
|
||||
FileType When the 'filetype' option has been set.
|
||||
<afile> can be used for the name of the file
|
||||
@@ -270,11 +272,13 @@ FilterWritePre Before writing a file for a filter command or
|
||||
the current buffer, not the name of the
|
||||
temporary file that is the output of the
|
||||
filter command.
|
||||
Not triggered when 'shelltemp' is off.
|
||||
*FilterWritePost*
|
||||
FilterWritePost After writing a file for a filter command or
|
||||
making a diff.
|
||||
Vim checks the pattern against the name of
|
||||
the current buffer as with FilterWritePre.
|
||||
Not triggered when 'shelltemp' is off.
|
||||
*FileChangedShell*
|
||||
FileChangedShell When Vim notices that the modification time of
|
||||
a file has changed since editing started.
|
||||
@@ -282,7 +286,7 @@ FileChangedShell When Vim notices that the modification time of
|
||||
change. |timestamp|
|
||||
Mostly triggered after executing a shell
|
||||
command, but also with a |:checktime| command
|
||||
or when Vim regains input focus.
|
||||
or when Gvim regains input focus.
|
||||
This autocommand is triggered for each changed
|
||||
file. It is not used when 'autoread' is set
|
||||
and the buffer was not changed. If a
|
||||
@@ -290,6 +294,9 @@ FileChangedShell When Vim notices that the modification time of
|
||||
warning message and prompt is not given.
|
||||
This is useful for reloading related buffers
|
||||
which are affected by a single command.
|
||||
The |v:fcs_reason| variable is set to indicate
|
||||
what happened and |v:fcs_choice| can be used
|
||||
to tell Vim what to do next.
|
||||
NOTE: When this autocommand is executed, the
|
||||
current buffer "%" may be different from the
|
||||
buffer that was changed "<afile>".
|
||||
@@ -324,6 +331,7 @@ FuncUndefined When a user function is used but it isn't
|
||||
defined. Useful for defining a function only
|
||||
when it's used. Both <amatch> and <afile> are
|
||||
set to the name of the function.
|
||||
See |autoload-functions|.
|
||||
*CursorHold*
|
||||
CursorHold When the user doesn't press a key for the time
|
||||
specified with 'updatetime'. Not re-triggered
|
||||
@@ -495,7 +503,7 @@ InsertChange When typing <Insert> while in Insert or
|
||||
anything else that the user does not expect.
|
||||
*InsertLeave*
|
||||
InsertLeave When leaving Insert mode. Also when using
|
||||
CTRL-O |i_CTRL-O|.
|
||||
CTRL-O |i_CTRL-O|. But not for |i_CTRL-C|.
|
||||
*FileEncoding*
|
||||
FileEncoding Obsolete. It still works and is equivalent
|
||||
to |EncodingChanged|.
|
||||
@@ -520,6 +528,20 @@ TermResponse After the response to |t_RV| is received from
|
||||
the terminal. The value of |v:termresponse|
|
||||
can be used to do things depending on the
|
||||
terminal version.
|
||||
QuickFixCmdPre *QuickFixCmdPre*
|
||||
Before a quickfix command is run (|:make|,
|
||||
|:grep|, |:grepadd|, |:vimgrep|,
|
||||
|:vimgrepadd|). The pattern is matched against
|
||||
the command being run. When |:grep| is used
|
||||
but 'grepprg' is set to "internal" it still
|
||||
matches "grep".
|
||||
This command cannot be used to set the
|
||||
'makeprg' and 'grepprg' variables.
|
||||
If this command causes an error, the quickfix
|
||||
command is not executed.
|
||||
QuickFixCmdPost *QuickFixCmdPost*
|
||||
like QuickFixCmdPre, but after a quickfix
|
||||
command is run.
|
||||
*UserGettingBored*
|
||||
UserGettingBored When the user hits CTRL-C. Just kidding! :-)
|
||||
*User*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*change.txt* For Vim version 7.0aa. Last change: 2004 Dec 29
|
||||
*change.txt* For Vim version 7.0aa. Last change: 2005 Mar 16
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -52,6 +52,8 @@ For inserting text see |insert.txt|.
|
||||
of the line and [count]-1 more lines [into register
|
||||
x]; synonym for "d$".
|
||||
(not |linewise|)
|
||||
When the '#' flag is in 'cpoptions' the count is
|
||||
ignored.
|
||||
|
||||
{Visual}["x]x or *v_x* *v_d* *v_<Del>*
|
||||
{Visual}["x]d or
|
||||
@@ -110,19 +112,22 @@ gJ Join [count] lines, with a minimum of two lines.
|
||||
Vi}
|
||||
|
||||
*:j* *:join*
|
||||
:[range]j[oin][!] Join [range] lines. Same as "J", except with [!]
|
||||
:[range]j[oin][!] [flags]
|
||||
Join [range] lines. Same as "J", except with [!]
|
||||
the join does not insert or delete any spaces.
|
||||
If a [range] has equal start and end values, this
|
||||
command does nothing. The default behavior is to
|
||||
join the current line with the line below it.
|
||||
{not in Vi: !}
|
||||
See |ex-flags| for [flags].
|
||||
|
||||
:[range]j[oin][!] {count}
|
||||
:[range]j[oin][!] {count} [flags]
|
||||
Join {count} lines, starting with [range] (default:
|
||||
current line |cmdline-ranges|). Same as "J", except
|
||||
with [!] the join does not insert or delete any
|
||||
spaces.
|
||||
{not in Vi: !}
|
||||
See |ex-flags| for [flags].
|
||||
|
||||
These commands delete the <EOL> between lines. This has the effect of joining
|
||||
multiple lines into one line. You can repeat these commands (except ":j") and
|
||||
@@ -234,10 +239,12 @@ If you prefer "cw" to include the space after a word, use this mapping: >
|
||||
:map cw dwi
|
||||
<
|
||||
*:c* *:ch* *:change*
|
||||
:{range}c[hange] Replace lines of text with some different text.
|
||||
:{range}c[hange][!] Replace lines of text with some different text.
|
||||
Type a line containing only "." to stop replacing.
|
||||
Without {range}, this command changes only the current
|
||||
line.
|
||||
Adding [!] toggles 'autoindent' for the time this
|
||||
command is executed.
|
||||
|
||||
==============================================================================
|
||||
3. Simple changes *simple-change*
|
||||
@@ -378,7 +385,7 @@ The CTRL-A command is very useful in a macro. Example: Use the following
|
||||
steps to make a numbered list.
|
||||
|
||||
1. Create the first list entry, make sure it starts with a number.
|
||||
2. qa - start recording into buffer 'a'
|
||||
2. qa - start recording into register 'a'
|
||||
3. Y - yank the entry
|
||||
4. p - put a copy of the entry below the first one
|
||||
5. CTRL-A - increment the number
|
||||
@@ -422,12 +429,15 @@ SHIFTING LINES LEFT OR RIGHT *shift-left-right*
|
||||
lines to [indent] (default 0). {not in Vi}
|
||||
|
||||
*:>*
|
||||
:[range]> Shift {count} [range] lines one 'shiftwidth' right.
|
||||
:[range]> [flags] Shift {count} [range] lines one 'shiftwidth' right.
|
||||
Repeat '>' for shifting multiple 'shiftwidth's.
|
||||
See |ex-flags| for [flags].
|
||||
|
||||
:[range]> {count} Shift {count} lines one 'shiftwidth' right, starting
|
||||
:[range]> {count} [flags]
|
||||
Shift {count} lines one 'shiftwidth' right, starting
|
||||
with [range] (default current line |cmdline-ranges|).
|
||||
Repeat '>' for shifting multiple 'shiftwidth's.
|
||||
See |ex-flags| for [flags].
|
||||
|
||||
The ">" and "<" commands are handy for changing the indentation within
|
||||
programs. Use the 'shiftwidth' option to set the size of the white space
|
||||
@@ -517,7 +527,7 @@ comment (starting with '"') after the ":!" command.
|
||||
|
||||
4.2 Substitute *:substitute*
|
||||
*:s* *:su*
|
||||
:[range]s[ubstitute]/{pattern}/{string}/[&][c][e][g][p][r][i][I] [count]
|
||||
:[range]s[ubstitute]/{pattern}/{string}/[flags] [count]
|
||||
For each line in [range] replace a match of {pattern}
|
||||
with {string}.
|
||||
For the {pattern} see |pattern|.
|
||||
@@ -529,31 +539,31 @@ comment (starting with '"') after the ":!" command.
|
||||
starting with the last line in [range]. When [range]
|
||||
is omitted start in the current line.
|
||||
Also see |cmdline-ranges|.
|
||||
See |:s_flags| for the flags.
|
||||
See |:s_flags| for [flags].
|
||||
|
||||
:[range]s[ubstitute] [c][e][g][p][r][i][I] [count]
|
||||
:[range]&[&][c][e][g][p][r][i][I] [count] *:&*
|
||||
:[range]s[ubstitute] [flags] [count]
|
||||
:[range]&[&][flags] [count] *:&*
|
||||
Repeat last :substitute with same search pattern and
|
||||
substitute string, but without the same flags. You
|
||||
may add extra flags (see |:s_flags|).
|
||||
may add [flags], see |:s_flags|.
|
||||
Note that after ":substitute" the '&' flag can't be
|
||||
used, it's recognized as a pattern separator.
|
||||
The space between ":substitute" and the 'c', 'g' and
|
||||
'r' flags isn't required, but in scripts it's a good
|
||||
idea to keep it to avoid confusion.
|
||||
|
||||
:[range]~[&][c][e][g][p][r][i][I] [count] *:~*
|
||||
:[range]~[&][flags] [count] *:~*
|
||||
Repeat last substitute with same substitute string
|
||||
but with last used search pattern. This is like
|
||||
":&r". See |:s_flags| for the flags.
|
||||
":&r". See |:s_flags| for [flags].
|
||||
|
||||
*&*
|
||||
*&*
|
||||
& Synonym for ":s//~/" (repeat last substitute). Note
|
||||
that the flags are not remembered, thus it might
|
||||
actually work differently. You can use ":&&" to keep
|
||||
the flags.
|
||||
|
||||
*g&*
|
||||
*g&*
|
||||
g& Synonym for ":%s//~/&" (repeat last substitute on all
|
||||
lines with the same flags).
|
||||
Mnemonic: global substitute. {not in Vi}
|
||||
@@ -619,8 +629,15 @@ The flags that you can use for the substitute commands:
|
||||
options are not used.
|
||||
{not in Vi}
|
||||
|
||||
[n] Report the number of matches, do not actually substitute. The [c]
|
||||
flag is ignored. The matches are reported as if 'report' is zero.
|
||||
Useful to |count-items|.
|
||||
|
||||
[p] Print the line containing the last substitute.
|
||||
{not in Vi}
|
||||
|
||||
[#] Like [p] and prepend the line number.
|
||||
|
||||
[l] Like [l] but print the text like |:list|.
|
||||
|
||||
[r] Only useful in combination with ":&" or ":s" without arguments. ":&r"
|
||||
works the same way as ":~": When the search pattern is empty, use the
|
||||
@@ -666,6 +683,9 @@ For the definition of a pattern, see |pattern|.
|
||||
When the {string} starts with "\=" it is evaluated as an expression, see
|
||||
|sub-replace-expression|. Otherwise these characters in {string} have a
|
||||
special meaning:
|
||||
*:s%*
|
||||
When {string} is equal to "%" and '/' is included with the 'cpotions' option,
|
||||
then the {string} of the previous substitute command is used. |cpo-/|
|
||||
|
||||
magic nomagic action ~
|
||||
& \& replaced with the whole matched pattern *s/\&*
|
||||
@@ -1017,7 +1037,8 @@ except when the command specifies a register with ["x].
|
||||
4. Named registers "a to "z or "A to "Z *quote_alpha* *quotea*
|
||||
Vim fills these registers only when you say so. Specify them as lowercase
|
||||
letters to replace their previous contents or as uppercase letters to append
|
||||
to their previous contents.
|
||||
to their previous contents. When the '>' flag is present in 'cpoptions' then
|
||||
a line break is inserted before the appended text.
|
||||
|
||||
5. Read-only registers ":, "., "% and "#
|
||||
These are '%', '#', ':' and '.'. You can use them only with the "p", "P",
|
||||
@@ -1134,13 +1155,17 @@ The next three commands always work on whole lines.
|
||||
compile time.
|
||||
|
||||
*gq*
|
||||
gq{motion} Format the lines that {motion} moves over. The
|
||||
'textwidth' option controls the length of each
|
||||
formatted line (see below). If the 'textwidth' option
|
||||
is 0, the formatted line length is the screen width
|
||||
(with a maximum width of 79). {not in Vi}
|
||||
gq{motion} Format the lines that {motion} moves over.
|
||||
If 'formatprg' is empty formatting is done internally
|
||||
and the 'textwidth' option controls the length of each
|
||||
formatted line (see below).
|
||||
If the 'textwidth' option is 0, the formatted line
|
||||
length is the screen width (with a maximum width of
|
||||
79). {not in Vi}
|
||||
The 'formatoptions' option controls the type of
|
||||
formatting |fo-table|.
|
||||
The cursor is left on the first non-blank of the last
|
||||
formatted line.
|
||||
NOTE: The "Q" command formerly performed this
|
||||
function. If you still want to use "Q" for
|
||||
formatting, use this mapping: >
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*cmdline.txt* For Vim version 7.0aa. Last change: 2004 Dec 20
|
||||
*cmdline.txt* For Vim version 7.0aa. Last change: 2005 Feb 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -17,8 +17,9 @@ Basic command line editing is explained in chapter 20 of the user manual
|
||||
2. Command-line completion |cmdline-completion|
|
||||
3. Ex command-lines |cmdline-lines|
|
||||
4. Ex command-line ranges |cmdline-ranges|
|
||||
5. Ex special characters |cmdline-special|
|
||||
6. Command-line window |cmdline-window|
|
||||
5. Ex command-line flags |ex-flags|
|
||||
6. Ex special characters |cmdline-special|
|
||||
7. Command-line window |cmdline-window|
|
||||
|
||||
==============================================================================
|
||||
1. Command-line editing *cmdline-editing*
|
||||
@@ -153,6 +154,10 @@ CTRL-R {0-9a-z"%#:-=.} *c_CTRL-R* *c_<C-R>*
|
||||
'=' the expression register: you are prompted to
|
||||
enter an expression (see |expression|)
|
||||
See |registers| about registers. {not in Vi}
|
||||
Implementation detail: When using the |expression| register
|
||||
and invoking setcmdpos(), this sets the position before
|
||||
inserting the resulting string. Use CTRL-R CTRL-R to set the
|
||||
position afterwards.
|
||||
|
||||
CTRL-R CTRL-F *c_CTRL-R_CTRL-F* *c_<C-R>_<C-F>*
|
||||
CTRL-R CTRL-P *c_CTRL-R_CTRL-P* *c_<C-R>_<C-P>*
|
||||
@@ -664,7 +669,20 @@ Visual Mode and Range *v_:*
|
||||
lines.
|
||||
|
||||
==============================================================================
|
||||
5. Ex special characters *cmdline-special*
|
||||
5. Ex command-line flags *ex-flags*
|
||||
|
||||
These flags are supported by a selection of Ex commands. They print the line
|
||||
that the cursor ends up after executing the command:
|
||||
|
||||
l output like for |:list|
|
||||
# add line number
|
||||
p output like for |:print|
|
||||
|
||||
The flags can be combined, thus "l#" uses both a line number and |:list| style
|
||||
output.
|
||||
|
||||
==============================================================================
|
||||
6. Ex special characters *cmdline-special*
|
||||
|
||||
In Ex commands, at places where a file name can be used, the following
|
||||
characters have a special meaning. These can also be used in the expression
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*debugger.txt* For Vim version 7.0aa. Last change: 2001 Dec 22
|
||||
*debugger.txt* For Vim version 7.0aa. Last change: 2005 Mar 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Gordon Prieur
|
||||
@@ -90,20 +90,23 @@ was to allow Sun's Visual WorkShop debugger to display expression evaluations.
|
||||
However, the feature was implemented in as general a manner as possible and
|
||||
could be used for displaying other information as well.
|
||||
|
||||
The Balloon Evaluation has some settable parameters too. The font list and
|
||||
colors can be set via X resources (XmNballoonEvalFontList,
|
||||
The Balloon Evaluation has some settable parameters too. For Motif the font
|
||||
list and colors can be set via X resources (XmNballoonEvalFontList,
|
||||
XmNballoonEvalBackground, and XmNballoonEvalForeground).
|
||||
The 'balloondelay' option sets the delay before an attempt is made to show a
|
||||
balloon.
|
||||
The 'ballooneval' option needs to be set to switch it on.
|
||||
|
||||
Balloon evaluation is only available when compiled with the |+balloon_eval|
|
||||
and |+sun_workshop| features.
|
||||
feature.
|
||||
|
||||
The Balloon evaluation functions are also used to show a tooltip for the
|
||||
toolbar. The 'ballooneval' option does not need to be set for this. But the
|
||||
other settings apply.
|
||||
|
||||
Another way to use the balloon is with the 'balloonexpr' option. This is
|
||||
completely user definable.
|
||||
|
||||
==============================================================================
|
||||
2. Vim Compile Options *debugger-compilation*
|
||||
|
||||
@@ -129,7 +132,9 @@ all the above flags:
|
||||
==============================================================================
|
||||
3. Integrated Debuggers *debugger-integration*
|
||||
|
||||
Currently the only fully integrated debugger/IPE/IDE is Sun's Visual WorkShop
|
||||
Integrated Programming Environment.
|
||||
One fully integrated debugger/IPE/IDE is Sun's Visual WorkShop Integrated
|
||||
Programming Environment.
|
||||
|
||||
For Sun NetBeans support see |netbeans|.
|
||||
|
||||
vim:tw=78:sw=4:ts=8:ft=help:norl:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*diff.txt* For Vim version 7.0aa. Last change: 2004 Jul 20
|
||||
*diff.txt* For Vim version 7.0aa. Last change: 2005 Mar 08
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -157,8 +157,8 @@ original file and diff with that. For example: >
|
||||
|
||||
A buffer that is unloaded cannot be used for the diff. But it does work for
|
||||
hidden buffers. You can use ":hide" to close a window without unloading the
|
||||
buffer.
|
||||
|
||||
buffer. If you don't want a buffer to remain used for the diff do ":set
|
||||
nodiff" before hiding it.
|
||||
|
||||
*:diffu* *:diffupdate*
|
||||
Vim attempts to keep the differences updated when you make changes to the
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*digraph.txt* For Vim version 7.0aa. Last change: 2004 Oct 07
|
||||
*digraph.txt* For Vim version 7.0aa. Last change: 2005 Mar 06
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -161,8 +161,13 @@ These are the RFC1345 digraphs for the one-byte characters. See the output of
|
||||
":digraphs" for the others. The characters above 255 are only available when
|
||||
Vim was compiled with the |+multi_byte| feature.
|
||||
|
||||
EURO
|
||||
|
||||
Exception: RFC1345 doesn't specify the euro sign. In Vim the digraph =e was
|
||||
added for this.
|
||||
added for this. Note the difference between latin1, where the digraph Cu is
|
||||
used for the currency sign, and latin9 (iso-8859-15), where the digraph =e is
|
||||
used for the euro sign, while both of them are the character 164, 0xa4.
|
||||
|
||||
*digraph-table*
|
||||
char digraph hex dec official name ~
|
||||
^@ NU 0x00 0 NULL (NUL)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*editing.txt* For Vim version 7.0aa. Last change: 2004 Dec 29
|
||||
*editing.txt* For Vim version 7.0aa. Last change: 2005 Feb 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -69,18 +69,21 @@ CTRL-G or *CTRL-G* *:f* *:fi* *:file*
|
||||
buffer number is also given. {not in Vi}
|
||||
|
||||
*g_CTRL-G* *word-count* *byte-count*
|
||||
g CTRL-G Prints the current position of the cursor in four
|
||||
ways: Column, Line, Word and Byte. If there are
|
||||
characters in the line that take more than one
|
||||
position on the screen (<Tab> or special character),
|
||||
both the "real" column and the screen column are
|
||||
shown, separated with a dash. See also 'ruler'
|
||||
option. {not in Vi}
|
||||
g CTRL-G Prints the current position of the cursor in five
|
||||
ways: Column, Line, Word, Character and Byte. If the
|
||||
number of Characters and Bytes is the same then the
|
||||
Character position is omitted.
|
||||
If there are characters in the line that take more
|
||||
than one position on the screen (<Tab> or special
|
||||
character), both the "real" column and the screen
|
||||
column are shown, separated with a dash.
|
||||
See also 'ruler' option. {not in Vi}
|
||||
|
||||
*v_g_CTRL-G*
|
||||
{Visual}g CTRL-G Similar to "g CTRL-G", but Word, Line, and Byte counts
|
||||
for the visually selected region are displayed. In
|
||||
Blockwise mode, Column count is also shown. (For
|
||||
{Visual}g CTRL-G Similar to "g CTRL-G", but Word, Character, Line, and
|
||||
Byte counts for the visually selected region are
|
||||
displayed.
|
||||
In Blockwise mode, Column count is also shown. (For
|
||||
{Visual} see |Visual-mode|.)
|
||||
{not in VI}
|
||||
|
||||
@@ -90,7 +93,7 @@ g CTRL-G Prints the current position of the cursor in four
|
||||
If the buffer did have a name, that name becomes the
|
||||
|alternate-file| name. An unlisted buffer is created
|
||||
to hold the old name.
|
||||
|
||||
*:0file*
|
||||
:0f[ile][!] Remove the name of the current buffer. The optional !
|
||||
avoids truncating the message, as with |:file|. {not
|
||||
in Vi}
|
||||
@@ -1140,13 +1143,16 @@ You may use the |:cd| and |:lcd| commands to change to another directory, so
|
||||
you will not have to type that directory name in front of the file names. It
|
||||
also makes a difference for executing external commands, e.g. ":!ls".
|
||||
|
||||
Changing directory fails when the current buffer is modified, the '.' flag is
|
||||
present in 'cpoptions' and "!" is not used in the command.
|
||||
|
||||
*:cd* *E472*
|
||||
:cd On non-Unix systems: Print the current directory
|
||||
:cd[!] On non-Unix systems: Print the current directory
|
||||
name. On Unix systems: Change the current directory
|
||||
to the home directory. Use |:pwd| to print the
|
||||
current directory on all systems.
|
||||
|
||||
:cd {path} Change the current directory to {path}.
|
||||
:cd[!] {path} Change the current directory to {path}.
|
||||
If {path} is relative, it is searched for in the
|
||||
directories listed in |'cdpath'|.
|
||||
Does not change the meaning of an already opened file,
|
||||
@@ -1157,19 +1163,19 @@ also makes a difference for executing external commands, e.g. ":!ls".
|
||||
:cd %:h
|
||||
<
|
||||
*:cd-* *E186*
|
||||
:cd - Change to the previous current directory (before the
|
||||
:cd[!] - Change to the previous current directory (before the
|
||||
previous ":cd {path}" command). {not in Vi}
|
||||
|
||||
*:chd* *:chdir*
|
||||
:chd[ir] [path] Same as |:cd|.
|
||||
:chd[ir][!] [path] Same as |:cd|.
|
||||
|
||||
*:lc* *:lcd*
|
||||
:lc[d] {path} Like |:cd|, but only set the current directory for the
|
||||
:lc[d][!] {path} Like |:cd|, but only set the current directory for the
|
||||
current window. The current directory for other
|
||||
windows is not changed. {not in Vi}
|
||||
|
||||
*:lch* *:lchdir*
|
||||
:lch[dir] Same as |:lcd|. {not in Vi}
|
||||
:lch[dir][!] Same as |:lcd|. {not in Vi}
|
||||
|
||||
*:pw* *:pwd* *E187*
|
||||
:pw[d] Print the current directory name. {Vi: no pwd}
|
||||
@@ -1328,9 +1334,9 @@ file though, only when the file wasn't changed inside of Vim.
|
||||
Note that if a FileChangedShell autocommand is defined you will not get a
|
||||
warning message or prompt. The autocommand is expected to handle this.
|
||||
|
||||
There is no warning for a directory (e.g., in the |file-explorer|). But you
|
||||
do get warned if you started editing a new file and it was created as a
|
||||
directory later.
|
||||
There is no warning for a directory (e.g., with |netrw-browse|). But you do
|
||||
get warned if you started editing a new file and it was created as a directory
|
||||
later.
|
||||
|
||||
When Vim notices the timestamp of a file has changed, and the file is being
|
||||
edited in a buffer but has not changed, Vim checks if the contents of the file
|
||||
|
||||
1817
runtime/doc/eval.txt
1817
runtime/doc/eval.txt
File diff suppressed because it is too large
Load Diff
@@ -25,7 +25,7 @@ maniera usuale.
|
||||
La modifica file sar<61> molto meno efficiente.
|
||||
.PP
|
||||
.B eview
|
||||
come sopra, ma parte in modalit<69> "Sola Lettura". Funziona come evim -R.
|
||||
come sopra, ma parte in modalit<69> "Sola Lettura". Funziona come evim \-R.
|
||||
.PP
|
||||
Vedere vim(1) per dettagli riguardo a Vim, opzioni, etc.
|
||||
.PP
|
||||
|
||||
54
runtime/doc/evim-it.UTF-8.1
Normal file
54
runtime/doc/evim-it.UTF-8.1
Normal file
@@ -0,0 +1,54 @@
|
||||
.TH EVIM 1 "16 febbraio 2002 "
|
||||
.SH NOME
|
||||
evim \- Vim "facile", Vim impostato in modo da poter essere usato
|
||||
facilmente per modificare file, anche da chi non abbia familiarità
|
||||
con i comandi.
|
||||
.SH SINTASSI
|
||||
.br
|
||||
.B evim
|
||||
[opzioni] [file ..]
|
||||
.br
|
||||
.B eview
|
||||
.SH DESCRIZIONE
|
||||
.B evim
|
||||
Inizia
|
||||
.B Vim
|
||||
e imposta le opzioni per farlo comportare come un editore "modeless".
|
||||
State sempre usando Vim, ma come un editore "posizionati-e-clicca".
|
||||
Simile all'uso di Notepad in MS-Windows.
|
||||
.B evim
|
||||
richiede la presenza della GUI, per avere a disposizione menu e barra
|
||||
strumenti.
|
||||
.PP
|
||||
Da usarsi solo da parte di chi non è in grado di lavorare con Vim nella
|
||||
maniera usuale.
|
||||
La modifica file sarà molto meno efficiente.
|
||||
.PP
|
||||
.B eview
|
||||
come sopra, ma parte in modalità "Sola Lettura". Funziona come evim \-R.
|
||||
.PP
|
||||
Vedere vim(1) per dettagli riguardo a Vim, opzioni, etc.
|
||||
.PP
|
||||
L'opzione 'insertmode' è impostata per poter immettere del testo direttamente.
|
||||
.br
|
||||
Sono definite delle mappature che consentono di usare COPIA e INCOLLA con i
|
||||
familiari tasti usati sotto MS-Windows.
|
||||
CTRL-X taglia testo, CTRL-C copia testo e CTRL-V incolla testo.
|
||||
Usate CTRL-Q per ottenere quello chs si ottierrebbe con CTRL-V in Vim nativo.
|
||||
.SH OPZIONI
|
||||
Vedere vim(1).
|
||||
.SH FILE
|
||||
.TP 15
|
||||
/usr/local/lib/vim/evim.vim
|
||||
Lo script caricato per inizializzare eVim.
|
||||
.SH NAC [NOTO ANCHE COME]
|
||||
Noto Anche Come "Vim per semplici".
|
||||
Quando usate evim si suppone che prendiate un fazzoletto,
|
||||
facciate un nodo ad ogni angolo e ve lo mettiate in testa.
|
||||
.SH VEDERE ANCHE
|
||||
vim(1)
|
||||
.SH AUTORE
|
||||
Buona parte di
|
||||
.B Vim
|
||||
è stato scritto da Bram Moolenaar, con molto aiuto da altri.
|
||||
Vedere il Menu "Aiuto/Crediti".
|
||||
59
runtime/doc/evim-ru.1
Normal file
59
runtime/doc/evim-ru.1
Normal file
@@ -0,0 +1,59 @@
|
||||
.TH EVIM 1 "2002 February 16"
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD>
|
||||
evim \- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Vim, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Vim <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.br
|
||||
.B evim
|
||||
[<5B><><EFBFBD><EFBFBD><EFBFBD>] [<5B><><EFBFBD><EFBFBD> ..]
|
||||
.br
|
||||
.B eview
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B evim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Vim <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
Notepad <20><> MS-Windows.
|
||||
.B eVim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD>, <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>-<2D><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> Vim <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Vim.
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B eview
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>". <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
evim \-R.
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> Vim, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20>.<2E>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
vim(1).
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B evim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> 'insertmode', <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.br
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> MS-Windows
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. CTRL-X <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, CTRL-C <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> CTRL-V <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> CTRL-V, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> CTRL-Q.
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD>. vim(1).
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.TP 15
|
||||
/usr/local/lib/vim/evim.vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> eVim.
|
||||
.SH AKA
|
||||
eVim <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> "Vim <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
vim(1)
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (Bram Moolenaar), <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>. <20><>. <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
59
runtime/doc/evim-ru.UTF-8.1
Normal file
59
runtime/doc/evim-ru.UTF-8.1
Normal file
@@ -0,0 +1,59 @@
|
||||
.TH EVIM 1 "2002 February 16"
|
||||
.SH ИМЯ
|
||||
evim \- простой Vim, позволяет редактировать файл с помощью Vim в безрежимном режиме
|
||||
.SH КОМАНДНАЯ СТРОКА
|
||||
.br
|
||||
.B evim
|
||||
[ключи] [файл ..]
|
||||
.br
|
||||
.B eview
|
||||
.SH ОПИСАНИЕ
|
||||
Команда
|
||||
.B evim
|
||||
запускает
|
||||
.B Vim
|
||||
и настраивает ряд опций таким образом, что он начинает вести себя
|
||||
как обычный безрежимный редактор. В этом режиме Vim напоминает
|
||||
Notepad из MS-Windows.
|
||||
.B eVim
|
||||
всегда запускается с поддержкой графического интерфейса, чтобы обеспечить
|
||||
использование меню и инструментальной панели.
|
||||
.PP
|
||||
Эта команда создана для тех, кто по каким-то причинам не в состоянии
|
||||
работать с Vim в обычном режиме. Редактирование файлов при этом происходит
|
||||
гораздо менее эффективно, чем при использовании обычного Vim.
|
||||
.PP
|
||||
Команда
|
||||
.B eview
|
||||
выполняет почти ту же самую задачу, но файл открывается в режиме "только
|
||||
для чтения". Использование этой команды полностью идентично использованию
|
||||
evim \-R.
|
||||
.PP
|
||||
Подробнее о Vim, ключах запуска и т.п. смотрите на странице справочника
|
||||
vim(1).
|
||||
.PP
|
||||
При использовании
|
||||
.B evim
|
||||
включается опция 'insertmode', что позволяет вводить текст напрямую.
|
||||
.br
|
||||
Кроме того, настраиваются привязки, позволяющие использовать кнопки MS-Windows
|
||||
для выполнения команд копирования и вклейки. CTRL-X используется для вырезания
|
||||
текста, CTRL-C для копирования и CTRL-V для вклейки. Чтобы воспользоваться
|
||||
изначальным значением кнопки CTRL-V, используйте CTRL-Q.
|
||||
.SH ПАРАМЕТРЫ ЗАПУСКА
|
||||
См. vim(1).
|
||||
.SH ФАЙЛЫ
|
||||
.TP 15
|
||||
/usr/local/lib/vim/evim.vim
|
||||
Сценарий, который загружается для инициализации eVim.
|
||||
.SH AKA
|
||||
eVim также известен как "Vim для чайников".
|
||||
Для наилучшего эффекта рекомендуется во время использования повязать
|
||||
на голове платок, предварительно завязав на каждом конце по узелку.
|
||||
.SH СМОТРИ ТАКЖЕ
|
||||
vim(1)
|
||||
.SH АВТОРЫ
|
||||
Большая часть
|
||||
.B Vim
|
||||
создана Брамом Мооленааром (Bram Moolenaar), которому помогает огромное
|
||||
количество людей. См. меню Справка/Благодарности.
|
||||
@@ -21,7 +21,7 @@ Only to be used for people who really can't work with Vim in the normal way.
|
||||
Editing will be much less efficient.
|
||||
.PP
|
||||
.B eview
|
||||
is the same, but starts in read-only mode. It works just like evim -R.
|
||||
is the same, but starts in read-only mode. It works just like evim \-R.
|
||||
.PP
|
||||
See vim(1) for details about Vim, options, etc.
|
||||
.PP
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*gui.txt* For Vim version 7.0aa. Last change: 2004 Dec 29
|
||||
*gui.txt* For Vim version 7.0aa. Last change: 2005 Jan 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -144,7 +144,7 @@ window Vim is running in with this command: >
|
||||
==============================================================================
|
||||
2. Scrollbars *gui-scrollbars*
|
||||
|
||||
There are vertical scrollbars and a horizontal scrollbars. You may
|
||||
There are vertical scrollbars and a horizontal scrollbar. You may
|
||||
configure which ones appear with the 'guioptions' option.
|
||||
|
||||
The interface looks like this (with ":set guioptions=mlrb"):
|
||||
@@ -203,11 +203,11 @@ scrolled as far as possible left and right. The cursor is moved when
|
||||
necessary, it must remain on a visible character (unless 'virtualedit' is
|
||||
set).
|
||||
|
||||
Computing the length of the longest visible takes quite a bit of computation,
|
||||
and it has to be done every time something changes. If this takes too much
|
||||
time or you don't like the cursor jumping to another line, include the 'h'
|
||||
flag in 'guioptions'. Then the scrolling is limited by the text of the
|
||||
current cursor line.
|
||||
Computing the length of the longest visible line takes quite a bit of
|
||||
computation, and it has to be done every time something changes. If this
|
||||
takes too much time or you don't like the cursor jumping to another line,
|
||||
include the 'h' flag in 'guioptions'. Then the scrolling is limited by the
|
||||
text of the current cursor line.
|
||||
|
||||
*athena-intellimouse*
|
||||
If you have an Intellimouse and an X server that supports using the wheel,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*gui_w32.txt* For Vim version 7.0aa. Last change: 2004 May 03
|
||||
*gui_w32.txt* For Vim version 7.0aa. Last change: 2005 Feb 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -233,7 +233,9 @@ $VIMRUNTIME/mswin.vim script. You could add this line to your _vimrc file: >
|
||||
Since CTRL-C is used to copy the text to the clipboard, it can't be used to
|
||||
cancel an operation. Use CTRL-Break for that.
|
||||
|
||||
*CTRL-V-alternative*
|
||||
CTRL-Z is used for undo. This means you can't suspend Vim.
|
||||
|
||||
*CTRL-V-alternative* *CTRL-Q*
|
||||
Since CTRL-V is used to paste, you can't use it to start a blockwise Visual
|
||||
selection. You can use CTRL-Q instead. You can also use CTRL-Q in Insert
|
||||
mode and Command-line mode to get the old meaning of CTRL-V. But CTRL-Q
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*help.txt* For Vim version 7.0aa. Last change: 2004 Dec 30
|
||||
*help.txt* For Vim version 7.0aa. Last change: 2005 Mar 19
|
||||
|
||||
VIM - main help file
|
||||
k
|
||||
@@ -122,6 +122,7 @@ Advanced editing ~
|
||||
|quickfix.txt| commands for a quick edit-compile-fix cycle
|
||||
|windows.txt| commands for using multiple windows and buffers
|
||||
|syntax.txt| syntax highlighting
|
||||
|spell.txt| spell checking
|
||||
|diff.txt| working with two or three versions of the same file
|
||||
|autocmd.txt| automatically executing commands on an event
|
||||
|filetype.txt| settings done specifically for a type of file
|
||||
|
||||
@@ -472,7 +472,7 @@ cscope within Vim to him.
|
||||
*cscope-win32*
|
||||
For a cscope version for Win32 see: http://iamphet.nm.ru/cscope/index.html
|
||||
|
||||
Win32 support was added by Sergey Khorev <khorev@softlab.ru>. Contact him
|
||||
if you have Win32-specific issues.
|
||||
Win32 support was added by Sergey Khorev <sergey.khorev@gmail.com>. Contact
|
||||
him if you have Win32-specific issues.
|
||||
|
||||
vim:tw=78:ts=8:ft=help:norl:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*if_mzsch.txt* For Vim version 7.0aa. Last change: 2004 Jul 05
|
||||
*if_mzsch.txt* For Vim version 7.0aa. Last change: 2005 Jan 23
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Sergey Khorev
|
||||
@@ -17,6 +17,7 @@ The MzScheme interface is available only if Vim was compiled with the
|
||||
|+mzscheme| feature.
|
||||
|
||||
Based on the work of Brent Fulgham.
|
||||
Dynamic loading added by Sergey Khorev
|
||||
|
||||
For downloading MzScheme and other info:
|
||||
http://www.plt-scheme.org/software/mzscheme/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*indent.txt* For Vim version 7.0aa. Last change: 2004 Sep 02
|
||||
*indent.txt* For Vim version 7.0aa. Last change: 2005 Feb 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -485,6 +485,20 @@ to get do loops indented in .f90 files and left alone in Fortran files with
|
||||
other extensions such as .for.
|
||||
|
||||
|
||||
PYTHON *python-indent*
|
||||
|
||||
The amount of indent can be set for the following situations. The examples
|
||||
given are de the defaults. Note that the variables are set to an expression,
|
||||
so that you can change the value of 'shiftwidth' later.
|
||||
|
||||
Indent after an open paren: >
|
||||
let g:pyindent_open_paren = '&sw * 2'
|
||||
Indent after a nested paren: >
|
||||
let g:pyindent_nested_paren = '&sw'
|
||||
Indent for a continuation line: >
|
||||
let g:pyindent_continue = '&sw * 2'
|
||||
|
||||
|
||||
VERILOG *verilog-indent*
|
||||
|
||||
General block statements such as if, for, case, always, initial, function,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*index.txt* For Vim version 7.0aa. Last change: 2004 Dec 29
|
||||
*index.txt* For Vim version 7.0aa. Last change: 2005 Feb 25
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1211,6 +1211,7 @@ The commands are sorted on the non-optional part of their name.
|
||||
|:loadkeymap| :loadk[eymap] load the following keymaps until EOF
|
||||
|:loadview| :lo[adview] load view for current window from a file
|
||||
|:lockmarks| :loc[kmarks] following command keeps marks where they are
|
||||
|:lockvar| :lockv[ar] lock variables
|
||||
|:ls| :ls list all buffers
|
||||
|:lunmap| :lu[nmap] like ":unmap!" but includes Lang-Arg mode
|
||||
|:move| :m[ove] move lines
|
||||
@@ -1257,10 +1258,13 @@ The commands are sorted on the non-optional part of their name.
|
||||
|:options| :opt[ions] open the options-window
|
||||
|:ounmap| :ou[nmap] like ":unmap" but for Operator-pending mode
|
||||
|:ounmenu| :ounme[nu] remove menu for Operator-pending mode
|
||||
|:print| :p[rint] print lines
|
||||
|:pclose| :pc[lose] close preview window
|
||||
|:pedit| :ped[it] edit file in the preview window
|
||||
|:perl| :pe[rl] execute Perl command
|
||||
|:print| :p[rint] print lines
|
||||
|:profile| :prof[ile] profiling functions and scripts
|
||||
|:promptfind| :pro[mtfind] open GUI dialog for searching
|
||||
|:promptrepl| :promtr[epl] open GUI dialog for search/replace
|
||||
|:perldo| :perld[o] execute Perl command for each line
|
||||
|:pop| :po[p] jump to older entry in tag stack
|
||||
|:popup| :pop[up] popup a menu by name
|
||||
@@ -1395,6 +1399,7 @@ The commands are sorted on the non-optional part of their name.
|
||||
|:unhide| :unh[ide] open a window for each loaded file in the
|
||||
buffer list
|
||||
|:unlet| :unl[et] delete variable
|
||||
|:unlockvar| :unlo[ckvar] unlock variables
|
||||
|:unmap| :unm[ap] remove mapping
|
||||
|:unmenu| :unme[nu] remove menu
|
||||
|:update| :up[date] write buffer if modified
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*insert.txt* For Vim version 7.0aa. Last change: 2004 Dec 21
|
||||
*insert.txt* For Vim version 7.0aa. Last change: 2005 Feb 21
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -53,7 +53,8 @@ char action ~
|
||||
yourself to use CTRL-[.
|
||||
*i_CTRL-C*
|
||||
CTRL-C Quit insert mode, go back to Normal mode. Do not check for
|
||||
abbreviations.
|
||||
abbreviations. Does not trigger the |InsertLeave| autocommand
|
||||
event.
|
||||
|
||||
*i_CTRL-@*
|
||||
CTRL-@ Insert previously inserted text and stop insert. {Vi: only
|
||||
@@ -921,6 +922,9 @@ i Insert text before the cursor [count] times.
|
||||
*I*
|
||||
I Insert text before the first non-blank in the line
|
||||
[count] times.
|
||||
When the 'H' flag is present in 'cpoptions' and the
|
||||
line only contains blanks, insert start just before
|
||||
the last blank.
|
||||
|
||||
*gI*
|
||||
gI Insert text in column 1 [count] times. {not in Vi}
|
||||
@@ -940,11 +944,15 @@ gi Insert text in the same position as where Insert mode
|
||||
o Begin a new line below the cursor and insert text,
|
||||
repeat [count] times. {Vi: blank [count] screen
|
||||
lines}
|
||||
When the '#' flag is in 'cpoptions' the count is
|
||||
ignored.
|
||||
|
||||
*O*
|
||||
O Begin a new line above the cursor and insert text,
|
||||
repeat [count] times. {Vi: blank [count] screen
|
||||
lines}
|
||||
When the '#' flag is in 'cpoptions' the count is
|
||||
ignored.
|
||||
|
||||
These commands are used to start inserting text. You can end insert mode with
|
||||
<Esc>. See |mode-ins-repl| for the other special characters in Insert mode.
|
||||
@@ -962,20 +970,31 @@ too long when appending characters a line break is automatically inserted.
|
||||
9. Ex insert commands *inserting-ex*
|
||||
|
||||
*:a* *:append*
|
||||
:{range}a[ppend] Insert several lines of text below the specified
|
||||
:{range}a[ppend][!] Insert several lines of text below the specified
|
||||
line. If the {range} is missing, the text will be
|
||||
inserted after the current line.
|
||||
Adding [!] toggles 'autoindent' for the time this
|
||||
command is executed.
|
||||
|
||||
*:i* *:in* *:insert*
|
||||
:{range}i[nsert] Insert several lines of text above the specified
|
||||
:{range}i[nsert][!] Insert several lines of text above the specified
|
||||
line. If the {range} is missing, the text will be
|
||||
inserted before the current line.
|
||||
Adding [!] toggles 'autoindent' for the time this
|
||||
command is executed.
|
||||
|
||||
These two commands will keep on asking for lines, until you type a line
|
||||
containing only a ".". Watch out for lines starting with a backslash, see
|
||||
|line-continuation|.
|
||||
When these commands are used with |:global| or |:vglobal| then the lines are
|
||||
obtained from the text following the command. Separate lines with a NL
|
||||
escaped with a backslash: >
|
||||
:global/abc/insert\
|
||||
one line\
|
||||
another line
|
||||
The final "." is not needed then.
|
||||
NOTE: ":append" and ":insert" don't work properly in between ":if" and
|
||||
":endif".
|
||||
":endif", ":for" and ":endfor", ":while" and ":endwhile".
|
||||
|
||||
*:start* *:startinsert*
|
||||
:star[tinsert][!] Start Insert mode just after executing this command.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*intro.txt* For Vim version 7.0aa. Last change: 2004 Dec 16
|
||||
*intro.txt* For Vim version 7.0aa. Last change: 2005 Feb 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -289,8 +289,7 @@ Vi "the original". Without further remarks this is the version
|
||||
Posix From the IEEE standard 1003.2, Part 2: Shell and utilities.
|
||||
Generally known as "Posix". This is a textual description of
|
||||
how Vi is supposed to work.
|
||||
The version used is a draft from beginning 1996, so all remarks are
|
||||
"expected to comply to" this. Anything can change though...
|
||||
See |posix-compliance|.
|
||||
*Nvi*
|
||||
Nvi The "New" Vi. The version of Vi that comes with BSD 4.4 and FreeBSD.
|
||||
Very good compatibility with the original Vi, with a few extensions.
|
||||
@@ -691,9 +690,9 @@ Q Switch to "Ex" mode. This is a bit like typing ":"
|
||||
|vimrc_example.vim| script "Q" works like "gq".
|
||||
|
||||
*gQ*
|
||||
gQ Switch to "Ex" mode, but really behave like typing ":"
|
||||
commands after another. All command line editing,
|
||||
completion etc. is available.
|
||||
gQ Switch to "Ex" mode like with "Q", but really behave
|
||||
like typing ":" commands after another. All command
|
||||
line editing, completion etc. is available.
|
||||
Use the ":vi" command |:visual| to exit "Ex" mode.
|
||||
{not in Vi}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*map.txt* For Vim version 7.0aa. Last change: 2004 Dec 29
|
||||
*map.txt* For Vim version 7.0aa. Last change: 2005 Feb 27
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -972,7 +972,7 @@ argument (-count=N, like the |:Next| command). Possible attributes are:
|
||||
-range=N A count (default N) which is specified in the line
|
||||
number position (like |:split|)
|
||||
-count=N A count (default N) which is specified either in the line
|
||||
number position, or as an initial argument (like |:Next|)
|
||||
number position, or as an initial argument (like |:Next|).
|
||||
Specifying -count (without a default) acts like -count=0
|
||||
|
||||
Note that -range=N and -count=N are mutually exclusive - only one should be
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*mbyte.txt* For Vim version 7.0aa. Last change: 2004 Dec 19
|
||||
*mbyte.txt* For Vim version 7.0aa. Last change: 2005 Feb 13
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar et al.
|
||||
@@ -1319,7 +1319,7 @@ a zero if necessary.
|
||||
COMMAND ARGUMENTS *utf-8-char-arg*
|
||||
|
||||
Commands like |f|, |F|, |t| and |r| take an argument of one character. For
|
||||
UTF-8 this argument may include one or two composing characters. These needs
|
||||
UTF-8 this argument may include one or two composing characters. These need
|
||||
to be produced together with the base character, Vim doesn't wait for the next
|
||||
character to be typed to find out if it is a composing character or not.
|
||||
Using 'keymap' or |:lmap| is a nice way to type these characters.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*message.txt* For Vim version 7.0aa. Last change: 2004 Aug 26
|
||||
*message.txt* For Vim version 7.0aa. Last change: 2005 Feb 13
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -55,7 +55,7 @@ or view a list of recent messages with: >
|
||||
LIST OF MESSAGES
|
||||
*E222* *E228* *E232* *E256* *E293* *E298* *E304* *E317*
|
||||
*E318* *E356* *E438* *E439* *E440* *E316* *E320* *E322*
|
||||
*E323* *E341* *E473* *E570* >
|
||||
*E323* *E341* *E473* *E570* *E685* >
|
||||
Add to read buffer
|
||||
makemap: Illegal mode
|
||||
Cannot create BalloonEval with both message and callback
|
||||
@@ -74,6 +74,7 @@ LIST OF MESSAGES
|
||||
line number out of range: {N} past the end
|
||||
line count wrong in block {N}
|
||||
Internal error
|
||||
Internal error: {function}
|
||||
fatal error in cs_manage_matches
|
||||
|
||||
This is an internal error. If you can reproduce it, please send in a bug
|
||||
@@ -363,7 +364,8 @@ cannot be written. You need to give the buffer a file name: >
|
||||
|
||||
When using the '~' character in a pattern, it is replaced with the previously
|
||||
used pattern in a ":substitute" command. This fails when no such command has
|
||||
been used yet. See |/~|.
|
||||
been used yet. See |/~|. This also happens when using ":s/pat/%/", where the
|
||||
"%" stands for the previous substitute string.
|
||||
|
||||
*E35* >
|
||||
No previous regular expression
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*motion.txt* For Vim version 7.0aa. Last change: 2004 Dec 29
|
||||
*motion.txt* For Vim version 7.0aa. Last change: 2005 Feb 08
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -350,6 +350,10 @@ or the last line. The first two commands put the cursor in the same column
|
||||
except after the "$" command, then the cursor will be put on the last
|
||||
character of the line.
|
||||
|
||||
If "k", "-" or CTRL-P is used with a [count] and there are less than [count]
|
||||
lines above the cursor and the 'cpo' option includes the "-" flag it is an
|
||||
error. |cpo--|.
|
||||
|
||||
==============================================================================
|
||||
4. Word motions *word-motions*
|
||||
|
||||
@@ -461,9 +465,12 @@ A paragraph begins after each empty line, and also at each of a set of
|
||||
paragraph macros, specified by the pairs of characters in the 'paragraphs'
|
||||
option. The default is "IPLPPPQPP LIpplpipbp", which corresponds to the
|
||||
macros ".IP", ".LP", etc. (These are nroff macros, so the dot must be in the
|
||||
first column). A section boundary is also a paragraph boundary. Note that
|
||||
this does not include a '{' or '}' in the first column. Also note that a
|
||||
blank line (only containing white space) is NOT a paragraph boundary.
|
||||
first column). A section boundary is also a paragraph boundary.
|
||||
Note that a blank line (only containing white space) is NOT a paragraph
|
||||
boundary.
|
||||
Also note that this does not include a '{' or '}' in the first column. When
|
||||
the '{' flag is in 'cpoptions' then '{' in the first column is used as a
|
||||
paragraph boundary |posix|.
|
||||
|
||||
*section*
|
||||
A section begins after a form-feed (<C-L>) in the first column and at each of
|
||||
@@ -938,7 +945,9 @@ These commands are not marks themselves, but jump to a mark:
|
||||
<
|
||||
Note that ":keepjumps" must be used for every command.
|
||||
When invoking a function the commands in that function
|
||||
can still change the jumplist.
|
||||
can still change the jumplist. Also, for
|
||||
":keepjumps exe 'command '" the "command" won't keep
|
||||
jumps. Instead use: ":exe 'keepjumps command'"
|
||||
|
||||
==============================================================================
|
||||
8. Jumps *jump-motions*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*netbeans.txt* For Vim version 7.0aa. Last change: 2004 Jun 16
|
||||
*netbeans.txt* For Vim version 7.0aa. Last change: 2005 Jan 31
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Gordon Prieur
|
||||
@@ -16,7 +16,8 @@ NetBeans ExternalEditor Integration Features *netbeans*
|
||||
8. Messages |netbeans-messages|
|
||||
9. Running Vim from NetBeans |netbeans-run|
|
||||
10. NetBeans protocol |netbeans-protocol|
|
||||
11. Known problems |netbeans-problems|
|
||||
11. NetBeans commands |netbeans-commands|
|
||||
12. Known problems |netbeans-problems|
|
||||
|
||||
{Vi does not have any of these features}
|
||||
{only available when compiled with the |+netbeans_intg| feature}
|
||||
@@ -197,6 +198,14 @@ NetBeans connection lost for this buffer
|
||||
for saving changes to this file and NetBeans will no longer
|
||||
know of these changes.
|
||||
|
||||
*E744*
|
||||
NetBeans does not allow changes in read-only files
|
||||
Vim normally allows changes to a read-only file and only
|
||||
enforces the read-only rule if you try to write the file.
|
||||
However, NetBeans does not let you make changes to a file
|
||||
which is read-only and becomes confused if vim does this.
|
||||
So vim does not allow modifications to files when run with
|
||||
NetBeans.
|
||||
==============================================================================
|
||||
9. Running Vim from NetBeans *netbeans-run*
|
||||
|
||||
@@ -551,6 +560,9 @@ stopCaretListen
|
||||
stopDocumentListen
|
||||
Mark the buffer to stop reporting changes to the IDE.
|
||||
Opposite of startDocumentListen.
|
||||
NOTE: if "netbeansBuffer" was used to mark this buffer as a
|
||||
NetBeans buffer, then the buffer is deleted in Vim. This is
|
||||
for compatibility with Sun Studio 10.
|
||||
|
||||
unguard off len
|
||||
Opposite of "guard", remove guarding for a text area.
|
||||
@@ -755,7 +767,18 @@ DETACH IDE -> editor: break the connection without exiting the
|
||||
REJECT Not used.
|
||||
|
||||
==============================================================================
|
||||
11. Known problems *netbeans-problems*
|
||||
11. NetBeans Commands *netbeans-commands*
|
||||
|
||||
*:nbkey*
|
||||
:nbkey key Pass the key to NetBeans for processing
|
||||
|
||||
Pass the key to NetBeans for hot-key processing. You should not need to use
|
||||
this command directly. However, NetBeans passes a list of hot-keys to Vim at
|
||||
startup and when one of these keys is pressed, this command is generated to
|
||||
send the key press back to NetBeans.
|
||||
|
||||
==============================================================================
|
||||
12. Known problems *netbeans-problems*
|
||||
|
||||
NUL bytes are not possible. For editor -> IDE they will appear as NL
|
||||
characters. For IDE -> editor they cannot be inserted.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*options.txt* For Vim version 7.0aa. Last change: 2004 Dec 24
|
||||
*options.txt* For Vim version 7.0aa. Last change: 2005 Mar 28
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -600,10 +600,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
{not in Vi}
|
||||
{only available when compiled with the |+farsi|
|
||||
feature}
|
||||
When on, the second language is Farsi. In editing mode CTRL-_ toggles
|
||||
When on, the second language is Farsi. In editing mode CTRL-_ toggles
|
||||
the keyboard map between Farsi and English, when 'allowrevins' set.
|
||||
|
||||
When off, the keyboard map toggles between Hebrew and English. This
|
||||
When off, the keyboard map toggles between Hebrew and English. This
|
||||
is useful to start the Vim in native mode i.e. English (left-to-right
|
||||
mode) and have default second language Farsi or Hebrew (right-to-left
|
||||
mode). See |farsi.txt|.
|
||||
@@ -620,7 +620,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
letters, Cyrillic letters).
|
||||
|
||||
There are currently two possible values:
|
||||
"single": Use the same width as characters in US-ASCII. This is
|
||||
"single": Use the same width as characters in US-ASCII. This is
|
||||
expected by most users.
|
||||
"double": Use twice the width of ASCII characters.
|
||||
|
||||
@@ -628,9 +628,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
those characters are solely based on how many octets they take in
|
||||
legacy/traditional CJK encodings. In those encodings, Euro,
|
||||
Registered sign, Greek/Cyrillic letters are represented by two octets,
|
||||
therefore those fonts have "wide" glyphs for them. This is also
|
||||
therefore those fonts have "wide" glyphs for them. This is also
|
||||
true of some line drawing characters used to make tables in text
|
||||
file. Therefore, when a CJK font is used for GUI Vim or
|
||||
file. Therefore, when a CJK font is used for GUI Vim or
|
||||
Vim is running inside a terminal (emulators) that uses a CJK font
|
||||
(or Vim is run inside an xterm invoked with "-cjkwidth" option.),
|
||||
this option should be set to "double" to match the width perceived
|
||||
@@ -659,7 +659,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|+netbeans_intg| or |+sun_workshop| feature}
|
||||
When on, Vim will change its value for the current working directory
|
||||
whenever you open a file, switch buffers, delete a buffer or
|
||||
open/close a window. It will change to the directory containing the
|
||||
open/close a window. It will change to the directory containing the
|
||||
file which was opened or selected. This option is provided for
|
||||
backward compatibility with the Vim released with Sun ONE Studio 4
|
||||
Enterprise Edition.
|
||||
@@ -977,7 +977,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
The pattern is used like with |:autocmd|, see |autocmd-patterns|.
|
||||
Watch out for special characters, see |option-backslash|.
|
||||
When $TMPDIR, $TMP or $TEMP is not defined, it is not used for the
|
||||
default value. "/tmp/*" is only used for Unix.
|
||||
default value. "/tmp/*" is only used for Unix.
|
||||
|
||||
*'balloondelay'* *'bdlay'*
|
||||
'balloondelay' 'bdlay' number (default: 600)
|
||||
@@ -992,9 +992,40 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
global
|
||||
{not in Vi}
|
||||
{only available when compiled with the |+balloon_eval|
|
||||
and |+sun_workshop| or |+netbeans_intg| features}
|
||||
feature}
|
||||
Switch on the |balloon-eval| functionality.
|
||||
|
||||
*'balloonexpr'* *'bexpr'*
|
||||
'balloonexpr' 'bexpr' string (default "")
|
||||
global
|
||||
{not in Vi}
|
||||
{only available when compiled with the |+balloon_eval|
|
||||
feature}
|
||||
Expression to show in evaluation balloon. It is only used when
|
||||
'ballooneval' is on. These variables can be used:
|
||||
|
||||
v:beval_bufnr number of the buffer in which balloon is going to show
|
||||
v:beval_winnr number of the window
|
||||
v:beval_lnum line number
|
||||
v:beval_col column number (byte index)
|
||||
v:beval_text word under or after the mouse pointer
|
||||
|
||||
The evaluation of the expression must not have side effects!
|
||||
Example: >
|
||||
function! MyBalloonExpr()
|
||||
return 'Cursor is at line ' . v:beval_lnum .
|
||||
\', column ' . v:beval_col .
|
||||
\ ' of file ' . bufname(v:beval_bufnr) .
|
||||
\ ' on word "' . v:beval_text . '"'
|
||||
endfunction
|
||||
set bexpr=MyBalloonExpr()
|
||||
set ballooneval
|
||||
<
|
||||
NOTE: The balloon is displayed only if the cursor is on a text
|
||||
character. If the result of evaluating 'balloonexpr' is not empty,
|
||||
Vim does not try to send a message to an external debugger (Netbeans
|
||||
or Sun Workshop).
|
||||
|
||||
*'binary'* *'bin'* *'nobinary'* *'nobin'*
|
||||
'binary' 'bin' boolean (default off)
|
||||
local to buffer
|
||||
@@ -1096,6 +1127,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
'hidden' is set or using |:hide|, like using
|
||||
|:bwipeout|
|
||||
|
||||
CAREFUL: when "unload", "delete" or "wipe" is used changes in a buffer
|
||||
are lost without a warning.
|
||||
This option is used together with 'buftype' and 'swapfile' to specify
|
||||
special kinds of buffers. See |special-buffers|.
|
||||
|
||||
@@ -1380,7 +1413,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
global
|
||||
{not in Vi}
|
||||
Number of columns of the screen. Normally this is set by the terminal
|
||||
initialization and does not have to be set by hand.
|
||||
initialization and does not have to be set by hand. Also see
|
||||
|posix-screen-size|.
|
||||
When Vim is running in the GUI or in a resizable window, setting this
|
||||
option will cause the window size to be changed. When you only want
|
||||
to use the size for the GUI, put the command in your |gvimrc| file.
|
||||
@@ -1429,7 +1463,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
to the Vim defaults. Effectively, this means that when a ".vimrc"
|
||||
file exists, Vim will use the Vim defaults, otherwise it will use the
|
||||
Vi defaults. (Note: This doesn't happen for the system-wide vimrc
|
||||
file). Also see |compatible-default|.
|
||||
file). Also see |compatible-default| and |posix-compliance|.
|
||||
You can also set this option with the "-C" argument, and reset it with
|
||||
"-N". See |-C| and |-N|.
|
||||
Switching this option off makes the Vim defaults be used for options
|
||||
@@ -1536,8 +1570,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
6. included files
|
||||
|
||||
As you can see, CTRL-N and CTRL-P can be used to do any 'iskeyword'-
|
||||
based expansion (eg dictionary |i_CTRL-X_CTRL-K|, included patterns
|
||||
|i_CTRL-X_CTRL-I|, tags |i_CTRL-X_CTRL-]| and normal expansions)
|
||||
based expansion (e.g., dictionary |i_CTRL-X_CTRL-K|, included patterns
|
||||
|i_CTRL-X_CTRL-I|, tags |i_CTRL-X_CTRL-]| and normal expansions).
|
||||
|
||||
*'completefunc'* *'cfu'*
|
||||
'completefunc' 'cfu' string (default: empty)
|
||||
@@ -1637,6 +1671,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
"+=" and "-=" feature of ":set" |add-option-flags|.
|
||||
NOTE: This option is set to the Vi default value when 'compatible' is
|
||||
set and to the Vim default value when 'compatible' is reset.
|
||||
NOTE: This option is set to the POSIX default value at startup when
|
||||
the Vi default value would be used and the $VIM_POSIX environment
|
||||
variable exists |posix|. This means tries to behave like the POSIX
|
||||
specification.
|
||||
|
||||
contains behavior ~
|
||||
*cpo-a*
|
||||
@@ -1705,6 +1743,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
yet.
|
||||
*cpo-g*
|
||||
g Goto line 1 when using ":edit" without argument.
|
||||
*cpo-H*
|
||||
H When using "I" on a line with only blanks, insert
|
||||
before the last blank. Without this flag insert after
|
||||
the last blank.
|
||||
*cpo-i*
|
||||
i When included, interrupting the reading of a file will
|
||||
leave it modified.
|
||||
@@ -1716,7 +1758,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
not after '!' or '?'. Also see 'joinspaces'.
|
||||
*cpo-J*
|
||||
J A |sentence| has to be followed by two spaces after
|
||||
the '.', '!' or '?'. A <Tab> is not recognized as
|
||||
the '.', '!' or '?'. A <Tab> is not recognized as
|
||||
white space.
|
||||
*cpo-k*
|
||||
k Disable the recognition of raw key codes in
|
||||
@@ -1734,9 +1776,11 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
enables cancelling the mapping by typing <F1><Esc>.
|
||||
*cpo-l*
|
||||
l Backslash in a [] range in a search pattern is taken
|
||||
literally, only "\]" is special See |/[]|
|
||||
literally, only "\]", "\^", "\-" and "\\" are special.
|
||||
See |/[]|
|
||||
'l' included: "/[ \t]" finds <Space>, '\' and 't'
|
||||
'l' excluded: "/[ \t]" finds <Space> and <Tab>
|
||||
Also see |cpo-\|.
|
||||
*cpo-L*
|
||||
L When the 'list' option is set, 'wrapmargin',
|
||||
'textwidth', 'softtabstop' and Virtual Replace mode
|
||||
@@ -1765,6 +1809,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
*cpo-p*
|
||||
p Vi compatible Lisp indenting. When not present, a
|
||||
slightly better algorithm is used.
|
||||
*cpo-q*
|
||||
q When joining multiple lines leave the cursor at the
|
||||
position where it would be when joining two lines.
|
||||
*cpo-r*
|
||||
r Redo ("." command) uses "/" to repeat a search
|
||||
command, instead of the actually used search string.
|
||||
@@ -1813,8 +1860,15 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
x <Esc> on the command-line executes the command-line.
|
||||
The default in Vim is to abandon the command-line,
|
||||
because <Esc> normally aborts a command. |c_<Esc>|
|
||||
*cpo-X*
|
||||
X When using a count with "R" the replaced text is
|
||||
deleted only once. Also when repeating "R" with "."
|
||||
and a count.
|
||||
*cpo-y*
|
||||
y A yank command can be redone with ".".
|
||||
*cpo-Z*
|
||||
Z When using "w!" while the 'readonly' option is set,
|
||||
don't reset 'readonly'.
|
||||
*cpo-!*
|
||||
! When redoing a filter command, use the last used
|
||||
external command, whatever it was. Otherwise the last
|
||||
@@ -1842,11 +1896,18 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
there is one). This works very well for C programs.
|
||||
This flag is also used for other features, such as
|
||||
C-indenting.
|
||||
*cpo--*
|
||||
- When included, a vertical movement command fails when
|
||||
it would above the first line or below the last line.
|
||||
Without it the cursor moves to the first or last line,
|
||||
unless it already was in that line.
|
||||
Applies to the commands "-", "k", CTRL-P, "+", "j",
|
||||
CTRL-N and CTRL-J.
|
||||
*cpo-+*
|
||||
+ When included, a ":write file" command will reset the
|
||||
'modified' flag of the buffer, even though the buffer
|
||||
itself may still be different from its file.
|
||||
cpo-star*
|
||||
*cpo-star*
|
||||
* Use ":*" in the same way as ":@". When not included,
|
||||
":*" is an alias for ":'<,'>", select the Visual area.
|
||||
*cpo-<*
|
||||
@@ -1857,6 +1918,42 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
'<' included: "<Tab>" (5 characters)
|
||||
'<' excluded: "^I" (^I is a real <Tab>)
|
||||
Also see the 'k' flag above.
|
||||
*cpo->*
|
||||
> When appending to a register, put a line break before
|
||||
the appended text.
|
||||
|
||||
POSIX flags. These are not included in the Vi default value, except
|
||||
when $VIM_POSIX was set on startup. |posix|
|
||||
|
||||
contains behavior ~
|
||||
*cpo-#*
|
||||
# A count before "D", "o" and "O" has no effect.
|
||||
*cpo-&*
|
||||
& When ":preserve" was used keep the swap file when
|
||||
exiting normally while this buffer is still loaded.
|
||||
This flag is tested when exiting.
|
||||
*cpo-\*
|
||||
\ Backslash in a [] range in a search pattern is taken
|
||||
literally, only "\]" is special See |/[]|
|
||||
'l' included: "/[ \t]" finds <Space>, '\' and 't'
|
||||
'l' excluded: "/[ \t]" finds <Space> and <Tab>
|
||||
Also see |cpo-\|.
|
||||
*cpo-/*
|
||||
/ When "%" is used as the replacement string in a |:s|
|
||||
command, use the previous replacement string. |:s%|
|
||||
*cpo-{*
|
||||
{ The |{| and |}| commands also stop at a "{" character
|
||||
at the start of a line.
|
||||
*cpo-.*
|
||||
. The ":chdir" and ":cd" commands fail if the current
|
||||
buffer is modified, unless ! is used. Vim doesn't
|
||||
need this, since it remembers the full path of an
|
||||
opened file.
|
||||
*cpo-bar*
|
||||
| The value of the $LINES and $COLUMNS environment
|
||||
variables overrule the terminal size values obtained
|
||||
with system specific functions.
|
||||
|
||||
|
||||
*'cscopepathcomp'* *'cspc'*
|
||||
'cscopepathcomp' 'cspc' number (default 0)
|
||||
@@ -1922,6 +2019,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
When set to "msg", error messages that would otherwise be omitted will
|
||||
be given anyway. This is useful when debugging 'foldexpr' or
|
||||
'indentexpr'.
|
||||
When set to "beep", a message will be given when otherwise only a beep
|
||||
would be produced.
|
||||
The values can be combined, separated by a comma.
|
||||
|
||||
*'define'* *'def'*
|
||||
'define' 'def' string (default "^\s*#\s*define")
|
||||
@@ -1967,6 +2067,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
To include a comma in a file name precede it with a backslash. Spaces
|
||||
after a comma are ignored, otherwise spaces are included in the file
|
||||
name. See |option-backslash| about using backslashes.
|
||||
This has nothing to do with the |Dictionary| variable type.
|
||||
Where to find a list of words?
|
||||
- On FreeBSD, there is the file "/usr/share/dict/words".
|
||||
- In the Simtel archive, look in the "msdos/linguist" directory.
|
||||
@@ -2062,7 +2163,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
"." is replaced with the path name of the edited file.
|
||||
- For Unix and Win32, if a directory ends in two path separators, the
|
||||
swap file name will be built from the complete path to the file
|
||||
with all path separators substituted to percent '%' signs. This will
|
||||
with all path separators substituted to percent '%' signs. This will
|
||||
ensure file name uniqueness in the preserve directory.
|
||||
- Spaces after the comma are ignored, other spaces are considered part
|
||||
of the directory name. To have a space at the start of a directory
|
||||
@@ -2735,7 +2836,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
A pattern that is used to recognize a list header. This is used for
|
||||
the "n" flag in 'formatoptions'.
|
||||
The pattern must match exactly the text that will be the indent for
|
||||
the line below it. You can use |\ze| to mark the end of the match
|
||||
the line below it. You can use |/\ze| to mark the end of the match
|
||||
while still checking more characters. There must be a character
|
||||
following the pattern, when it matches the whole line it is handled
|
||||
like there is no match.
|
||||
@@ -2801,7 +2902,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
VMS: "SEARCH/NUMBERS ")
|
||||
global or local to buffer |global-local|
|
||||
{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 '%'
|
||||
and '#' characters, which are expanded like when used in a command-
|
||||
line. The placeholder "$*" is allowed to specify where the arguments
|
||||
will be included. Environment variables are expanded |:set_env|. See
|
||||
@@ -2809,8 +2910,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
When your "grep" accepts the "-H" argument, use this to make ":grep"
|
||||
also work well with a single file: >
|
||||
:set grepprg=grep\ -nH
|
||||
< Special value: When 'grepprg' is set to "internal" the ":grep" works
|
||||
like ":vimgrep".
|
||||
< Special value: When 'grepprg' is set to "internal" the |:grep| command
|
||||
works like |:vimgrep| and |:grepadd| like |:vimgrepadd|.
|
||||
See also the section |:make_makeprg|, since most of the comments there
|
||||
apply equally to 'grepprg'.
|
||||
For Win32, the default is "findstr /n" if "findstr.exe" can be found,
|
||||
@@ -2916,7 +3017,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
font names a list can be specified, font names separated with commas.
|
||||
The first valid font is used.
|
||||
|
||||
When 'guifontset' is not empty, 'guifont' is not used.
|
||||
On systems where 'guifontset' is supported (X11) and 'guifontset' is
|
||||
not empty, then 'guifont' is not used.
|
||||
|
||||
Spaces after a comma are ignored. To include a comma in a font name
|
||||
precede it with a backslash. Setting an option requires an extra
|
||||
@@ -2933,7 +3035,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
the case of X). The font names given should be "normal" fonts. Vim
|
||||
will try to find the related bold and italic fonts.
|
||||
|
||||
For Win32, GTK and Photon only: >
|
||||
For Win32, GTK, Mac OS and Photon: >
|
||||
:set guifont=*
|
||||
< will bring up a font requester, where you can pick the font you want.
|
||||
|
||||
@@ -2943,7 +3045,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
For the GTK+ 2 GUI the font name looks like this: >
|
||||
:set guifont=Andale\ Mono\ 11
|
||||
< That's all. XLFDs are no longer accepted.
|
||||
*E236*
|
||||
|
||||
For Mac OSX you can use something like this: >
|
||||
:set guifont=Monaco:h10
|
||||
< *E236*
|
||||
Note that the fonts must be mono-spaced (all characters have the same
|
||||
width). An exception is GTK 2: all fonts are accepted, but
|
||||
mono-spaced fonts look best.
|
||||
@@ -2959,7 +3064,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
i - italic
|
||||
u - underline
|
||||
s - strikeout
|
||||
cXX - character set XX. valid charsets are: ANSI, ARABIC,
|
||||
cXX - character set XX. Valid charsets are: ANSI, ARABIC,
|
||||
BALTIC, CHINESEBIG5, DEFAULT, EASTEUROPE, GB2312, GREEK,
|
||||
HANGEUL, HEBREW, JOHAB, MAC, OEM, RUSSIAN, SHIFTJIS,
|
||||
SYMBOL, THAI, TURKISH, VIETNAMESE ANSI and BALTIC.
|
||||
@@ -3041,7 +3146,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|
||||
*'guioptions'* *'go'*
|
||||
'guioptions' 'go' string (default "gmrLtT" (MS-Windows),
|
||||
"agimrLtT" (GTK, Motif and Athena)
|
||||
"agimrLtT" (GTK, Motif and Athena))
|
||||
global
|
||||
{not in Vi}
|
||||
{only available when compiled with GUI enabled}
|
||||
@@ -3244,6 +3349,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|hl-Folded| f line used for closed folds
|
||||
|hl-FoldColumn| F 'foldcolumn'
|
||||
|hl-SignColumn| > column used for |signs|
|
||||
|hl-SpellBad| B misspelled word |spell|
|
||||
|hl-SpellRare| R rare word |spell|
|
||||
|hl-SpellLocal| L word from other region |spell|
|
||||
|
||||
The display modes are:
|
||||
r reverse (termcap entry "mr" and "me")
|
||||
@@ -3251,6 +3359,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
b bold (termcap entry "md" and "me")
|
||||
s standout (termcap entry "so" and "se")
|
||||
u underline (termcap entry "us" and "ue")
|
||||
c undercurl (termcap entry "Cs" and "Ce")
|
||||
n no highlighting
|
||||
- no highlighting
|
||||
: use a highlight group
|
||||
@@ -3332,7 +3441,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Unix xterm and iris-ansi by default, where 't_IS' is taken from the
|
||||
builtin termcap).
|
||||
When Vim was compiled with HAVE_X11 defined, the original icon will be
|
||||
restored if possible |X11|. See |X11-icon| for changing the icon on
|
||||
restored if possible |X11|. See |X11-icon| for changing the icon on
|
||||
X11.
|
||||
|
||||
*'iconstring'*
|
||||
@@ -3467,7 +3576,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Pattern to be used to find an include command. It is a search
|
||||
pattern, just like for the "/" command (See |pattern|). The default
|
||||
value is for C programs. This option is used for the commands "[i",
|
||||
"]I", "[d", etc.. The 'isfname' option is used to recognize the file
|
||||
"]I", "[d", etc. The 'isfname' option is used to recognize the file
|
||||
name that comes after the matched pattern. See |option-backslash|
|
||||
about including spaces and backslashes.
|
||||
|
||||
@@ -3645,7 +3754,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
The characters given by this option are included in identifiers.
|
||||
Identifiers are used in recognizing environment variables and after a
|
||||
match of the 'define' option. It is also used for "\i" in a
|
||||
|pattern|. See 'isfname' for a description of the format of this
|
||||
|pattern|. See 'isfname' for a description of the format of this
|
||||
option.
|
||||
Careful: If you change this option, it might break expanding
|
||||
environment variables. E.g., when '/' is included and Vim tries to
|
||||
@@ -3879,7 +3988,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
global
|
||||
Number of lines of the Vim window.
|
||||
Normally you don't need to set this. It is done automatically by the
|
||||
terminal initialization code.
|
||||
terminal initialization code. Also see |posix-screen-size|.
|
||||
When Vim is running in the GUI or in a resizable window, setting this
|
||||
option will cause the window size to be changed. When you only want
|
||||
to use the size for the GUI, put the command in your |gvimrc| file.
|
||||
@@ -3898,6 +4007,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Number of pixel lines inserted between characters. Useful if the font
|
||||
uses the full character cell height, making lines touch each other.
|
||||
When non-zero there is room for underlining.
|
||||
With some fonts there can be too much room between lines (to have
|
||||
space for ascents and descents). Then it makes sense to set
|
||||
'linespace' to a negative value. This may cause display problems
|
||||
though!
|
||||
|
||||
*'lisp'* *'nolisp'*
|
||||
'lisp' boolean (default off)
|
||||
@@ -4082,6 +4195,20 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
other memory to be freed. Maximum value 2000000. Use this to work
|
||||
without a limit. Also see 'maxmemtot'.
|
||||
|
||||
*'maxmempattern'* *'mmp'*
|
||||
'maxmempattern' 'mmp' number (default 1000)
|
||||
global
|
||||
{not in Vi}
|
||||
Maximum amount of memory (in Kbyte) to use for pattern matching.
|
||||
Maximum value 2000000. Use this to work without a limit.
|
||||
*E363*
|
||||
When Vim runs into the limit it gives an error message mostly behaves
|
||||
like CTRL-C was typed.
|
||||
Running into the limit often means that the pattern is very
|
||||
inefficient or too complex. This may already happen with the pattern
|
||||
"\(.\)*" on a very long line. ".*" works much better.
|
||||
Vim may run out of memory before hitting the 'maxmempattern' limit.
|
||||
|
||||
*'maxmemtot'* *'mmt'*
|
||||
'maxmemtot' 'mmt' number (default between 2048 and 10240 (system
|
||||
dependent) or half the amount of memory
|
||||
@@ -4209,12 +4336,12 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
like in an xterm.
|
||||
popup Right mouse button pops up a menu. The shifted left
|
||||
mouse button extends a selection. This works like
|
||||
with Microsoft Windows
|
||||
with Microsoft Windows.
|
||||
popup_setpos Like "popup", but the cursor will be moved to the
|
||||
position where the mouse was clicked, and thus the
|
||||
selected operation will act upon the clicked object.
|
||||
If clicking inside a selection, that selection will
|
||||
be acted upon, ie. no cursor move. This implies of
|
||||
be acted upon, i.e. no cursor move. This implies of
|
||||
course, that right clicking outside a selection will
|
||||
end Visual mode.
|
||||
Overview of what button does what for each model:
|
||||
@@ -4237,7 +4364,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|
||||
*'mouseshape'* *'mouses'* *E547*
|
||||
'mouseshape' 'mouses' string (default "i:beam,r:beam,s:updown,sd:cross,
|
||||
m:no,ml:up-arrow,v:rightup-arrow"
|
||||
m:no,ml:up-arrow,v:rightup-arrow")
|
||||
global
|
||||
{not in Vi}
|
||||
{only available when compiled with the |+mouseshape|
|
||||
@@ -4399,6 +4526,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
knows about pasting and will mostly do the right thing without 'paste'
|
||||
being set. The same is true for a terminal where Vim handles the
|
||||
mouse clicks itself.
|
||||
This option is reset when starting the GUI. Thus if you set it in
|
||||
your .vimrc it will work in a terminal, but not in the GUI. Setting
|
||||
'paste' in the GUI has side effects: e.g., the Paste toolbar button
|
||||
will no longer work in Insert mode, because it uses a mapping.
|
||||
When the 'paste' option is switched on (also when it was already on):
|
||||
- mapping in Insert mode and Command-line mode is disabled
|
||||
- abbreviations are disabled
|
||||
@@ -4631,8 +4762,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
'printmbcharset' 'pmbcs' string (default "")
|
||||
global
|
||||
{not in Vi}
|
||||
{only available when compiled with the |+printer|
|
||||
and |+multi_byte| features}
|
||||
{only available when compiled with the |+printer|,
|
||||
|+postscript| and |+multi_byte| features}
|
||||
The CJK character set to be used for CJK output from |:hardcopy|.
|
||||
See |pmbcs-option|.
|
||||
|
||||
@@ -4640,8 +4771,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
'printmbfont' 'pmbfn' string (default "")
|
||||
global
|
||||
{not in Vi}
|
||||
{only available when compiled with the |+printer|
|
||||
and |+multi_byte| features}
|
||||
{only available when compiled with the |+printer|,
|
||||
|+postscript| and |+multi_byte| features}
|
||||
List of font names to be used for CJK output from |:hardcopy|.
|
||||
See |pmbfn-option|.
|
||||
|
||||
@@ -4653,7 +4784,12 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
List of items that control the format of the output of |:hardcopy|.
|
||||
See |popt-option|.
|
||||
|
||||
*'quoteescape''* *'qe'*
|
||||
*'prompt'* *'noprompt'*
|
||||
'prompt' boolean (default on)
|
||||
global
|
||||
When on a ":" prompt is used in Ex mode.
|
||||
|
||||
*'quoteescape'* *'qe'*
|
||||
'quoteescape' 'qe' string (default "\")
|
||||
local to buffer
|
||||
{not in Vi}
|
||||
@@ -4669,9 +4805,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
If on, writes fail unless you use a '!'. Protects you from
|
||||
accidentally overwriting a file. Default on when Vim is started
|
||||
in read-only mode ("vim -R") or when the executable is called "view".
|
||||
When using ":w!" the 'readonly' option is reset for the current
|
||||
buffer, unless the 'Z' flag is in 'cpoptions'.
|
||||
{not in Vi:} When using the ":view" command the 'readonly' option is
|
||||
set for the newly edited buffer. When using ":w!" the 'readonly'
|
||||
option is reset for the current buffer.
|
||||
set for the newly edited buffer.
|
||||
|
||||
*'remap'* *'noremap'*
|
||||
'remap' boolean (default on)
|
||||
@@ -4759,7 +4896,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
If 'rulerformat' is set, it will determine the contents of the ruler.
|
||||
Each window has its own ruler. If a window has a status line, the
|
||||
ruler is shown there. Otherwise it is shown in the last line of the
|
||||
screen. If the statusline is given by 'statusline' (ie. not empty),
|
||||
screen. If the statusline is given by 'statusline' (i.e. not empty),
|
||||
this option takes precedence over 'ruler' and 'rulerformat'
|
||||
If the number of characters displayed is different from the number of
|
||||
bytes in the text (e.g., for a TAB or a multi-byte character), both
|
||||
@@ -4813,13 +4950,14 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
$VIM/vimfiles,
|
||||
$VIMRUNTIME,
|
||||
$VIM/vimfiles/after,
|
||||
sys$login:vimfiles/after"
|
||||
sys$login:vimfiles/after")
|
||||
global
|
||||
{not in Vi}
|
||||
This is a list of directories which will be searched for runtime
|
||||
files:
|
||||
filetype.vim filetypes by file name |new-filetype|
|
||||
scripts.vim filetypes by file contents |new-filetype-scripts|
|
||||
autoload/ automatically loaded scripts |autoload-functions|
|
||||
colors/ color scheme files |:colorscheme|
|
||||
compiler/ compiler files |:compiler|
|
||||
doc/ documentation |write-local-help|
|
||||
@@ -5019,7 +5157,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
folds manually created folds, opened/closed folds and local
|
||||
fold options
|
||||
globals global variables that start with an uppercase letter
|
||||
and contain at least one lowercase letter.
|
||||
and contain at least one lowercase letter. Only
|
||||
String and Number types are stored.
|
||||
help the help window
|
||||
localoptions options and mappings local to a window or buffer (not
|
||||
global values for local options)
|
||||
@@ -5181,6 +5320,22 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
separator. To test if this is so use: >
|
||||
if exists('+shellslash')
|
||||
<
|
||||
*'shelltemp'* *'stmp'* *'noshelltemp'* *'nostmp'*
|
||||
'shelltemp' 'stmp' boolean (Vi default off, Vim default on)
|
||||
global
|
||||
{not in Vi}
|
||||
When on, use temp files for shell commands. When off use a pipe.
|
||||
When using a pipe is not possible temp files are used anyway.
|
||||
Currently a pipe is only supported on Unix. You can check it with: >
|
||||
:if has("filterpipe")
|
||||
< The advantage of using a pipe is that nobody can read the temp file
|
||||
and the 'shell' command does not need to support redirection.
|
||||
The advantage of using a temp file is that the file type and encoding
|
||||
can be detected.
|
||||
The |FilterReadPre|, |FilterReadPost| and |FilterWritePre|,
|
||||
|FilterWritePost| autocommands event are not triggered when
|
||||
'shelltemp' is off.
|
||||
|
||||
*'shelltype'* *'st'*
|
||||
'shelltype' 'st' number (default 0)
|
||||
global
|
||||
@@ -5230,7 +5385,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|'cindent'|, |>>|, |<<|, etc.
|
||||
|
||||
*'shortmess'* *'shm'*
|
||||
'shortmess' 'shm' string (Vim default "filnxtToO", Vi default: "")
|
||||
'shortmess' 'shm' string (Vim default "filnxtToO", Vi default: "",
|
||||
POSIX default: "A")
|
||||
global
|
||||
{not in Vi}
|
||||
This option helps to avoid all the |hit-enter| prompts caused by file
|
||||
@@ -5259,7 +5415,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
on the command-line, "<" will appear in the left most column.
|
||||
Ignored in Ex mode.
|
||||
T truncate other messages in the middle if they are too long to
|
||||
fit on the command line. "..." will appear in the middle.
|
||||
fit on the command line. "..." will appear in the middle.
|
||||
Ignored in Ex mode.
|
||||
W don't give "written" or "[w]" when writing a file
|
||||
A don't give the "ATTENTION" message when an existing swap file
|
||||
@@ -5379,7 +5535,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
global
|
||||
{not in Vi}
|
||||
The minimal number of screen columns to keep to the left and to the
|
||||
right of the cursor if 'nowrap' is set. Setting this option to a value
|
||||
right of the cursor if 'nowrap' is set. Setting this option to a value
|
||||
greater than 0 while having |'sidescroll'| also at a non-zero value
|
||||
makes some context visible in the line you are scrolling in
|
||||
horizontally (except at the end and beginning of the line). Setting
|
||||
@@ -5468,6 +5624,30 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
set.
|
||||
NOTE: This option is set to 0 when 'compatible' is set.
|
||||
|
||||
*'spell'* *'nospell'*
|
||||
'spell' boolean (default off)
|
||||
local to window
|
||||
{not in Vi}
|
||||
{not available when compiled without the |+syntax|
|
||||
feature}
|
||||
When on spell checking will be done. See |spell|.
|
||||
The languages used are specified with 'spelllang'.
|
||||
|
||||
*'spelllang'* *'spl'*
|
||||
'spelllang' 'spl' string (default empty)
|
||||
local to buffer
|
||||
{not in Vi}
|
||||
{not available when compiled without the |+syntax|
|
||||
feature}
|
||||
A comma separated list of languages. when the 'spell' option is on
|
||||
spellchecking will be done for these languages. Example: >
|
||||
set spelllang=en_us,nl
|
||||
< This means both US English and Dutch words are recognized. Words that
|
||||
are not recognized will be highlighted.
|
||||
When 'encoding' is set the word lists are loaded again. Thus it's a
|
||||
good idea to set 'spelllang' after setting 'encoding'.
|
||||
More info at |spell|.
|
||||
|
||||
*'splitbelow'* *'sb'* *'nosplitbelow'* *'nosb'*
|
||||
'splitbelow' 'sb' boolean (default off)
|
||||
global
|
||||
@@ -5520,9 +5700,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
'laststatus' is 2) is controlling the output of |CTRL-G|.
|
||||
|
||||
field meaning ~
|
||||
- Left justify the item. The default is right justified
|
||||
- Left justify the item. The default is right justified
|
||||
when minwid is larger than the length of the item.
|
||||
0 Leading zeroes in numeric items. Overridden by '-'.
|
||||
0 Leading zeroes in numeric items. Overridden by '-'.
|
||||
minwid Minimum width of the item, padding as set by '-' & '0'.
|
||||
Value must be 50 or less.
|
||||
maxwid Maximum width of the item. Truncation occurs with a '<'
|
||||
@@ -5563,7 +5743,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Mnemonic: Offset from start of file (with one added)
|
||||
{not available when compiled without |+byte_offset| feature}
|
||||
O N As above, in hexadecimal.
|
||||
N N Printer page number. (Only works in the 'printheader' option.)
|
||||
N N Printer page number. (Only works in the 'printheader' option.)
|
||||
l N Line number.
|
||||
L N Number of lines in buffer.
|
||||
c N Column number.
|
||||
@@ -5572,7 +5752,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
p N Percentage through file in lines as in |CTRL-G|.
|
||||
P S Percentage through file of displayed window. This is like the
|
||||
percentage described for 'ruler'. Always 3 in length.
|
||||
a S Argument list status as in default title. ({current} of {max})
|
||||
a S Argument list status as in default title. ({current} of {max})
|
||||
Empty if the argument file count is zero or one.
|
||||
{ NF Evaluate expression between '{' and '}' and substitute result.
|
||||
( - Start of item group. Can be used for setting the width and
|
||||
@@ -5583,7 +5763,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
= - Separation point between left and right aligned items.
|
||||
No width fields allowed.
|
||||
* - Set highlight group to User{N}, where {N} is taken from the
|
||||
minwid field. eg. %1*. Restore normal highlight with %* or %0*.
|
||||
minwid field, e.g. %1*. Restore normal highlight with %* or %0*.
|
||||
The difference between User{N} and StatusLine will be applied
|
||||
to StatusLineNC for the statusline of non-current windows.
|
||||
The number N must be between 1 and 9. See |hl-User1..9|
|
||||
@@ -5594,10 +5774,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
with a space it is assumed that it wants to separate itself from
|
||||
anything but other flags. That is: A leading comma is removed if the
|
||||
preceding character stems from plaintext. A leading space is removed
|
||||
if the preceding character stems from another active flag. This will
|
||||
if the preceding character stems from another active flag. This will
|
||||
make a nice display when flags are used like in the examples below.
|
||||
|
||||
When all items in a group becomes an empty string (ie. flags that are
|
||||
When all items in a group becomes an empty string (i.e. flags that are
|
||||
not set) and a minwid is not set for the group, the whole group will
|
||||
become empty. This will make a group like the following disappear
|
||||
completely from the statusline when none of the flags are set. >
|
||||
@@ -5606,7 +5786,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Beware that an expression is evaluated each and every time the status
|
||||
line is displayed. The current buffer and current window will be set
|
||||
temporarily to that of the window (and buffer) whose statusline is
|
||||
currently being drawn. The expression will evaluate in this context.
|
||||
currently being drawn. The expression will evaluate in this context.
|
||||
The variable "actual_curbuf" is set to the 'bufnr()' number of the
|
||||
real current buffer. The expression is evaluated in the |sandbox|.
|
||||
|
||||
@@ -5619,7 +5799,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Otherwise the result is taken as flag text and applied to the rules
|
||||
described above.
|
||||
|
||||
Watch out for errors in expressions. They may render Vim unusable !
|
||||
Watch out for errors in expressions. They may render Vim unusable!
|
||||
If you are stuck, hold down ':' or 'Q' to get a prompt, then quit and
|
||||
edit your .vimrc or whatever with "vim -u NONE" to get it right.
|
||||
|
||||
@@ -5716,7 +5896,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
also used in all buffer related split commands, for
|
||||
example ":sbuffer", ":sbnext", or ":sbrewind".
|
||||
split If included, split the current window before loading
|
||||
a buffer. Otherwise: do not split, use current window.
|
||||
a buffer. Otherwise: do not split, use current window.
|
||||
Supported in |quickfix| commands that display errors.
|
||||
|
||||
*'syntax'* *'syn'*
|
||||
@@ -6238,10 +6418,12 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
"s" = button state
|
||||
"c" = column plus 33
|
||||
"r" = row plus 33
|
||||
This only works up to 223 columns! See "dec" for a
|
||||
solution.
|
||||
xterm2 Works like "xterm", but with the xterm reporting the
|
||||
mouse position while the mouse is dragged. This works
|
||||
much faster and more precise. Your xterm must at
|
||||
least at patchlevel 88 / XFree 3.3.3 for this to
|
||||
least at patchlevel 88 / XFree 3.3.3 for this to
|
||||
work. See below for how Vim detects this
|
||||
automatically.
|
||||
*netterm-mouse*
|
||||
@@ -6251,6 +6433,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
*dec-mouse*
|
||||
dec DEC terminal mouse handling. The mouse generates a
|
||||
rather complex sequence, starting with "<Esc>[".
|
||||
This is also available for an Xterm, if it was
|
||||
configured with "--enable-dec-locator".
|
||||
*jsbterm-mouse*
|
||||
jsbterm JSB term mouse handling.
|
||||
*pterm-mouse*
|
||||
@@ -6410,7 +6594,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
! When included, save and restore global variables that start
|
||||
with an uppercase letter, and don't contain a lowercase
|
||||
letter. Thus "KEEPTHIS and "K_L_M" are stored, but "KeepThis"
|
||||
and "_K_L_M" are not.
|
||||
and "_K_L_M" are not. Only String and Number types are
|
||||
stored.
|
||||
" Maximum number of lines saved for each register. Old name of
|
||||
the '<' item, with the disadvantage that you need to put a
|
||||
backslash before the ", otherwise it will be recognized as the
|
||||
@@ -6443,7 +6628,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
saved. When not included, the value of 'history' is used.
|
||||
c When included, convert the text in the viminfo file from the
|
||||
'encoding' used when writing the file to the current
|
||||
'encoding'. See |viminfo-encoding|.
|
||||
'encoding'. See |viminfo-encoding|.
|
||||
f Whether file marks need to be stored. If zero, file marks ('0
|
||||
to '9, 'A to 'Z) are not stored. When not present or when
|
||||
non-zero, they are all stored. '0 is used for the current
|
||||
@@ -6586,8 +6771,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
global
|
||||
{not in Vi}
|
||||
'wildcharm' works exactly like 'wildchar', except that it is
|
||||
recognized when used inside a macro. You can find "spare" command-line
|
||||
keys suitable for this option by looking at |ex-edit-index|. Normally
|
||||
recognized when used inside a macro. You can find "spare" command-line
|
||||
keys suitable for this option by looking at |ex-edit-index|. Normally
|
||||
you'll never actually type 'wildcharm', just use it in mappings that
|
||||
automatically invoke completion mode, e.g.: >
|
||||
:set wcm=<C-Z>
|
||||
@@ -6677,7 +6862,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|
||||
Examples: >
|
||||
:set wildmode=full
|
||||
< Complete first full match, next match, etc. (the default) >
|
||||
< Complete first full match, next match, etc. (the default) >
|
||||
:set wildmode=longest,full
|
||||
< Complete longest common string, then each full match >
|
||||
:set wildmode=list:full
|
||||
@@ -6724,6 +6909,20 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
This option is not used for <F10>; on Win32 and with GTK <F10> will
|
||||
select the menu, unless it has been mapped.
|
||||
|
||||
*'window'* *'wi'*
|
||||
'window' 'wi' number (default screen height - 1)
|
||||
global
|
||||
Window height. Do not confuse this with the height of the Vim window,
|
||||
use 'lines' for that.
|
||||
Used for |CTRL-F| and |CTRL-B| when there is only one window and the
|
||||
value is smaller than 'lines' minus one. The screen will scroll
|
||||
'window' minus two lines, with a minimum of one.
|
||||
When 'window' is equal to 'lines' minus one CTRL-F and CTRL-B scroll
|
||||
in a much smarter way, taking care of wrapping lines.
|
||||
When resizing the Vim window, the value is smaller than 1 or more than
|
||||
or equal to 'lines' it will be set to 'lines' minus 1.
|
||||
{Vi also uses the option to specify the number of displayed lines}
|
||||
|
||||
*'winheight'* *'wh'* *E591*
|
||||
'winheight' 'wh' number (default 1)
|
||||
global
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*os_unix.txt* For Vim version 7.0aa. Last change: 2003 Mar 15
|
||||
*os_unix.txt* For Vim version 7.0aa. Last change: 2005 Mar 25
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -54,7 +54,7 @@ supports colors, but "T_Co" is empty or zero): >
|
||||
|
||||
For real color terminals the ":highlight" command can be used.
|
||||
|
||||
The file "tools/Vim132" is a shell script that can be used to put Vim in 132
|
||||
The file "tools/vim132" is a shell script that can be used to put Vim in 132
|
||||
column mode on a vt100 and lookalikes.
|
||||
|
||||
vim:tw=78:ts=8:ft=help:norl:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*pattern.txt* For Vim version 7.0aa. Last change: 2004 Dec 18
|
||||
*pattern.txt* For Vim version 7.0aa. Last change: 2005 Mar 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -217,7 +217,7 @@ To clear the last used search pattern: >
|
||||
This will not set the pattern to an empty string, because that would match
|
||||
everywhere. The pattern is really cleared, like when starting Vim.
|
||||
|
||||
The search usual skips matches that don't move the cursor. Whether the next
|
||||
The search usually skips matches that don't move the cursor. Whether the next
|
||||
match is found at the next character or after the skipped match depends on the
|
||||
'c' flag in 'cpoptions'. See |cpo-c|.
|
||||
with 'c' flag: "/..." advances 1 to 3 characters
|
||||
@@ -225,6 +225,10 @@ match is found at the next character or after the skipped match depends on the
|
||||
The unpredictability with the 'c' flag is caused by starting the search in the
|
||||
first column, skipping matches until one is found past the cursor position.
|
||||
|
||||
When searching backwards, searching starts at the start of the line, using the
|
||||
'c' flag in 'cpoptions' as described above. Then the last match before the
|
||||
cursor position is used.
|
||||
|
||||
In Vi the ":tag" command sets the last search pattern when the tag is searched
|
||||
for. In Vim this is not done, the previous search pattern is still remembered,
|
||||
unless the 't' flag is present in 'cpoptions'. The search pattern is always
|
||||
@@ -268,7 +272,7 @@ the "*" is under your right hand middle finger (search to the right and down).
|
||||
==============================================================================
|
||||
2. The definition of a pattern *search-pattern* *pattern* *[pattern]*
|
||||
*regular-expression* *regexp* *Pattern*
|
||||
*E76* *E361* *E363* *E383* *E476*
|
||||
*E76* *E383* *E476*
|
||||
|
||||
For starters, read chapter 27 of the user manual |usr_27.txt|.
|
||||
|
||||
@@ -518,11 +522,6 @@ An atom can be followed by an indication of how many times the atom can be
|
||||
matched and in what way. This is called a multi. See |/multi| for an
|
||||
overview.
|
||||
|
||||
It is not possible to use a multi that can match more than one time after an
|
||||
atom that can match an empty string. That's because this could result in an
|
||||
endless loop. If you try it, you will get this error message: >
|
||||
*, \+ or \{ operand could be empty
|
||||
<
|
||||
*/star* */\star* *E56*
|
||||
* (use \* when 'magic' is not set)
|
||||
Matches 0 or more of the preceding atom, as many as possible.
|
||||
@@ -573,7 +572,7 @@ endless loop. If you try it, you will get this error message: >
|
||||
\{-} matches 0 or more of the preceding atom, as few as possible
|
||||
{Vi does not have any of these}
|
||||
|
||||
n and m are positive decimal numbers
|
||||
n and m are positive decimal numbers or zero
|
||||
|
||||
If a "-" appears immediately after the "{", then a shortest match
|
||||
first algorithm is used (see example below). In particular, "\{-}" is
|
||||
@@ -978,6 +977,17 @@ x A single character, with no special meaning, matches itself
|
||||
a list of at least one character, each of which is either '-', '.',
|
||||
'/', alphabetic, numeric, '_' or '~'.
|
||||
These items only work for 8-bit characters.
|
||||
*/[[=* *[==]*
|
||||
- An equivalence class. This means that characters are matched that
|
||||
have almost the same meaning, e.g., when ignoring accents. The form
|
||||
is:
|
||||
[=a=]
|
||||
Currrently this is only implemented for latin1. Also works for the
|
||||
latin1 characters in utf-8 and latin9.
|
||||
*/[[.* *[..]*
|
||||
- A collation element. This currently simply accepts a single
|
||||
character in the form:
|
||||
[.a.]
|
||||
*/\]*
|
||||
- To include a literal ']', '^', '-' or '\' in the collection, put a
|
||||
backslash before it: "[xyz\]]", "[\^xyz]", "[xy\-z]" and "[xyz\\]".
|
||||
@@ -1023,7 +1033,7 @@ x A single character, with no special meaning, matches itself
|
||||
< Matches the words "r", "re", "ro", "rea", "roa", "read" and "road".
|
||||
{not available when compiled without the +syntax feature}
|
||||
|
||||
*/\%d* */\%x* */\%o* */\%u* */\%U/* *E678*
|
||||
*/\%d* */\%x* */\%o* */\%u* */\%U* *E678*
|
||||
|
||||
\%d123 Matches the character specified with a decimal number. Must be
|
||||
followed by a non-digit.
|
||||
|
||||
@@ -1,215 +0,0 @@
|
||||
*pi_expl.txt* For Vim version 7.0aa. Last change: 2004 Dec 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by M A Aziz Ahmed
|
||||
updated by Mark Waggoner
|
||||
|
||||
|
||||
*file-explorer* *file-browser*
|
||||
Plugin for exploring (or browsing) directories and files
|
||||
|
||||
1. Starting the file explorer |expl-starting|
|
||||
|
||||
The functionality mentioned here is a |standard-plugin|.
|
||||
This plugin is only available if 'compatible' is not set.
|
||||
You can avoid loading this plugin by setting the "loaded_explorer" variable: >
|
||||
:let loaded_explorer = 1
|
||||
|
||||
{Vi does not have any of this}
|
||||
|
||||
==============================================================================
|
||||
1. Starting the file explorer *expl-starting*
|
||||
|
||||
This plugin is used to explore directories inside Vim. The file explorer is
|
||||
launched whenever the user tries to edit a directory.
|
||||
*:Explore* *:Sexplore*
|
||||
To launch the explorer in the directory of the file currently edited: >
|
||||
:Explore
|
||||
If the file has changes the window is split. To always split the window: >
|
||||
:Sexplore
|
||||
To launch the explorer in a specific directory: >
|
||||
:Explore dirname
|
||||
:Sexplore dirname
|
||||
|
||||
From inside the explorer move your cursor to a line containing a file or
|
||||
directory name. The following command keys are available:
|
||||
|
||||
<enter> will open the file in the window the explorer is currently
|
||||
occupying.
|
||||
'o' will split a new window and open the file in the new window.
|
||||
'O' will open the file chosen using the window that the cursor was in just
|
||||
before you started or entered the explorer window. If the explorer is
|
||||
the only window, it will first split a new window to use for the file to
|
||||
be opened.
|
||||
'p' will open (or use) the preview window showing the file
|
||||
'x' will execute the file with the system tools. Only when supported
|
||||
(currently MS-Windows and KDE).
|
||||
|
||||
When splitting off a new window, you can control where the split window will
|
||||
go relative to the explorer window using the variables g:explVertical,
|
||||
g:explSplitBelow and g:explSplitRight.
|
||||
|
||||
*g:explVertical*
|
||||
*g:explSplitBelow*
|
||||
*g:explSplitRight*
|
||||
*g:explStartBelow*
|
||||
*g:explStartRight*
|
||||
To control whether the split is made horizontally or vertically, use: >
|
||||
let g:explVertical=1 " Split vertically
|
||||
let g:explVertical=0 " Split horizontally (default)
|
||||
|
||||
To control where the window goes relative to the explorer window when
|
||||
splitting horizontally, use the variable: >
|
||||
let g:explSplitBelow=1 " Put new window below explorer window
|
||||
let g:explSplitBelow=0 " Put new window above explorer window
|
||||
The default for this is the setting of splitbelow at the time the plugin is
|
||||
loaded.
|
||||
|
||||
To control where the window goes relative to the explorer window when
|
||||
splitting vertically, use the variable: >
|
||||
let g:explSplitRight=1 " Put new window to the right of the explorer
|
||||
let g:explSplitRight=0 " Put new window to the left of the explorer
|
||||
The default for this is the setting of splitright at the time the plugin is
|
||||
loaded.
|
||||
|
||||
To use a different split method for the explorer window, use: >
|
||||
let g:explStartRight=1 " Put new explorer window to the right of the
|
||||
" current window
|
||||
let g:explStartRight=0 " Put new explorer window to the left of the
|
||||
" current window
|
||||
The default is the value of g:explSplitRight at the time the plugin is loaded.
|
||||
|
||||
To use a different split method for the explorer window, use: >
|
||||
let g:explStartBelow=1 " Put new explorer window below the
|
||||
" current window
|
||||
let g:explStartBelow=0 " Put new explorer window above the
|
||||
" current window
|
||||
The default is the value of g:explSplitBelow at the time the plugin is loaded.
|
||||
|
||||
The start splits allow for the explorer window to be placed in a file browser
|
||||
type arrangement, where the directories are shown on the left and the contents
|
||||
opened on the right. The start split settings are only used when issuing
|
||||
the Sexplore command.
|
||||
|
||||
Note that the window split is done a little bit differently than window splits
|
||||
are usually done. Ordinarily, when splitting a window, the space occupied by
|
||||
the current window will be split to give space for the new window. The
|
||||
explorer attempts to instead split from a window adjacent to the explorer
|
||||
window so that the explorer window will not change sizes. If there is not an
|
||||
adjacent window in the direction you are splitting, the explorer window is
|
||||
split.
|
||||
|
||||
*g:explWinSize*
|
||||
After opening a file with the 'o' command, you might want to resize the
|
||||
explorer window. This can be done by setting the variable >
|
||||
let g:explWinSize=N
|
||||
N is the number of rows (when the window is split horizontally) or the number
|
||||
of columns (when the window is split vertically). If g:explWinSize is set to
|
||||
an empty string (""), resizing will not be done. g:explWinSize defaults to
|
||||
15.
|
||||
|
||||
*g:explDetailedList*
|
||||
The file size (in bytes) and modification time can be displayed inside the
|
||||
file explorer window. By pressing 'i', you can toggle between the name only
|
||||
display and the more lengthy display. If you want the size and date to show
|
||||
by default, use >
|
||||
let g:explDetailedList=1
|
||||
Doing this may slightly slow down explorer. The difference may or may not be
|
||||
noticeable depending on your system and whether the directory is local or on
|
||||
the network and on the size of the directory.
|
||||
|
||||
*g:explDateFormat*
|
||||
The format of date displayed is configurable using the variable
|
||||
g:explDateFormat. explorer uses this variable to pass to strftime() to fetch
|
||||
the date information. |strftime()| The default is >
|
||||
let g:explDateFormat="%d %b %Y %H:%M"
|
||||
|
||||
Note that for sorting purposes, the date is always placed at the end of the
|
||||
line in its 'raw' form. If you have syntax highlighting turned on, this raw
|
||||
date should be invisible.
|
||||
|
||||
*g:explHideFiles*
|
||||
You can hide some files by filling the variable g:explHidFiles with regular
|
||||
expressions. A filename that matches any of these regular expressions will not
|
||||
be shown. For example, >
|
||||
|
||||
let g:explHideFiles='^\.,\.gz$,\.exe$,\.zip$'
|
||||
|
||||
will not show files that begin with "." and those that end in .gz, .exe or
|
||||
.zip. However, all directory names will always be shown. If while exploring,
|
||||
you'd like to see the hidden files as well, use the command "a".
|
||||
The explorer header will indicate if filtering is being done.
|
||||
|
||||
*g:explDetailedHelp*
|
||||
The help information spanning a few lines can be turned off (and just a single
|
||||
help message enabled) using the option >
|
||||
let g:explDetailedHelp=0
|
||||
You can anytime switch to the detailed help format by pressing ?.
|
||||
|
||||
*explorer-delete*
|
||||
Pressing 'D' inside explorer deletes the file under the cursor. You can delete
|
||||
many files by visually selecting them and using 'D'. The deletion is
|
||||
interactive in the form y/n/a/q. Directory deletion is not supported (mainly
|
||||
because there is no way to delete a directory using a vim built-in function).
|
||||
|
||||
*explorer-rename*
|
||||
Pressing 'R' inside explorer will allow you to rename the file under the
|
||||
cursor.
|
||||
|
||||
*g:explSortBy*
|
||||
The display in the file explorer can be sorted in forward or reverse order by
|
||||
name, size, or modification date. You can set the default sorting direction
|
||||
with the option >
|
||||
let g:explSortBy='name' " alphabetically
|
||||
let g:explSortBy='reverse name' " reverse alphabetically
|
||||
let g:explSortBy='date' " newest first
|
||||
let g:explSortBy='reverse date' " oldest first
|
||||
let g:explSortBy='size' " largest first
|
||||
let g:explSortBy='reverse size' " smallest first
|
||||
While in the explorer, you can rotate through the sort fields by pressing the
|
||||
's' key and you can reverse the current sort order by pressing the 'r' key.
|
||||
Sorting on fields other than the name will be faster if the size and date are
|
||||
displayed (using 'i' or g:explDetailedList).
|
||||
The explorer heading will indicate the current sort order.
|
||||
|
||||
*g:explDirsFirst*
|
||||
To control the segregation of directories and files, you can set this option >
|
||||
let g:explDirsFirst=1 " Directories at the top of the list (default)
|
||||
let g:explDirsFirst=0 " Directories mixed in with files
|
||||
let g:explDirsFirst=-1 " Directories at the bottom of the list
|
||||
|
||||
*g:explSuffixesLast*
|
||||
To control the segregation of files matching the suffixes option, you can set
|
||||
this option >
|
||||
let g:explSuffixesLast=1 " Files matching suffixes sorted at the bottom
|
||||
" of the list (default)
|
||||
let g:explSuffixesLast=0 " Files matching suffixes sorted normally
|
||||
let g:explSuffixesLast=-1 " Files matching suffixes sorted at the top of
|
||||
" the list
|
||||
The heading will indicate if suffixes have been moved to the end (or start) of
|
||||
the list.
|
||||
|
||||
*g:explUseSeparators*
|
||||
Directories and files matching the suffixes list will be highlighted. If you
|
||||
have the directories, files, and suffixes separated, and you would like a
|
||||
separator line between the groups, you can set the option >
|
||||
let g:explUseSeparators=1 " Use separator lines
|
||||
let g:explUseSeparators=0 " Don't use separator lines
|
||||
<
|
||||
*g:explFileHandler*
|
||||
If you set the "g:explFileHandler" variable to the name of a function, typing
|
||||
'x' will call this function. The file or directory under the cursor will be
|
||||
passed as an argument to the function. Suppose you have KDE, you could use
|
||||
this: >
|
||||
|
||||
function MyFileHandler(fn)
|
||||
exec "silent! !kfmclient exec " . escape(a:fn,' \%#')
|
||||
endfunction
|
||||
let g:explFileHandler = 'MyFileHandler'
|
||||
|
||||
For Win32 the variable is set by default to invoke the execute action. If you
|
||||
type 'x' on a HTML file, Microsoft Internet Explorer will start (or whatever
|
||||
application you have associated with HTML files).
|
||||
|
||||
==============================================================================
|
||||
vim:tw=78:noet:ts=8:ft=help:norl:
|
||||
@@ -740,7 +740,7 @@ One may rename a block of files and directories by selecting them with
|
||||
the V (|linewise-visual|).
|
||||
|
||||
|
||||
HIDING FILES OR DIRECTORIES *g:netrw-a* *g:netrw_list_hide*
|
||||
HIDING FILES OR DIRECTORIES *netrw-a* *g:netrw_list_hide*
|
||||
|
||||
Netrw's browsing facility allows one to use the hiding list in one of
|
||||
three ways: ignore it, hide files which match, and show only those files
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*quickfix.txt* For Vim version 7.0aa. Last change: 2004 Dec 28
|
||||
*quickfix.txt* For Vim version 7.0aa. Last change: 2005 Mar 25
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -30,6 +30,11 @@ The idea is to save the error messages from the compiler in a file and use Vim
|
||||
to jump to the errors one by one. You can examine each problem and fix it,
|
||||
without having to remember all the error messages.
|
||||
|
||||
In Vim the quickfix commands are used more generally to find a list of
|
||||
positions in files. For example, |:vimgrep| finds pattern matches. 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!
|
||||
|
||||
If you are using Manx's Aztec C compiler on the Amiga look here for how to use
|
||||
it with Vim: |quickfix-manx|. If you are using another compiler you should
|
||||
save the error messages in a file and start Vim with "vim -q filename". An
|
||||
@@ -131,6 +136,10 @@ deleted for some reason, the message "line changed" is shown to warn you that
|
||||
the error location may not be correct. If you quit Vim and start again the
|
||||
marks are lost and the error locations may not be correct anymore.
|
||||
|
||||
If vim is built with |+autocmd| support, two autocommands are available for
|
||||
running commands before and after a quickfix command (':make', ':grep' and so
|
||||
on) is executed. See |QuickFixCmdPre| and |QuickFixCmdPost| for details.
|
||||
|
||||
=============================================================================
|
||||
2. The error window *quickfix-window*
|
||||
|
||||
@@ -166,12 +175,14 @@ height manually (e.g., by dragging the status line above it with the mouse).
|
||||
|
||||
In the quickfix window, each line is one error. The line number is equal to
|
||||
the error number. You can use ":.cc" to jump to the error under the cursor.
|
||||
Hitting the <CR> key or double-clicking the mouse on a line has the same
|
||||
Hitting the <Enter> key or double-clicking the mouse on a line has the same
|
||||
effect. The file containing the error is opened in the window above the
|
||||
quickfix window. If there already is a window for that file, it is used
|
||||
instead. If the buffer in the used window has changed, and the error is in
|
||||
another file, jumping to the error will fail. You will first have to make
|
||||
sure the window contains a buffer which can be abandoned.
|
||||
*CTRL-W_<Enter>* *CTRL-W_<CR>*
|
||||
You can use CTRL-W <Enter> to open a new window and jump to the error there.
|
||||
|
||||
When the quickfix window has been filled, two autocommand events are
|
||||
triggered. First the 'filetype' option is set to "qf", which triggers the
|
||||
@@ -220,20 +231,24 @@ lists, use ":cnewer 99" first.
|
||||
4. Using :make *:make_makeprg*
|
||||
|
||||
*:mak* *:make*
|
||||
:mak[e][!] [arguments] 1. If the 'autowrite' option is on, write any changed
|
||||
:mak[e][!] [arguments] 1. If vim was built with |+autocmd|, all relevant
|
||||
|QuickFixCmdPre| autocommands are executed.
|
||||
2. If the 'autowrite' option is on, write any changed
|
||||
buffers
|
||||
2. An errorfile name is made from 'makeef'. If
|
||||
3. An errorfile name is made from 'makeef'. If
|
||||
'makeef' doesn't contain "##", and a file with this
|
||||
name already exists, it is deleted.
|
||||
3. The program given with the 'makeprg' option is
|
||||
4. The program given with the 'makeprg' option is
|
||||
started (default "make") with the optional
|
||||
[arguments] and the output is saved in the
|
||||
errorfile (for Unix it is also echoed on the
|
||||
screen).
|
||||
4. The errorfile is read using 'errorformat'.
|
||||
5. If [!] is not given the first error is jumped to.
|
||||
6. The errorfile is deleted.
|
||||
7. You can now move through the errors with commands
|
||||
5. The errorfile is read using 'errorformat'.
|
||||
6. If [!] is not given the first error is jumped to.
|
||||
7. The errorfile is deleted.
|
||||
8. If vim was built with |+autocmd|, all relevant
|
||||
|QuickFixCmdPost| autocommands are executed.
|
||||
9. You can now move through the errors with commands
|
||||
like |:cnext| and |:cprevious|, see above.
|
||||
This command does not accept a comment, any "
|
||||
characters are considered part of the arguments.
|
||||
@@ -288,18 +303,34 @@ advantages are:
|
||||
- Uses Vim search patterns. Multi-line patterns can be used.
|
||||
- When plugins are enabled: compressed and remote files can be searched.
|
||||
|gzip| |netrw|
|
||||
- When 'hidden' is set the files are kept loaded, thus repeating a search is
|
||||
much faster. Uses a lot of memory though!
|
||||
|
||||
|
||||
5.1 using Vim's internal grep
|
||||
|
||||
*:vim* *:vimgrep*
|
||||
:vim[grep][!] /{pattern}/ {file} ...
|
||||
*:vim* *:vimgrep* *E682* *E683*
|
||||
:vim[grep][!] /{pattern}/[g][j] {file} ...
|
||||
Search for {pattern} in the files {file} ... and set
|
||||
the error list to the matches.
|
||||
{pattern} if a Vim search pattern. Instead of
|
||||
enclosing it in / any non-ID character |'isident'|
|
||||
can be used, so long as it does not appear in
|
||||
{pattern}.
|
||||
Without the 'g' flag each line is added only once.
|
||||
With 'g' every match is added.
|
||||
|
||||
{pattern} is a Vim search pattern. Instead of
|
||||
enclosing it in / any non-ID character (see
|
||||
|'isident'|) can be used, so long as it does not
|
||||
appear in {pattern}.
|
||||
'ignorecase' applies. To overrule it put |/\c| in the
|
||||
pattern to ignore case or |/\C| to match case.
|
||||
'smartcase' is not used.
|
||||
|
||||
Without the 'j' flag Vim jumps to the first match.
|
||||
With 'j' only the quickfix list is updated.
|
||||
With the [!] any changes in the current buffer are
|
||||
abandoned.
|
||||
|
||||
Every second or so the searched file name is displayed
|
||||
to give you an idea of the progress made.
|
||||
Examples: >
|
||||
:vimgrep /an error/ *.c
|
||||
:vimgrep /\<FileName\>/ *.h include/*
|
||||
@@ -312,7 +343,8 @@ advantages are:
|
||||
:vimgrep Error *.c
|
||||
<
|
||||
*:vimgrepa* *:vimgrepadd*
|
||||
:vimgrepa[dd][!] [/]{pattern}[/] {file} ...
|
||||
:vimgrepa[dd][!] /{pattern}/[g][j] {file} ...
|
||||
:vimgrepa[dd][!] {pattern} {file} ...
|
||||
Just like ":vimgrep", but instead of making a new list
|
||||
of errors the matches are appended to the current
|
||||
list.
|
||||
@@ -447,7 +479,7 @@ not "b:current_compiler". What the command actually does is the following:
|
||||
- Execute ":runtime! compiler/{name}.vim". The plugins are expected to set
|
||||
options with "CompilerSet" and set the "current_compiler" variable to the
|
||||
name of the compiler.
|
||||
- Delete the "CompilerSet user command.
|
||||
- Delete the "CompilerSet" user command.
|
||||
- Set "b:current_compiler" to the value of "current_compiler".
|
||||
- Without "!" the old value of "current_compiler" is restored.
|
||||
|
||||
@@ -577,6 +609,7 @@ Basic items
|
||||
uses the length for the column number)
|
||||
%*{conv} any scanf non-assignable conversion
|
||||
%% the single '%' character
|
||||
%s search text (finds a string)
|
||||
|
||||
The "%f" conversion depends on the current 'isfname' setting.
|
||||
|
||||
@@ -599,6 +632,13 @@ or >
|
||||
to indicate the column of the error. This is to be used in a multi-line error
|
||||
message. See |errorformat-javac| for a useful example.
|
||||
|
||||
The "%s" conversion specifies the text to search for to locate the error line.
|
||||
The text is used as a literal string. The anchors "^" and "$" are added to
|
||||
the text to locate the error line exactly matching the search text and the
|
||||
text is prefixed with the "\V" atom to make it "very nomagic". The "%s"
|
||||
conversion can be used to locate lines without a line number in the error
|
||||
output. Like the output of the "grep" shell command.
|
||||
When the pattern is present the line number will not be used.
|
||||
|
||||
Changing directory
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*quickref.txt* For Vim version 7.0aa. Last change: 2004 Jul 27
|
||||
*quickref.txt* For Vim version 7.0aa. Last change: 2005 Mar 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -607,6 +607,7 @@ Short explanation of each option: *option-list*
|
||||
|'backupskip'| |'bsk'| no backup for files that match these patterns
|
||||
|'balloondelay'| |'bdlay'| delay in mS before a balloon may pop up
|
||||
|'ballooneval'| |'beval'| switch on balloon evaluation
|
||||
|'balloonexpr'| |'bexpr'| expression to show in balloon
|
||||
|'binary'| |'bin'| read/write/edit file in binary mode
|
||||
|'bioskey'| |'biosk'| MS-DOS: use bios calls for input characters
|
||||
|'bomb'| prepend a Byte Order Mark to the file
|
||||
@@ -750,6 +751,7 @@ Short explanation of each option: *option-list*
|
||||
|'maxfuncdepth'| |'mfd'| maximum recursive depth for user functions
|
||||
|'maxmapdepth'| |'mmd'| maximum recursive depth for mapping
|
||||
|'maxmem'| |'mm'| maximum memory (in Kbyte) used for one buffer
|
||||
|'maxmempattern'| |'mmp'| maximum memory (in Kbyte) used for pattern search
|
||||
|'maxmemtot'| |'mmt'| maximum memory (in Kbyte) used for all buffers
|
||||
|'menuitems'| |'mis'| maximum number of items in a menu
|
||||
|'modeline'| |'ml'| recognize modelines at start or end of file
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*recover.txt* For Vim version 7.0aa. Last change: 2004 Jun 16
|
||||
*recover.txt* For Vim version 7.0aa. Last change: 2005 Feb 10
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -116,8 +116,12 @@ command:
|
||||
|
||||
*:pre* *:preserve* *E313* *E314*
|
||||
:pre[serve] Write all text for all buffers into swap file. The
|
||||
original file is no longer needed for recovery. {Vi:
|
||||
emergency exit}
|
||||
original file is no longer needed for recovery.
|
||||
This sets a flag in the current buffer. When the '&'
|
||||
flag is present in 'cpoptions' the swap file will not
|
||||
be deleted for this buffer when Vim exits and the
|
||||
buffer is still loaded |cpo-&|.
|
||||
{Vi: might also exit}
|
||||
|
||||
A Vim swap file can be recognized by the first six characters: "b0VIM ".
|
||||
After that comes the version number, e.g., "3.0".
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*repeat.txt* For Vim version 7.0aa. Last change: 2004 Jul 30
|
||||
*repeat.txt* For Vim version 7.0aa. Last change: 2005 Feb 28
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -13,6 +13,7 @@ Chapter 26 of the user manual introduces repeating |usr_26.txt|.
|
||||
3. Complex repeats |complex-repeat|
|
||||
4. Using Vim scripts |using-scripts|
|
||||
5. Debugging scripts |debug-scripts|
|
||||
6. Profiling |profiling|
|
||||
|
||||
==============================================================================
|
||||
1. Single repeats *single-repeat*
|
||||
@@ -81,6 +82,11 @@ This replaces all occurrences of "pat" with "PAT". The same can be done with:
|
||||
:%s/pat/PAT/g
|
||||
Which is two characters shorter!
|
||||
|
||||
A special case is using ":visual" as a command. This will move to a matching
|
||||
line, go to Normal mode to let you execute commands there until you use |Q| to
|
||||
return to Ex mode. This will be repeated for each matching line. While doing
|
||||
this you cannot use ":global".
|
||||
|
||||
==============================================================================
|
||||
3. Complex repeats *complex-repeat*
|
||||
|
||||
@@ -102,7 +108,7 @@ q Stops recording. (Implementation note: The 'q' that
|
||||
expression. The result of the expression is then
|
||||
executed. See also |@:|. {Vi: only named registers}
|
||||
|
||||
*@@*
|
||||
*@@* *E748*
|
||||
@@ Repeat the previous @{0-9a-z":*} [count] times.
|
||||
|
||||
:[addr]*{0-9a-z".=} *:@* *:star*
|
||||
@@ -478,6 +484,7 @@ DEFINING BREAKPOINTS
|
||||
The [lnum] is the line number of the breakpoint. Vim will stop at or after
|
||||
this line. When omitted line 1 is used.
|
||||
|
||||
*:debug-name*
|
||||
{name} is a pattern that is matched with the file or function name. The
|
||||
pattern is like what is used for autocommands. There must be a full match (as
|
||||
if the pattern starts with "^" and ends in "$"). A "*" matches any sequence
|
||||
@@ -497,6 +504,10 @@ The match for functions is done against the name as it's shown in the output
|
||||
of ":function". For local functions this means that something like "<SNR>99_"
|
||||
is prepended.
|
||||
|
||||
Note that functions are first loaded and later executed. When they are loaded
|
||||
the "file" breakpoints are checked, when they are executed the "func"
|
||||
breakpoints.
|
||||
|
||||
|
||||
DELETING BREAKPOINTS
|
||||
*:breakd* *:breakdel* *E161*
|
||||
@@ -538,4 +549,91 @@ OBSCURE
|
||||
Undo ":debuggreedy": get debug mode commands directly from the
|
||||
user, don't use typeahead for debug commands.
|
||||
|
||||
==============================================================================
|
||||
6. Profiling *profile* *profiling*
|
||||
|
||||
Profiling means that Vim measures the time that is spend on executing
|
||||
functions and/or scripts. The |+profile| feature is required for this.
|
||||
It is only included when Vim was compiled with "huge" features.
|
||||
{Vi does not have profiling}
|
||||
|
||||
:prof[ile] start {fname} *:prof* *:profile* *E750*
|
||||
Start profiling, write the output in {fname} upon exit.
|
||||
If {fname} already exists it will be overwritten.
|
||||
The variable |v:profiling| is set to one.
|
||||
|
||||
:prof[ile] func {pattern}
|
||||
Profile function that matches the pattern {pattern}.
|
||||
See |:debug-name| for how {pattern} is used.
|
||||
|
||||
:prof[ile][!] file {pattern}
|
||||
Profile script file that matches the pattern {pattern}.
|
||||
See |:debug-name| for how {pattern} is used.
|
||||
This only profiles the script itself, not the functions
|
||||
defined in it.
|
||||
When the [!] is added then all functions defined in the script
|
||||
will also be profiled. But only if the script is loaded after
|
||||
this command.
|
||||
|
||||
|
||||
You must always start with a ":profile start fname" command. The resulting
|
||||
file is written when Vim exits. Here is an example of the output, with line
|
||||
numbers prepended for the explanation:
|
||||
|
||||
1 FUNCTION Test2() ~
|
||||
2 Called 1 time ~
|
||||
3 Total time: 0.155251 ~
|
||||
4 Self time: 0.002006 ~
|
||||
5 ~
|
||||
6 count total (s) self (s) ~
|
||||
7 9 0.000096 for i in range(8) ~
|
||||
8 8 0.153655 0.000410 call Test3() ~
|
||||
9 8 0.000070 endfor ~
|
||||
10 " Ask a question ~
|
||||
11 1 0.001341 echo input("give me an answer: ") ~
|
||||
|
||||
The header (lines 1-4) gives the time for the whole function. The "Total"
|
||||
time is the time passed while the function was executing. The "Self" time is
|
||||
the "Total" time reduced by time spent in:
|
||||
- other user defined functions
|
||||
- sourced scripts
|
||||
- executed autocommands
|
||||
- external (shell) commands
|
||||
|
||||
Lines 7-11 show the time spent in each executed line. Lines that are not
|
||||
executed do not count. Thus a comment line is never counted.
|
||||
|
||||
The Count column shows how many times a line was executed. Note that the
|
||||
"for" command in line 7 is executed one more time as the following lines.
|
||||
That is because the line is also executed to detect the end of the loop.
|
||||
|
||||
The time Vim spends waiting for user input isn't counted at all. Thus how
|
||||
long you take to respond to the input() prompt is irrelevant.
|
||||
|
||||
Profiling should give a good indication of where time is spent, but keep in
|
||||
mind there are various things that may clobber the results:
|
||||
|
||||
- The accuracy of the time measured depends on the gettimeofday() system
|
||||
function. It may only be as accurate as 1/100 second, even though the times
|
||||
are displayed in micro seconds.
|
||||
|
||||
- Real elapsed time is measured, if other processes are busy they may cause
|
||||
delays at unpredictable moments. You may want to run the profiling several
|
||||
times and use the lowest results.
|
||||
|
||||
- If you have several commands in one line you only get one time. Split the
|
||||
line to see the time for the individual commands.
|
||||
|
||||
- The time of the lines added up is mostly less than the time of the whole
|
||||
function. There is some overhead in between.
|
||||
|
||||
- Functions that are deleted before Vim exits will not produce profiling
|
||||
information. You can check the |v:profiling| variable if needed: >
|
||||
:if !v:profiling
|
||||
: delfunc MyFunc
|
||||
:endif
|
||||
<
|
||||
- Profiling may give weird results on multi-processor systems, when sleep
|
||||
mode kicks in or the processor frequency is reduced to save power.
|
||||
|
||||
vim:tw=78:ts=8:ft=help:norl:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*scroll.txt* For Vim version 7.0aa. Last change: 2004 Jun 08
|
||||
*scroll.txt* For Vim version 7.0aa. Last change: 2005 Feb 10
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -52,6 +52,8 @@ CTRL-D Scroll window Downwards in the buffer. The number of
|
||||
<PageDown> or *<PageDown>* *CTRL-F*
|
||||
CTRL-F Scroll window [count] pages Forwards (downwards) in
|
||||
the buffer. See also 'startofline' option.
|
||||
When there is only one window the 'window' option
|
||||
might be used.
|
||||
|
||||
*z+*
|
||||
z+ Without [count]: Redraw with the line just below the
|
||||
@@ -89,6 +91,8 @@ CTRL-U Scroll window Upwards in the buffer. The number of
|
||||
<PageUp> or *<PageUp>* *CTRL-B*
|
||||
CTRL-B Scroll window [count] pages Backwards (upwards) in the
|
||||
buffer. See also 'startofline' option.
|
||||
When there is only one window the 'window' option
|
||||
might be used.
|
||||
|
||||
*z^*
|
||||
z^ Without [count]: Redraw with the line just above the
|
||||
|
||||
158
runtime/doc/spell.txt
Normal file
158
runtime/doc/spell.txt
Normal file
@@ -0,0 +1,158 @@
|
||||
*spell.txt* For Vim version 7.0aa. Last change: 2005 Mar 22
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
||||
|
||||
Spell checking *spell*
|
||||
|
||||
1. Quick start |spell-quickstart|
|
||||
X. Spell file format |spell-file-format|
|
||||
|
||||
{Vi does not have any of these commands}
|
||||
|
||||
Spell checking is not available when the |+syntax| feature has been disabled
|
||||
at compile time.
|
||||
|
||||
==============================================================================
|
||||
1. Quick start *spell-quickstart*
|
||||
|
||||
This command switches on spell checking: >
|
||||
|
||||
:setlocal spell spelllang=en_us
|
||||
|
||||
This switches the 'spell' option on and specifies to check for US English.
|
||||
|
||||
The words that are not recognized are highlighted with one of these:
|
||||
SpellBad word not recognized
|
||||
SpellRare rare word
|
||||
SpellLocal wrong spelling for selected region
|
||||
|
||||
|
||||
PERFORMANCE
|
||||
|
||||
Note that Vim does on-the-fly spellchecking. To make this work fast the
|
||||
word list is loaded in memory. Thus this uses a lot of memory (2 Mbyte or
|
||||
more). There might also be a noticable delay when the word list is loaded,
|
||||
which happens when 'spelllang' is set. Each word list is only loaded once,
|
||||
they are not deleted when 'spelllang' is made empty. When 'encoding' is set
|
||||
the word lists are reloaded, thus you may notice a delay then too.
|
||||
|
||||
|
||||
REGIONS
|
||||
|
||||
A word may be spelled differently in various regions. For example, English
|
||||
comes in (at least) these variants:
|
||||
|
||||
en all regions
|
||||
en_us US
|
||||
en_gb Great Britain
|
||||
en_ca Canada
|
||||
|
||||
Words that are not used in one region but are used in another region are
|
||||
highlighted with SpellLocal.
|
||||
|
||||
Always use lowercase letters.
|
||||
|
||||
|
||||
SPELL FILES
|
||||
|
||||
Vim searches for spell files in the "spell" subdirectory of the directories in
|
||||
'runtimepath'. The name is: xx.yyy.spl, where:
|
||||
xx the language name
|
||||
yyy the value of 'encoding'
|
||||
|
||||
Exception: Vim uses "latin1" when 'encoding' is "iso-8859-15". The euro sign
|
||||
doesn't matter for spelling.
|
||||
|
||||
Spelling for EBCDIC is currently not supported.
|
||||
|
||||
A spell file might not be available in the current 'encoding'. You may try
|
||||
using the "iconv" program to create one: >
|
||||
|
||||
iconv -f latin1 -t koi8-r de.latin1.spl >de.koi8-r.spl
|
||||
|
||||
However, if some characters cannot be presented in the target encoding this
|
||||
will give wrong results.
|
||||
|
||||
If a spell file only uses ASCII characters the encoding can be omitted. This
|
||||
is useful for English: "en.spl" The file with encoding is checked first, thus
|
||||
you could have one with encoding that includes words with non-ASCII characters
|
||||
and use the ASCII file as a fall-back.
|
||||
|
||||
|
||||
WORDS
|
||||
|
||||
Vim uses a fixed method to recognize a word. This is independent of
|
||||
'iskeyword', so that it also works in help files and for languages that
|
||||
include characters like '-' in 'iskeyword'. The word characters do depend on
|
||||
'encoding'.
|
||||
|
||||
A word that starts with a digit is always ignored.
|
||||
|
||||
|
||||
SYNTAX HIGHLIGHTING
|
||||
|
||||
Files that use syntax highlighting can specify where spell checking should be
|
||||
done:
|
||||
|
||||
everywhere default
|
||||
in specific items use "contains=@Spell"
|
||||
everywhere but specific items use "contains=@NoSpell"
|
||||
|
||||
Note that mixing @Spell and @NoSpell doesn't make sense.
|
||||
|
||||
==============================================================================
|
||||
X. Spell file format *spell-file-format*
|
||||
*E751*
|
||||
|
||||
The spelling for a language is specified in file with a specific format.
|
||||
The first character of a line specifies what follows in the line:
|
||||
|
||||
line meaning ~
|
||||
-xx[-yy]... words for region xx (and region yy, etc.) follow
|
||||
<word> normal word
|
||||
><word> rare word
|
||||
+<word> optional addition after a word
|
||||
!<word> normal word, keep upper/lower case
|
||||
!><word> rare word, keep upper/lower case
|
||||
!+<word> optional word addition, keep upper/lower case
|
||||
#<anything> comment
|
||||
|
||||
Empty lines are ignored. The word continues until the end of the line. Watch
|
||||
out for trailing white space!
|
||||
|
||||
Words that start with an upper-case letter will be required to start with an
|
||||
upper-case letter. Otherwise, words must be in lower-case and case is
|
||||
ignored.
|
||||
|
||||
It is possible that a word appears both with an upper-case letter and as a
|
||||
rare word. This means that the word with an upper-case letter is OK and the
|
||||
word without the upper-case letter is rare.
|
||||
*E753*
|
||||
The region is specified with "-xx". For example, in the "en.spl" file "-us"
|
||||
starts the word for "en_us". This can be repeated for words that are used in
|
||||
more than one region. For example "-ca-us" is used for Canadian and US
|
||||
English words. Use "---" to go back to the words for all regions.
|
||||
|
||||
Vim supports up to eight regions. *E752*
|
||||
|
||||
It is possible to have a match that starts with a valid word. In that case
|
||||
the match is used, because it is longer. Example:
|
||||
|
||||
we
|
||||
=we're
|
||||
|
||||
"re" is not a word, thus "=we're" is needed to avoid it gets highlighted.
|
||||
|
||||
The "+" items may appear after any word. For English "'s" is used. Be
|
||||
careful with this, it may hide mistakes.
|
||||
|
||||
Vim will check for duplicate words in the files used, but you will only get
|
||||
warnings if the 'verbose' option is set to 1 or more.
|
||||
|
||||
Note that the "=" and "+" words will slow down the operation. Use them only
|
||||
when really needed.
|
||||
|
||||
|
||||
vim:tw=78:sw=4:ts=8:ft=help:norl:
|
||||
@@ -1,4 +1,4 @@
|
||||
*starting.txt* For Vim version 7.0aa. Last change: 2005 Jan 03
|
||||
*starting.txt* For Vim version 7.0aa. Last change: 2005 Feb 19
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -263,8 +263,14 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
|
||||
To be used when Vim is used to execute Ex commands from a file
|
||||
instead of a terminal. Switches off most prompts and
|
||||
informative messages. Also warnings and error messages.
|
||||
But ":print" output is displayed. And when 'verbose' is
|
||||
non-zero messages are printed (for debugging).
|
||||
The output of these commands is displayed (to stdout):
|
||||
:print
|
||||
:list
|
||||
:number
|
||||
:set to display option values.
|
||||
When 'verbose' is non-zero messages are printed (for
|
||||
debugging, to stderr).
|
||||
'term' and $TERM are not used.
|
||||
If Vim appears to be stuck try typing "qa!<Enter>". You don't
|
||||
get a prompt thus you can't see Vim is waiting for you to type
|
||||
something.
|
||||
@@ -469,22 +475,23 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
|
||||
started in Ex mode, see |-s-ex|. See also |complex-repeat|.
|
||||
{not in Vi}
|
||||
|
||||
*-w_nr*
|
||||
-w {number}
|
||||
-w{number} Set the 'window' option to {number}.
|
||||
|
||||
*-w*
|
||||
-w {scriptout} All the characters that you type are recorded in the file
|
||||
"scriptout", until you exit Vim. This is useful if you want
|
||||
to create a script file to be used with "vim -s" or
|
||||
":source!". When the "scriptout" file already exists, new
|
||||
characters are appended. See also |complex-repeat|.
|
||||
{scriptout} cannot start with a digit.
|
||||
{not in Vi}
|
||||
|
||||
*-W*
|
||||
-W {scriptout} Like -w, but do not append, overwrite an existing file.
|
||||
{not in Vi}
|
||||
|
||||
*-w_nr*
|
||||
-w{number} Does nothing. This was included for Vi-compatibility. In Vi
|
||||
it sets the 'window' option, which is not implemented in Vim.
|
||||
|
||||
--remote [+{cmd}] {file} ...
|
||||
Open the {file} in another Vim that functions as a server.
|
||||
Any non-file arguments must come before this.
|
||||
@@ -1033,6 +1040,7 @@ CTRL-Z Suspend Vim, like ":stop".
|
||||
Command-line mode, the CTRL-Z is inserted as a normal
|
||||
character. In Visual mode Vim goes back to Normal
|
||||
mode.
|
||||
Note: if CTRL-Z undoes a change see |mswin.vim|.
|
||||
|
||||
|
||||
:sus[pend][!] or *:sus* *:suspend* *:st* *:stop*
|
||||
@@ -1192,7 +1200,7 @@ This saves the current Session, and starts off the command to load another.
|
||||
When [file] is omitted or is a number from 1 to 9, a
|
||||
name is generated and 'viewdir' prepended. When last
|
||||
directory name in 'viewdir' does not exist, this
|
||||
directory is created.
|
||||
directory is created. *E739*
|
||||
An existing file is always overwritten then. Use
|
||||
|:loadview| to load this view again.
|
||||
When [file] is the name of a file ('viewdir' is not
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*syntax.txt* For Vim version 7.0aa. Last change: 2004 Dec 09
|
||||
*syntax.txt* For Vim version 7.0aa. Last change: 2005 Mar 19
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -184,6 +184,11 @@ add a few items or change the highlighting, follow these steps:
|
||||
That's it. The next time you edit a C file the Comment color will be
|
||||
different. You don't even have to restart Vim.
|
||||
|
||||
If you have multiple files, you can use the filetype as the directory name.
|
||||
All the "*.vim" files in this directory will be used, for example:
|
||||
~/.vim/after/syntax/c/one.vim
|
||||
~/.vim/after/syntax/c/two.vim
|
||||
|
||||
|
||||
REPLACING AN EXISTING SYNTAX FILE *mysyntaxfile-replace*
|
||||
|
||||
@@ -631,6 +636,8 @@ c_space_errors trailing white space and spaces before a <Tab>
|
||||
c_no_trail_space_error ... but no trailing spaces
|
||||
c_no_tab_space_error ... but no spaces before a <Tab>
|
||||
c_no_bracket_error don't highlight {}; inside [] as errors
|
||||
c_no_curly_error don't highlight {}; inside [] and () as errors;
|
||||
except { and } in first column
|
||||
c_no_ansi don't do standard ANSI types and constants
|
||||
c_ansi_typedefs ... but do standard ANSI types
|
||||
c_ansi_constants ... but do standard ANSI constants
|
||||
@@ -2575,7 +2582,7 @@ DEFINING KEYWORDS *:syn-keyword*
|
||||
:syntax keyword Type contained int long char
|
||||
:syntax keyword Type int long contained char
|
||||
:syntax keyword Type int long char contained
|
||||
<
|
||||
< *E747*
|
||||
When you have a keyword with an optional tail, like Ex commands in
|
||||
Vim, you can put the optional characters inside [], to define all the
|
||||
variations at once: >
|
||||
@@ -3502,6 +3509,7 @@ faster.]
|
||||
Without a "groupthere" argument. Define a region or match that is
|
||||
skipped while searching for a sync point.
|
||||
|
||||
*syn-sync-linecont*
|
||||
:syntax sync linecont {pattern}
|
||||
|
||||
When {pattern} matches in a line, it is considered to continue in
|
||||
@@ -3624,6 +3632,7 @@ term={attr-list} *attr-list* *highlight-term* *E418*
|
||||
following items (in any order):
|
||||
bold
|
||||
underline
|
||||
undercurl not always available
|
||||
reverse
|
||||
inverse same as reverse
|
||||
italic
|
||||
@@ -3632,6 +3641,9 @@ term={attr-list} *attr-list* *highlight-term* *E418*
|
||||
|
||||
Note that "bold" can be used here and by using a bold font. They
|
||||
have the same effect.
|
||||
"undercurl" is a curly underline. When "undercurl" is not possible
|
||||
then "underline" is used. In general "undercurl" is only available in
|
||||
the GUI.
|
||||
|
||||
start={term-list} *highlight-start* *E422*
|
||||
stop={term-list} *term-list* *highlight-stop*
|
||||
@@ -3787,8 +3799,10 @@ font={font-name} *highlight-font*
|
||||
|
||||
guifg={color-name} *highlight-guifg*
|
||||
guibg={color-name} *highlight-guibg*
|
||||
These give the foreground (guifg) and background (guibg) color to
|
||||
use in the GUI. There are a few special names:
|
||||
guisp={color-name} *highlight-guisp*
|
||||
These give the foreground (guifg), background (guibg) and special
|
||||
(guisp) color to use in the GUI. "guisp" is used for underline and
|
||||
undercurl. There are a few special names:
|
||||
NONE no color (transparent)
|
||||
bg use normal background color
|
||||
background use normal background color
|
||||
@@ -3817,8 +3831,8 @@ guibg={color-name} *highlight-guibg*
|
||||
You can also specify a color by its Red, Green and Blue values.
|
||||
The format is "#rrggbb", where
|
||||
"rr" is the Red value
|
||||
"bb" is the Blue value
|
||||
"gg" is the Green value
|
||||
"bb" is the Blue value
|
||||
All values are hexadecimal, range from "00" to "ff". Examples: >
|
||||
:highlight Comment guifg=#11f0c3 guibg=#ff00ff
|
||||
<
|
||||
@@ -3879,6 +3893,17 @@ SpecialKey Meta and special keys listed with ":map", also for text used
|
||||
to show unprintable characters in the text, 'listchars'.
|
||||
Generally: text that is displayed differently from what it
|
||||
really is.
|
||||
*hl-SpellBad*
|
||||
SpellBad Word that is not recognized by the spellchecker. |spell|
|
||||
This will be combined with the highlighting used otherwise.
|
||||
*hl-SpellLocal*
|
||||
SpellLocal Word that is recognized by the spellchecker as one that is
|
||||
used in another region. |spell|
|
||||
This will be combined with the highlighting used otherwise.
|
||||
*hl-SpellRare*
|
||||
SpellRare Word that is recognized by the spellchecker as one that is
|
||||
hardly ever used. |spell|
|
||||
This will be combined with the highlighting used otherwise.
|
||||
*hl-StatusLine*
|
||||
StatusLine status line of current window
|
||||
*hl-StatusLineNC*
|
||||
|
||||
283
runtime/doc/tags
283
runtime/doc/tags
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
||||
*tagsrch.txt* For Vim version 7.0aa. Last change: 2005 Jan 02
|
||||
*tagsrch.txt* For Vim version 7.0aa. Last change: 2005 Feb 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -744,11 +744,13 @@ CTRL-W i Open a new window, with the cursor on the first line
|
||||
]D like "[D", but start at the current cursor position.
|
||||
{not in Vi}
|
||||
|
||||
*:dl* *:dlist*
|
||||
*:dli* *:dlist*
|
||||
:[range]dl[ist][!] [/]string[/]
|
||||
Like "[D" and "]D", but search in [range] lines
|
||||
(default: whole file).
|
||||
See |:search-args| for [/] and [!]. {not in Vi}
|
||||
Note that ":dl" works like ":delete" with the "l"
|
||||
flag.
|
||||
|
||||
*[_CTRL-D*
|
||||
[ CTRL-D Jump to the first macro definition that contains the
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*term.txt* For Vim version 7.0aa. Last change: 2004 Dec 07
|
||||
*term.txt* For Vim version 7.0aa. Last change: 2005 Mar 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -146,7 +146,7 @@ sequence of bytes.
|
||||
|
||||
*vt100-function-keys* *xterm-function-keys*
|
||||
An xterm can send function keys F1 to F4 in two modes: vt100 compatible or
|
||||
not. Because Vim cannot know what the xterm is sending, both types of keys
|
||||
not. Because Vim may not know what the xterm is sending, both types of keys
|
||||
are recognized. The same happens for the <Home> and <End> keys.
|
||||
normal vt100 ~
|
||||
<F1> t_k1 <Esc>[11~ <xF1> <Esc>OP *<xF1>-xterm*
|
||||
@@ -167,6 +167,18 @@ recognizes most of them. Use ":set termcap" to check which are supported and
|
||||
what the codes are. Mostly these are not in a termcap, they are only
|
||||
supported by the builtin_xterm termcap.
|
||||
|
||||
*xterm-modifier-keys*
|
||||
Newer versions of xterm support Alt and Ctrl for most function keys. To avoid
|
||||
having to add all combinations of Alt, Ctrl and Shift for every key a special
|
||||
sequence is recognized at the end of a termcap entry: ";*X". The "X" can be
|
||||
any character, often '~' is used. The ";*" stands for an optional modifier
|
||||
argument. ";2" is Shift, ";3" is Alt, ";5" is Ctrl and ";9" is Meta (when
|
||||
it's different from Alt). They can be combined. Examples: >
|
||||
:set <F8>=^[[19;*~
|
||||
:set <Home>=^[[1;*H
|
||||
Another speciality about these codes is that they are not overwritten by
|
||||
another code. That is to avoid that the codes obtained from xterm directly
|
||||
|t_RV| overwrite them.
|
||||
*xterm-scroll-region*
|
||||
The default termcap entry for xterm on Sun and other platforms does not
|
||||
contain the entry for scroll regions. Add ":cs=\E[%i%d;%dr:" to the xterm
|
||||
@@ -260,6 +272,8 @@ OUTPUT CODES
|
||||
t_ts set window title start (to status line) *t_ts* *'t_ts'*
|
||||
t_ue underline end *t_ue* *'t_ue'*
|
||||
t_us underline mode *t_us* *'t_us'*
|
||||
t_Ce undercurl end *t_Ce* *'t_Ce'*
|
||||
t_Cs undercurl mode *t_Cs* *'t_Cs'*
|
||||
t_ut clearing uses the current background color *t_ut* *'t_ut'*
|
||||
t_vb visual bell *t_vb* *'t_vb'*
|
||||
t_ve cursor visible *t_ve* *'t_ve'*
|
||||
@@ -289,6 +303,10 @@ Note: Use the <> form if possible
|
||||
t_kd <Down> arrow down *t_kd* *'t_kd'*
|
||||
t_kr <Right> arrow right *t_kr* *'t_kr'*
|
||||
t_kl <Left> arrow left *t_kl* *'t_kl'*
|
||||
<xUp> alternate arrow up *<xUp>*
|
||||
<xDown> alternate arrow down *<xDown>*
|
||||
<xRight> alternate arrow right *<xRight>*
|
||||
<xLeft> alternate arrow left *<xLeft>*
|
||||
<S-Up> shift arrow up
|
||||
<S-Down> shift arrow down
|
||||
t_%i <S-Right> shift arrow right *t_%i* *'t_%i'*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*tips.txt* For Vim version 7.0aa. Last change: 2004 Feb 17
|
||||
*tips.txt* For Vim version 7.0aa. Last change: 2005 Feb 23
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -201,21 +201,22 @@ abbreviations that correct them. For example: >
|
||||
==============================================================================
|
||||
Counting words, lines, etc. *count-items*
|
||||
|
||||
To count how often any pattern occurs in a buffer, set 'report' to 0, and use
|
||||
the substitute command to replace the pattern with itself. The reported
|
||||
number of substitutions is the number of items. Examples: >
|
||||
To count how often any pattern occurs in the current buffer use the substitute
|
||||
command and add the 'n' flag to avoid the substitution. The reported number
|
||||
of substitutions is the number of items. Examples: >
|
||||
|
||||
:set report=0
|
||||
:%s/./&/g characters
|
||||
:%s/\i\+/&/g words
|
||||
:%s/^ lines
|
||||
:%s/the/&/g "the" anywhere
|
||||
:%s/\<the\>/&/g "the" as a word
|
||||
:%s/./&/gn characters
|
||||
:%s/\i\+/&/gn words
|
||||
:%s/^//n lines
|
||||
:%s/the/&/gn "the" anywhere
|
||||
:%s/\<the\>/&/gn "the" as a word
|
||||
|
||||
You might want to reset 'hlsearch' or do ":nohlsearch".
|
||||
Add the 'e' flag if you don't want an error when there are no matches.
|
||||
|
||||
This does not work if the 'modifiable' option is off. An alternative is using
|
||||
|v_g_CTRL-G| in Visual mode.
|
||||
An alternative is using |v_g_CTRL-G| in Visual mode.
|
||||
|
||||
If you want to find matches in multiple files use |:vimgrep|.
|
||||
|
||||
*count-bytes*
|
||||
If you want to count bytes, you can use this:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*todo.txt* For Vim version 7.0aa. Last change: 2005 Jan 03
|
||||
*todo.txt* For Vim version 7.0aa. Last change: 2005 Mar 28
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -30,87 +30,72 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
|
||||
*known-bugs*
|
||||
-------------------- Known bugs and current work -----------------------
|
||||
|
||||
List data type:
|
||||
- ":let list[expr] = expr"
|
||||
- ":let [a, b] = [1, 2]"
|
||||
- ":let [a, b; rest] = [1, 2, 3, 4]"
|
||||
- "for a in list"
|
||||
- "for [a, b] in [[1, 2], [3, 4]]"
|
||||
- == (same value) and "is" (same list)
|
||||
- add many functions:
|
||||
call(func, list) call function
|
||||
keys(list) list of all indexes 0 - len(list)
|
||||
repeat(list, count) return list concatenated count times
|
||||
concat(list1, list2) return list1 and list2 concatenated
|
||||
extend(list1, list2) concatenate list2 to list 1
|
||||
extend(list1, list2, idx) prepend list2 before idx in list1
|
||||
count(list, item) nr of times item appears in list
|
||||
index(list, item) lowest index of item in list
|
||||
pop(list[, idx]) removes item at idx (default: last)
|
||||
pop(list, idx1, idx2) removes items idx1 to idx2, returns them
|
||||
reverse(list) reverses order
|
||||
sort(list[, func]) sort; func compares items
|
||||
getval(list, idx[, default]) get value at idx or default
|
||||
file2lines()
|
||||
file2words()
|
||||
Mac unicode patch (Da Woon Jung):
|
||||
- selecting proportional font breaks display
|
||||
- UTF-8 text causes display problems. Font replacement causes this.
|
||||
|
||||
patch for QuickFixCmdPre and QuickFixCmdPost autocommands. (Ciaran McCreesh,
|
||||
2005 Jan 1)
|
||||
autoload:
|
||||
- Add a Vim script in $VIMRUNTIME/tools that takes a file with a list of
|
||||
script names and a help file and produces a script that can be sourced to
|
||||
install the scripts in the user's directories.
|
||||
Use findfile(), so that only file names need to be given:
|
||||
script plugin/myscript.vim
|
||||
script autoload/mylib.vim
|
||||
script autoload/yourlib.vim
|
||||
helpfile doc/myscript.txt
|
||||
For the "helpfile" item ":helptags" is run.
|
||||
|
||||
New Motif toolbar button from Martin Dalecki:
|
||||
- add remark in version7.txt
|
||||
- check if it works for pixmap loaded from a file.
|
||||
Win32: Balloon text can't contain line break.
|
||||
Hints for multiline tooltips from Alexei Alexandrov (2005 Mar 26)
|
||||
Patch from Sergey Khorev, 2005 Mar 28
|
||||
Add has("balloon_multiline")
|
||||
|
||||
Awaiting response:
|
||||
- Patch for mch_FullName() also in Vim 6.3? os_mswin.c
|
||||
- Win32: "gvim -V100" should use dialog with scrollbar. Using
|
||||
gui_mch_dialog() would be good, but need to move display_errors() to after
|
||||
creating the window, so that s_hwnd is valid.
|
||||
How to add a scrollbar to the dialog?
|
||||
- Win32: tearoff menu window should have a scrollbar when it's taller than
|
||||
the screen.
|
||||
- Included NetBeans patches (Gordon Prieur, Oct 20)
|
||||
See two messages for list of changed files. Additionally:
|
||||
doc/eval.txt
|
||||
Docs for message E680.
|
||||
Docs for ":nbkey".
|
||||
Asked Gordon to send the differences again, some parts apparently are
|
||||
missing.
|
||||
|
||||
|
||||
PLANNED FOR VERSION 7.0:
|
||||
|
||||
- For string variables, use length instead of NUL termination?
|
||||
+ can include NUL characters
|
||||
- setline() will have problems with NL vs NUL.
|
||||
Can use list of numbers instead (inefficient though).
|
||||
Also: for strings up to 3 bytes don't allocate memory, VAR_STRINGX.
|
||||
- new DATA TYPES:
|
||||
- None? (or use empty string?)
|
||||
- dictionary
|
||||
Check old patch from Robert Webb for array support.
|
||||
Add type checking? See ~/vim/ideas.txt.
|
||||
- Add SPELLCHECKER, with easy to add support for many languages.
|
||||
- Add SPELLCHECKER, with support for many languages.
|
||||
- Use "engspchk" from Charles Campbell for ideas.
|
||||
- Alternative: use MySpell library (in OpenOffice.org).
|
||||
http://spellchecker.mozdev.org/source.html
|
||||
- Alternative: use aspell library.
|
||||
- Dump pre-parsed spell structs in a file?
|
||||
- More complicated: Regions with different languages? E.g. comments in
|
||||
English, strings in German (po file).
|
||||
- Commands required:
|
||||
add word to private dict: wrong and OK (in popup menu for evim)
|
||||
:spell good <word> zg
|
||||
:spell wrong <word> zw
|
||||
[s move to previous spell error [S also rare word
|
||||
]s move to next spell error ]S also rare word
|
||||
- Update option window for 'spell' and 'spelllang'.
|
||||
- Use an external program like ispell or aspell for suggestions to correct
|
||||
the spelling.
|
||||
- Need wordlists for many languages; "language pack"
|
||||
- Use wordlists from openoffice (myspell). Work together with them to
|
||||
update the wordlist. (Adri Verhoef, Aad Nales)
|
||||
- Support for approximate-regexps will help with finding similar words
|
||||
(agrep http://www.tgries.de/agrep/).
|
||||
- Charles Campbell asks for method to add "contained" groups to
|
||||
existing syntax items (to add @Spell).
|
||||
Add ":syntax contains {pattern} add=@Spell" command? A bit like ":syn
|
||||
cluster" but change the contains list directly for matching syntax
|
||||
items.
|
||||
- Install spell files with src/main.aap.
|
||||
Alternatives using ispell or aspell:
|
||||
8 Add spell checking. Use "ispell -a" somehow.
|
||||
~/vim/patches/wm_vim-5_4d.zip can be used as an example (includes
|
||||
ispell inside Vim). Gautam Iyer has an example with "aspell".
|
||||
"engspchk" from Charles Campbell is a good way. Support for
|
||||
approximate-regexps will help (agrep http://www.tgries.de/agrep/).
|
||||
- Charles Campbell asks for method to add "contained" groups to
|
||||
existing syntax items (to add @Spell). Add ":syntax contains
|
||||
{pattern} add=@Spell" command? A bit like ":syn cluster" but change
|
||||
the contains list directly for matching syntax items.
|
||||
- Keep wordlist in syntax group, load it only once and use it several
|
||||
times later. Sort of global syntax items.
|
||||
- Use wordlists from openoffice (myspell). Work together with them to
|
||||
update the wordlist. (Adri Verhoef, Aad Nales)
|
||||
- Patch from Martin Dalecki. (2004 Dec) Uses ispell
|
||||
implements "undercurl" attribute. But how to set its color?
|
||||
Perhaps use "guicurl=Red" instead?
|
||||
If underline and undercurl are both there use undercurl only.
|
||||
Patch from Marcin Dalecki, uses pipe to aspell.
|
||||
|
||||
- REFACTORING: The main() function is very long. Move parts to separate
|
||||
functions, especially loops. Ideas from Walter Briscoe (2003 Apr 3, 2004
|
||||
Feb 9).
|
||||
Move the printing stuff to hardcopy.c.
|
||||
- Improve the interface between the generic GUI code and the system-specific
|
||||
code. Generic code handles text window with scrollbars, system-specific
|
||||
code menu, toolbar, etc.
|
||||
@@ -120,6 +105,7 @@ PLANNED FOR VERSION 7.0:
|
||||
like commands.
|
||||
- "INTELLISENSE". First cleanup the Insert-mode completion.
|
||||
http://www.vim.org/scripts/script.php?script_id=747
|
||||
www.vim.org script 1213 (Java Development Environment) (Fuchuan Wang)
|
||||
http://sourceforge.net/projects/insenvim
|
||||
of http://insenvim.sourceforge.net
|
||||
http://cedet.sourceforge.net/intellisense.shtml (for Emacs)
|
||||
@@ -131,9 +117,14 @@ PLANNED FOR VERSION 7.0:
|
||||
Vim-script list.
|
||||
- For interpreted languages, use the interpreter to obtain information.
|
||||
Should work for Java (Eclipse does this), Python, Tcl, etc.
|
||||
Richard Emberson mentioned working on an interface to Java.
|
||||
- Check Readline for its completion interface.
|
||||
- Use ctags for other languages. Writing a file could trigger running
|
||||
ctags, merging the tags of the changed file.
|
||||
Also see "Visual Assist" http://www.wholetomato.com/products:
|
||||
- Put the list of choices right under the place where they would be
|
||||
inserted.
|
||||
- Pre-expand abbreviations, show which abbrevs would match?
|
||||
- UNDO TREE: keep all states of the text, don't delete undo info.
|
||||
When making a change, instead of clearing any future undo (thus redo)
|
||||
info, make a new branch.
|
||||
@@ -154,6 +145,7 @@ PLANNED FOR VERSION 7.0:
|
||||
extension: ".filename.un~" (like swapfile but "un~" instead of "swp").
|
||||
7 Support WINDOW TABS. Works like several pages, each with their own
|
||||
split windows. Patch for GTK 1.2 passed on by Christian Michon, 2004 Jan 6.
|
||||
Don't forget to provide an "X" to close a tab.
|
||||
Also for the console!
|
||||
In Emacs these are called frames. Could also call them "pages".
|
||||
Use "1gt" - "99gt" to switch to a tab?
|
||||
@@ -166,6 +158,7 @@ PLANNED FOR VERSION 7.0:
|
||||
- Add DEBUGGER INTERFACE. Implementation for gdb by Xavier de Gaye,
|
||||
assisted by Mikolaj Machowski. Should work like an IDE. Try to keep it
|
||||
generic. Also found here: http://skawina.eu.org/mikolaj/vimgdb
|
||||
And the idevim plugin/script.
|
||||
To be able to start the debugger from inside Vim: For GUI run a program
|
||||
with a netbeans connection; for console: start a program that splits the
|
||||
terminal, runs the debugger in one window and reconnect Vim I/O to the
|
||||
@@ -198,12 +191,11 @@ PLANNED FOR VERSION 7.0:
|
||||
screen has not yet been allocated with the new size.
|
||||
- Running a shell command from the GUI still has limitations. Look into how
|
||||
the Vim shell project can help: http://vimshell.wana.at
|
||||
8 When a file is change outside of Vim and unmodified in Vim there is no
|
||||
simple way to automatically reload the file. Either add an option for
|
||||
this or make it simple to have the FileChangedShell invoke the normal
|
||||
action, telling it what to do.
|
||||
- Displaying size of Visual area: use 24-33 column display.
|
||||
- Mac: Unicode input and display (Eckehard Berns, June 27)
|
||||
When selecting multiple lines, up to about a screenfull, also count the
|
||||
characters.
|
||||
- Mac: Unicode input and display (Eckehard Berns, 2004 June 27)
|
||||
Other patch from Da Woon Jung, 2005 Jan 16.
|
||||
8 Add patch from Muraoka Taro (Mar 16) to support input method on Mac?
|
||||
New patch 2004 Jun 16
|
||||
9 Add cursor-column highlighting. Enable it with 'cursorcolumn' option,
|
||||
@@ -224,6 +216,10 @@ PLANNED FOR VERSION 7.0:
|
||||
- In a :s command multi-byte characters should also be upper/lower cased
|
||||
with \u, \U, etc.
|
||||
|
||||
Adjust src/main.aap for installing manpages like in Makefile.
|
||||
|
||||
Win32: Patch for Korean IME. (Yusung, 2005 March 21)
|
||||
|
||||
Support ":set syntax=cpp.doxygen"? Suggested patch by Michael Geddes (9 Aug
|
||||
2004). Should also work for 'filetype'.
|
||||
|
||||
@@ -246,20 +242,32 @@ Also place vimtutor.bat in %windir%?
|
||||
|
||||
Add gui_mch_browsedir() for Motif, KDE and Mac OS/X.
|
||||
|
||||
HTML indenting can be slow, find out why. Any way to do some kind of
|
||||
profiling for Vim script?
|
||||
7 Add a ":cstring" command. Works like ":cfile" but reads from a string
|
||||
variable. Also accept a list variable? Patch from Yegappan Lakshmanan.
|
||||
2005 Feb 17 Now it's ":cexpr".
|
||||
|
||||
Mac: problem with Xcode, Vim doesn't continue until the next click.
|
||||
Apparently hangs in handle_drop(). A PostEvent() avoids it. (Da Woon Jung)
|
||||
HTML indenting can be slow, find out why. Any way to do some kind of
|
||||
profiling for Vim script? At least add a function to get the current time in
|
||||
usec. reltime([start, [end]])
|
||||
reltime().sec == seconds, reltime().usec = microseconds
|
||||
reltime(start) current time relative to [start]
|
||||
echo timestring(reltime(start), 3) (3 is nr of digits after dot)
|
||||
reltime(start, end) difference between start and end
|
||||
Real Profiling:
|
||||
- :profile start /tmp/somefile (append if exists)
|
||||
- :profile pause
|
||||
- :profile resume
|
||||
- :profile stop
|
||||
- per function line
|
||||
- self, Vim and total time (incl system time)
|
||||
- dump results in file on exit or when stopped.
|
||||
|
||||
Add more tests for all new functionality in Vim 7. Especially new functions.
|
||||
|
||||
Updated Ruby interface. (Ryan Paul)
|
||||
|
||||
Awaiting updated patches:
|
||||
--- awaiting updated patch ---
|
||||
7 Add patch from Wall for this one ( ~/Mail/oldmail/wall/in.00019 ):
|
||||
'flipcase' variable: upper/lowercase pairs.
|
||||
Insert comma's between pairs and allow a range, make it look like
|
||||
'isfname'. E.g. ":set flipcase=a-zA-Z,xX,23-33:143-153". The colon to
|
||||
separate the from and to part is optional.
|
||||
Resp: no time now.
|
||||
8 Add GTK 2.3 file dialog support. Patch by Grahame Bowland, 2004 Mar
|
||||
15, but it doesn't use "initdir" or "dflt". (will update patch)
|
||||
8 Add ":n" to fnamemodify(): normalize path, remove "../" when possible.
|
||||
@@ -280,10 +288,6 @@ Awaiting updated patches:
|
||||
7 Make "5dd" on last-but-one-line not delete anything (Vi compatible).
|
||||
Add flag in 'cpoptions' for this. When not present, "2dd" in the last
|
||||
line should delete the last line. Patch from greenx 2002 Apr 11.
|
||||
8 Accelerators don't work in a dialog. Include patch from Martin Dalecki
|
||||
(Jan 3, tested by David Harrison). Should work with Alt-o then.
|
||||
7 Use accelerators for the Motif file selection dialog. Patch from
|
||||
Martin Dalecki 2002 Jan 11.
|
||||
8 Add a few more command names to the menus. Patch from Jiri Brezina
|
||||
(28 feb 2002).
|
||||
7 ATTENTION dialog choices are more logical when "Delete it' appears
|
||||
@@ -297,8 +301,8 @@ Awaiting updated patches:
|
||||
Add section in help files for these highlight groups?
|
||||
8 "fg" and "bg" don't work in an xterm. Get default colors from xterm
|
||||
with an ESC sequence. Ideas in: ~/vim/patches/vikas.xtermcolors .
|
||||
7 Add "DefaultFG" and "DefaultBG" for the colors of the menu. (Martin
|
||||
Dalecki has a patch for Motif)
|
||||
7 Add "DefaultFG" and "DefaultBG" for the colors of the menu. (Marcin
|
||||
Dalecki has a patch for Motif and Carbon)
|
||||
- Add possibility to highlight specific columns (for Fortran). Or put a
|
||||
line in between columns (e.g. for 'textwidth').
|
||||
Patch to add 'hlcolumn' from Vit Stradal, 2004 May 20.
|
||||
@@ -307,18 +311,12 @@ Awaiting updated patches:
|
||||
layout and 'c' for console dialog. (Haegg)
|
||||
Flemming Madsen has a patch for the 'c' flag
|
||||
(2003 May 13)
|
||||
system({cmd}, {expr}) Filter {expr} through the shell command
|
||||
{cmd} and return the result.
|
||||
(Patch from Yegappan Lakshmanan)
|
||||
raisewin() raise gvim window (see HierAssist patch for
|
||||
Tcl implementation ~/vim/HierAssist/ )
|
||||
7 Add patch from Benoit Cerrina to integrate Vim and Perl functions
|
||||
better. Now also works for Ruby (2001 Nov 10)
|
||||
- Patch from Herculano de Lima Einloft Neto for better formatting of the
|
||||
quickfix window (2004 dec 2)
|
||||
7 Motif: use the menu font consistently. Patch from Martin Dalecki 2002
|
||||
Jan 11.
|
||||
- Motif: add 3D shading for the menu entries? Patch from Martin Dalecki.
|
||||
7 When 'rightleft' is set, the search pattern should be displayed right
|
||||
to left as well? See patch of Dec 26. (Nadim Shaikli)
|
||||
8 Lock all used memory so that it doesn't get swapped to disk (uncrypted).
|
||||
@@ -329,12 +327,6 @@ Awaiting updated patches:
|
||||
done for filetype detection. Patch from Walter Briscoe, 2003 Jul 1.
|
||||
7 Add a "-@ filelist" argument: read file names from a file. (David
|
||||
Kotchan has a patch for it)
|
||||
8 Add term entries for function keys on xterm with alt and ctrl (new in
|
||||
pl 94). E.g., Control adds ";5" in "<Esc>[20;5~". Find a generic way
|
||||
to prepend a modifier in console mode, to avoid having to specify each
|
||||
individual modified key.
|
||||
Steve Wall has a patch (2002 Mar 12) for adding function keys up to 37,
|
||||
with modifiers.
|
||||
8 Include a connection to an external program through a pipe? See
|
||||
patches from Felbinger for a mathematica interface.
|
||||
Or use emacs server kind of thing?
|
||||
@@ -354,10 +346,15 @@ Awaiting updated patches:
|
||||
- For GUI Find/Replace dialog support using a regexp. Patch for Motif
|
||||
and GTK by degreneir (nov 10 and nov 18).
|
||||
|
||||
Patch for "paranoid mode" by Kevin Collins, March 7. Needs much more work.
|
||||
|
||||
Check if file explorer can handle directory names and links with a single
|
||||
quote. (Nieko Maatjes, 2005 Jan 4)
|
||||
|
||||
|
||||
Vi incompatibility:
|
||||
9 In Ex mode, "u" undoes all changes, not just the last one. (John Cowan)
|
||||
8 In Ex mode, an empty file doesn't have a first line, "1p" should fail.
|
||||
8 In Ex mode, "1,3" should print three lines.
|
||||
8 With undo/redo only marks in the changed lines should be changed. Other
|
||||
marks should be kept. Vi keeps each mark at the same text, even when it
|
||||
is deleted or restored. (Webb)
|
||||
@@ -514,9 +511,6 @@ Win32 GUI known bugs:
|
||||
8 When the 'shell' cannot be executed, should give an appropriate error msg.
|
||||
Esp. for a filter command, currently it only complains the file could not
|
||||
be read.
|
||||
8 MessageBox used for error messages can be too big. There is no way to
|
||||
scroll it, or even hit the OK button (but you can hit return).
|
||||
Use a scrollable window.
|
||||
7 Add an option to add one pixel column to the character width? Lucida
|
||||
Console italic is wider than the normal font ("d" overlaps with next char).
|
||||
Opposite of 'linespace': 'columnspace'.
|
||||
@@ -544,6 +538,11 @@ Win32 GUI known bugs:
|
||||
|
||||
|
||||
Athena and Motif:
|
||||
6 New Motif toolbar button from Marcin Dalecki:
|
||||
- When the mouse pointer is over an Agide button the red becomes black.
|
||||
Something with the way colors are specified in the .xpm file.
|
||||
- The pixmap is two pixels smaller than it should be. The gap is filled
|
||||
with grey instead of the current toolbar background color.
|
||||
9 Can configure be changed to disable netbeans if the Xpm library is
|
||||
required and it's missing?
|
||||
8 When using the resource "Vim*borderwidth 2" the widgets are positioned
|
||||
@@ -588,10 +587,8 @@ Athena GUI:
|
||||
|
||||
|
||||
Motif GUI:
|
||||
8 Popup menu ordering is wrong.
|
||||
7 Use XmStringCreateLocalized() instead of XmStringCreateSimple()?
|
||||
David Harrison says it's OK (it exists in Motif 1.2).
|
||||
8 The texts in the find/replace dialog don't use the right font.
|
||||
8 Lesstif: When deleting a menu that's torn off, the torn off menu becomes
|
||||
very small instead of disappearing. When closing it, Vim crashes.
|
||||
(Phillipps)
|
||||
@@ -624,6 +621,14 @@ GUI:
|
||||
use that code? Or use console dialog.
|
||||
8 When selecting a font with the font dialog and the font is invalid, the
|
||||
error message disappears too quick.
|
||||
7 More features in the find/replace dialog:
|
||||
- regexp on/off
|
||||
- search in selection/buffer/all buffers/directory
|
||||
when all buffers/directory is used:
|
||||
- filter for file name
|
||||
when directory is used:
|
||||
- subdirectory on/off
|
||||
- top directory browser
|
||||
8 gui_check_colors() is not called at the right moment. Do it much later,
|
||||
to avoid problems.
|
||||
8 gui_update_cursor() is called for a cursor shape change, even when there
|
||||
@@ -825,9 +830,6 @@ Macintosh:
|
||||
7 There is no way to change directory and go back without changing the local
|
||||
and/or global directory. Add a way to find out if the current window uses
|
||||
a local directory. Add cdcmd() that returns ":cd" or ":lcd"?
|
||||
7 After running "make test" the window title is sometimes not restored.
|
||||
Mostly sticks at "test3.in", but not always. Appears to happen more often
|
||||
when compiled with Python (threading).
|
||||
7 The messages for "vim --help" and "vim --version" don't use
|
||||
'termencoding'.
|
||||
8 When 'scrollbind' is set, a window won't scroll horizontally if the cursor
|
||||
@@ -1080,22 +1082,18 @@ Macintosh:
|
||||
that the user knows he has to delete the files.
|
||||
7 It's possible to redefine a script-local function with ":func
|
||||
<SNR>123_Test()". (Krishna) Disallow this.
|
||||
7 After ":%d" an undo reports the number of lines added as if there still
|
||||
was one line.
|
||||
|
||||
|
||||
I can't reproduce these (if you can, let me know how!):
|
||||
9 NT 4.0 on NTFS file system: Editing ".bashrc" (drag and drop), file
|
||||
disappears. Editing ".xyz" is OK. Also, drag&drop only works for three
|
||||
files. (McCollister)
|
||||
8 Motif: Tear-off menu item crashes Vim on some machines. (Netherton) It
|
||||
works fine for me, maybe it's a Motif problem.
|
||||
|
||||
|
||||
Problems that will (probably) not be solved:
|
||||
- xterm title: The following scenario may occur (esp. when running the Vim
|
||||
test script): Vim 1 sets the title to "file1", then restores the title to
|
||||
"xterm" when exiting with an ESC sequence. Vim 2 obtains the old title
|
||||
"xterm" with an ESC sequence when exiting. Vim 2 obtains the old title
|
||||
with an X library call, this may result in "file1", because the window
|
||||
manager hasn't processed the "xterm" title yet. Can apparently only be
|
||||
worked around with a delay.
|
||||
@@ -1353,7 +1351,7 @@ Multi-byte characters:
|
||||
For Windows, the charset_pairs[] table could be used. But how do we know
|
||||
if a font exists?
|
||||
- Do keyboard conversion from 'termencoding' to 'encoding' with
|
||||
convert_input() for Mac GUI, RiscOS GUI, BeOS GUI.
|
||||
convert_input() for Mac GUI and RiscOS GUI.
|
||||
- Add mnemonics from RFC1345 longer than two characters.
|
||||
Support CTRL-K _{mnemonic}_
|
||||
7 In "-- INSERT (lang) --" show the name of the keymap used instead of
|
||||
@@ -1371,6 +1369,7 @@ Multi-byte characters:
|
||||
|
||||
|
||||
Printing:
|
||||
7 Implement "undercurl" for printing.
|
||||
- Add "page width" to wrap long lines.
|
||||
- Win32: use a font dialog for setting 'printfont'. Can reuse the code for
|
||||
the 'guifont' dialog, put the common code in a separate function.
|
||||
@@ -1401,9 +1400,6 @@ Syntax highlighting:
|
||||
8 Make conversion to HTML faster (Write it in C or pre-compile the script).
|
||||
9 There is still a redraw bug somewhere. Probably because a cached state is
|
||||
used in a wrong way. I can't reproduce it...
|
||||
7 Make syntax keyword table configurable. Set number of bits used with
|
||||
":syn clear [hashbits]", so that we don't need to reallocate the table.
|
||||
minimal 4 bits, maximal 16. (Campbell)
|
||||
7 Be able to change only the background highlighting. Useful for Diff* and
|
||||
Search highlighting.
|
||||
8 Allow the user to add items to the Syntax menu sorted, without having to
|
||||
@@ -1413,9 +1409,6 @@ Syntax highlighting:
|
||||
8 Add a "keepend-contained" argument: Don't change the end of an item this
|
||||
one is contained in. Like "keepend" but specified on the contained item,
|
||||
instead of the containing item.
|
||||
8 For keywords, allow to define the size of the hash table with ":syn
|
||||
clear". Change KHASH_ defines into variables stored in buffer struct.
|
||||
Use something else than linear linked list from the hash table. (Campbell)
|
||||
8 cpp.vim: In C++ it's allowed to use {} inside ().
|
||||
8 Some syntax files set 'iskeyword'. When switching to another filetype
|
||||
this isn't reset. Add a special keyword definition for the syntax rules?
|
||||
@@ -1577,7 +1570,6 @@ Built-in script language:
|
||||
7 Add argument to winwidth() to subtract the space taken by 'foldcolumn',
|
||||
signs and/or 'number'.
|
||||
8 Add functions:
|
||||
search() Add optional offset argument.
|
||||
realname() Get user name (first, last, full)
|
||||
user_fullname() patch by Nikolai Weibull, Nov
|
||||
3 2002
|
||||
@@ -1596,12 +1588,12 @@ Built-in script language:
|
||||
mapname({idx}, mode) return the name of the idx'th mapping.
|
||||
Patch by Ilya Sher, 2004 Mar 4.
|
||||
Return a list instead.
|
||||
sprintf(format, arg, ..) How to prevent a crash???
|
||||
printf(format, arg, ..) How to prevent a crash???
|
||||
char2hex() convert char string to hex string.
|
||||
attributes() return file protection flags "drwxrwxrwx"
|
||||
mkdir(dir) Create directory
|
||||
copy(from, to) Copy a file
|
||||
perl(cmd) call Perl and return string
|
||||
filecopy(from, to) Copy a file
|
||||
shorten(fname) shorten a file name, like home_replace()
|
||||
perl(cmd) call Perl and return string
|
||||
input(prompt, complete) like input() but do specified completion
|
||||
inputrl() like input() but right-to-left
|
||||
virtualmode() add argument to obtain whether "$" was used in
|
||||
@@ -1611,14 +1603,10 @@ Built-in script language:
|
||||
getbufline() get line from any buffer
|
||||
deletebufline() delete line in any buffer
|
||||
appendbufline() append line in any buffer
|
||||
sort() Sort a newline-separated string. Also:
|
||||
":sort".
|
||||
libcall() Allow more than one argument.
|
||||
libcallext() Like libcall(), but using a callback function
|
||||
to allow the library to execute a command or
|
||||
evaluate an expression.
|
||||
char2hex() convert char string to hex string. XX
|
||||
hex2char() convert hex string to char string. XX
|
||||
7 Make bufname("'0") return the buffer name from mark '0. How to get the
|
||||
column and line number? col("'0") currently returns zero.
|
||||
8 argc() returns 0 when using "vim -t tag". How to detect that no file was
|
||||
@@ -1658,11 +1646,6 @@ Built-in script language:
|
||||
|
||||
|
||||
Robustness:
|
||||
8 This pattern in syntax/java.vim causes a recursive call of regmatch():
|
||||
syn match javaStringError +"\([^"\\]\|\\.\)*$+
|
||||
A long line with a " in it can cause a crash when it runs out of stack
|
||||
space (on systems where this isn't caught). How can we catch this for
|
||||
more systems?
|
||||
6 Add file locking. Lock a file when starting to edit it with flock() or
|
||||
fcntl(). This patch has advisory file locking while reading/writing
|
||||
the file for Vim 5.4: ~/vim/patches/kahn_file_locking .
|
||||
@@ -1673,6 +1656,8 @@ Robustness:
|
||||
|
||||
|
||||
Performance:
|
||||
7 For strings up to 3 bytes don't allocate memory, use v_list itself as a
|
||||
character array. Use VAR_SSTRING (short string).
|
||||
8 Loading plugins takes startup time. Only load the part that is used to
|
||||
trigger the rest, and load the rest when it's needed?
|
||||
8 Turn b_syn_ic and b_syn_containedin into b_syn_flags.
|
||||
@@ -1905,6 +1890,8 @@ Tags:
|
||||
7 When using ":tag" at the top of the tag stack, should add another entry,
|
||||
so CTRL-T can bring you back to where you are now AND to where you were
|
||||
before the previous ":tag" command. (Webb)
|
||||
- When doing "[^I" or "[^D" add position to tag stack.
|
||||
- Add command to put current position to tag stack: ":tpush".
|
||||
7 When using CTRL-] on someClass::someMethod, separate class from method and
|
||||
use ":ta class:someClass someMethod".
|
||||
Include C++ tags changes (Bertin). Change "class::func" tag into "func"
|
||||
@@ -1998,8 +1985,7 @@ GUI:
|
||||
double-width. (Maeda)
|
||||
8 Should take font from xterm where gvim was started (if no other default).
|
||||
8 Selecting font names in X11 is difficult, make a script or something to
|
||||
select one. Martin Dalecki has a font selector for Motif, but it needs a
|
||||
bit more work.
|
||||
select one.
|
||||
8 Visual highlighting should keep the same font (bold, italic, etc.).
|
||||
8 Add flag to 'guioptions' to not put anything in the clipboard at all?
|
||||
8 Should support a way to use keys that we don't recognize yet. Add a
|
||||
@@ -2041,11 +2027,6 @@ GUI:
|
||||
things.
|
||||
7 Motif: For a confirm() dialog <Enter> should be ignored when no default
|
||||
button selected, <Esc> should close the dialog.
|
||||
- Motif steals <F10> from us, to pop up menus with the keyboard. How do we
|
||||
get it back if we want it? It's already solved for GTK.
|
||||
- Paste in Insert mode should not do autowrap etc. Or maybe this should be
|
||||
changeable with an option?
|
||||
- Put a nice picture in the icon (but how do we do that?).
|
||||
7 When using a pseudo-tty Vim should behave like some terminal (vt52 looks
|
||||
simple enough). Terminal codes to/from shell should be translated.
|
||||
- Would it be useful to be able to quit the GUI and go back to the terminal
|
||||
@@ -2244,13 +2225,10 @@ Command line completion:
|
||||
them with the optional part inside [].
|
||||
7 Completion of ":map x ": fill in the current mapping, so that it can be
|
||||
edited. (Sven Guckes)
|
||||
7 Add completion for when entering an expression after CTRL-R= and "=.
|
||||
(Servatius Brandt)
|
||||
- For 'wildmenu': Simplify "../bar" when possible.
|
||||
- When using <Up> in wildmenu mode for a submenu, should go back to the
|
||||
current menu, not the first one. E.g., ":emenu File.Save<Up>".
|
||||
8 For ":find" and ":sfind" expand files found in 'path'.
|
||||
8 Add cmdline completion for the ":debug" command.
|
||||
8 When using backtick expansion, the external command may write a greeting
|
||||
message. Add an option or commands to remove lines that match a regexp?
|
||||
7 When listing matches of files, display the common path separately from the
|
||||
@@ -2266,10 +2244,12 @@ Command line completion:
|
||||
- Add 'wildlongest' option: Key to use to find longest common match for
|
||||
command line completion (default CTRL-L), like 'wildchar'. (Cregut)
|
||||
Also: when there are several matches, show them line a CTRL-D.
|
||||
- Add completion for Environment variables: ":echo $SH<Tab>" -> "$SHELL".
|
||||
|
||||
|
||||
Command line history:
|
||||
9 Remember which command lines were actually typed and were not loaded from
|
||||
viminfo. When writing viminfo append only these lines, so that lines from
|
||||
other Vim's are not overwritten.
|
||||
- Add "KeyWasTyped" flag: It's reset before each command and set when a
|
||||
character from the keyboard is consumed. Value is used to decide to put a
|
||||
command line in history or not. Put line in history if it didn't
|
||||
@@ -2424,6 +2404,8 @@ Java:
|
||||
like it's done when there is no code. And there is no automatic wrapping.
|
||||
Recognize comments that come after code. Should insert the comment leader
|
||||
when it's "#" or "//".
|
||||
Other way around: when a C command starts with "* 4" the "*" is repeated
|
||||
while it should not. Use syntax HL comment recognition?
|
||||
7 When using "comments=fg:--", Vim inserts three spaces for a new line.
|
||||
When hitting a TAB, these spaces could be removed.
|
||||
7 The 'n'esting flag doesn't do the indenting of the last (rightmost) item.
|
||||
@@ -2443,6 +2425,13 @@ Virtual edit:
|
||||
|
||||
Text objects:
|
||||
8 Add test script for text object commands "aw", "iW", etc.
|
||||
8 Add text object for part of a CamelHumedWord and under_scored_word.
|
||||
(Scott Graham) "ac" and "au"?
|
||||
8 Add a text object for any kind of quoting, also with multi-byte
|
||||
characters. Option to specify what quotes are recognized (default: all)
|
||||
use "aq" and "iq". Use 'quotepairs' to define pairs of quotes, like
|
||||
'matchpairs'?
|
||||
8 Add text object for any kind of parens, also multi-byte ones.
|
||||
7 Add text object for current search pattern: "a/" and "i/". Makes it
|
||||
possible to turn text highlighted for 'hlsearch' into a Visual area.
|
||||
8 Add "gp" and "gP" commands: insert text and make sure there is a single
|
||||
@@ -2636,8 +2625,15 @@ Incsearch:
|
||||
Searching:
|
||||
7 Add "g/" and "gb" to search for a pattern in the Visually selected text?
|
||||
"g?" is already used for rot13.
|
||||
8 Add a mechanism for recursiveness: "\(([^()]*\@@[^()]*)\)\@r". \@@ stands
|
||||
for "go recursive here" and \@r marks the recursive atom.
|
||||
8 Add a mechanism for recursiveness: "\@(([^()]*\@g[^()]*)\)". \@g stands
|
||||
for "go recursive here" and \@( \) marks the recursive part.
|
||||
Perl does it this way:
|
||||
$paren = qr/ \(( [^()] | (??{ $paren }) )* \) /x;
|
||||
Here $paren is evaluated when it's encountered. This is like a regexp
|
||||
inside a regexp. In the above terms it would be:
|
||||
\@((\([^()]\|\@g\)*)\)
|
||||
8 Add an item for a big character range, so that one can search for a
|
||||
chinese character: \z[234-1234] or \z[XX-YY] or \z[0x23-0x234].
|
||||
7 Add an item stack to allow matching (). One side is "push X on
|
||||
the stack if previous atom matched". Other side is "match with top of
|
||||
stack, pop it when it matches". Use "\@pX" and "\@m"?
|
||||
@@ -3094,8 +3090,6 @@ Various improvements:
|
||||
Govindachar)
|
||||
6 In the quickfix window statusline add the command used to get the list of
|
||||
errors, e.g. ":make foo", ":grep something *.c".
|
||||
7 Add a ":cstring" command. Works like ":cfile" but reads from a string
|
||||
variable. Also accept a list variable?
|
||||
6 Python interface: add vim.message() function. (Michal Vitecek, 2002 Nov 5)
|
||||
7 Support using ":vert" with User commands. Add expandable items <vert>.
|
||||
Do the same for ":browse" and ":confirm"?
|
||||
@@ -3232,6 +3226,7 @@ Various improvements:
|
||||
regexp which triggers auto-formatting (for one line).
|
||||
":set autoformat=\\s$".
|
||||
- Be able to redefine where a sentence stops. Use a regexp pattern?
|
||||
- Support multi-byte characters for sentences. Example from Ben Peterson.
|
||||
7 Add command "g)" to go to the end of a sentence, "g(" to go back to the
|
||||
end of a sentence. (Servatius Brandt)
|
||||
- Be able to redefine where a paragraph starts. For "[[" where the '{' is
|
||||
@@ -3243,11 +3238,10 @@ Various improvements:
|
||||
8 findmatchlimit() should be able to skip comments. Solves problem of
|
||||
matching the '{' in /* if (foo) { */ (Fiveash)
|
||||
- Add more redirecting of Ex commands:
|
||||
:redir @> register (append)
|
||||
:redir # bufname
|
||||
:redir #> bufname (append)
|
||||
:redir = variable
|
||||
:redir => variable (append)
|
||||
:redir #> bufname
|
||||
:redir #>> bufname (append)
|
||||
- Give error message when starting :redir: twice or using END when no
|
||||
redirection was active.
|
||||
- Setting of options, specifically for a buffer or window, with
|
||||
":set window.option" or ":set buffer.option=val". Or use ":buffer.set".
|
||||
Also: "buffer.map <F1> quit".
|
||||
@@ -3314,8 +3308,6 @@ Various improvements:
|
||||
- Add a next/previous possibility to "[^I" and friends.
|
||||
- Add possibility to change the HOME directory. Use the directory from the
|
||||
passwd file? (Antwerpen)
|
||||
- When doing "[^I" or "[^D" add position to tag stack.
|
||||
- Add command to put current position to tag stack: ":tpush".
|
||||
8 Add commands to push and pop all or individual options. ":setpush tw",
|
||||
":setpop tw", ":setpush all". Maybe pushing/popping all options is
|
||||
sufficient. ":setflush" resets the option stack?
|
||||
@@ -3406,10 +3398,10 @@ Various improvements:
|
||||
- Implement 'redraw' option.
|
||||
- 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).
|
||||
- Use pipes for filtering on Unix. Requires using fork() to be able to read
|
||||
and write at the same time, or some select() mechanism.
|
||||
7 Allow using Vim in a pipe: "ls | vim -u xxx.vim - | yyy". Only needs
|
||||
implementing ":w" to stdout in the buffer that was read from stdin.
|
||||
Perhaps writing to stdout will work, since stderr is used for the terminal
|
||||
I/O.
|
||||
8 Allow opening an unnamed buffer with ":e !cmd" and ":sp !cmd". Vile can
|
||||
do it.
|
||||
- Add commands like ]] and [[ that do not include the line jumped to.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*uganda.txt* For Vim version 7.0aa. Last change: 2004 Aug 29
|
||||
*uganda.txt* For Vim version 7.0aa. Last change: 2005 Feb 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -172,7 +172,7 @@ There is a small clinic at the project, which provides children and their
|
||||
family with medical help. When needed, transport to a hospital is offered.
|
||||
Immunization programs are carried out and help is provided when an epidemic is
|
||||
breaking out (measles and cholera have been a problem).
|
||||
|
||||
*donate*
|
||||
Summer 1994 to summer 1995 I spent a whole year at the centre, working as a
|
||||
volunteer. I have helped to expand the centre and worked in the area of water
|
||||
and sanitation. I learned that the help that the KCC provides really helps.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*usr_03.txt* For Vim version 7.0aa. Last change: 2004 Jan 17
|
||||
*usr_03.txt* For Vim version 7.0aa. Last change: 2005 Feb 08
|
||||
|
||||
VIM USER MANUAL - by Bram Moolenaar
|
||||
|
||||
@@ -13,7 +13,7 @@ these commands below |Q_lr|.
|
||||
|03.1| Word movement
|
||||
|03.2| Moving to the start or end of a line
|
||||
|03.3| Moving to a character
|
||||
|03.4| Matching a paren
|
||||
|03.4| Matching a parenthesis
|
||||
|03.5| Moving to a specific line
|
||||
|03.6| Telling where you are
|
||||
|03.7| Scrolling around
|
||||
@@ -145,7 +145,7 @@ aborted forward search and doesn't do anything. Note: <Esc> cancels most
|
||||
operations, not just searches.
|
||||
|
||||
==============================================================================
|
||||
*03.4* Matching a paren
|
||||
*03.4* Matching a parenthesis
|
||||
|
||||
When writing a program you often end up with nested () constructs. Then the
|
||||
"%" command is very handy: It moves to the matching paren. If the cursor is
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*usr_05.txt* For Vim version 7.0aa. Last change: 2004 Dec 29
|
||||
*usr_05.txt* For Vim version 7.0aa. Last change: 2005 Feb 08
|
||||
|
||||
VIM USER MANUAL - by Bram Moolenaar
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
Vim can be tuned to work like you want it to. This chapter shows you how to
|
||||
make Vim start with options set to different values. Add plugins to extend
|
||||
Vims capabilities. Or define your own macros.
|
||||
Vim's capabilities. Or define your own macros.
|
||||
|
||||
|05.1| The vimrc file
|
||||
|05.2| The example vimrc file explained
|
||||
@@ -251,8 +251,8 @@ you use an existing Vim command, that command will no longer be available.
|
||||
You better avoid that.
|
||||
One key that can be used with mappings is the backslash. Since you
|
||||
probably want to define more than one mapping, add another character. You
|
||||
could map "\p" to add parens around a word, and "\c" to add curly braces, for
|
||||
example: >
|
||||
could map "\p" to add parentheses around a word, and "\c" to add curly braces,
|
||||
for example: >
|
||||
|
||||
:map \p i(<Esc>ea)<Esc>
|
||||
:map \c i{<Esc>ea}<Esc>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*usr_10.txt* For Vim version 7.0aa. Last change: 2004 Mar 12
|
||||
*usr_10.txt* For Vim version 7.0aa. Last change: 2005 Mar 15
|
||||
|
||||
VIM USER MANUAL - by Bram Moolenaar
|
||||
|
||||
@@ -437,7 +437,8 @@ If the string you insert contains a newline, the "I" acts just like a Normal
|
||||
insert command and affects only the first line of the block.
|
||||
|
||||
The "A" command works the same way, except that it appends after the right
|
||||
side of the block.
|
||||
side of the block. And it does insert text in a short line. Thus you can
|
||||
make a choice whether you do or don't want to append text to a short line.
|
||||
There is one special case for "A": Select a Visual block and then use "$"
|
||||
to make the block extend to the end of each line. Using "A" now will append
|
||||
the text to the end of each line.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*usr_27.txt* For Vim version 7.0aa. Last change: 2004 Jun 26
|
||||
*usr_27.txt* For Vim version 7.0aa. Last change: 2005 Feb 08
|
||||
|
||||
VIM USER MANUAL - by Bram Moolenaar
|
||||
|
||||
@@ -304,9 +304,9 @@ Will match "ab" in "abbb". Actually, it will never match more than one b,
|
||||
because there is no reason to match more. It requires something else to force
|
||||
it to match more than the lower limit.
|
||||
The same rules apply to removing "n" and "m". It's even possible to remove
|
||||
both of the numbes, resulting in "\{-}". This matches the item before it zero
|
||||
or more times, as few as possible. The item by itself always matches zero
|
||||
times. It is useful when combined with something else. Example: >
|
||||
both of the numbers, resulting in "\{-}". This matches the item before it
|
||||
zero or more times, as few as possible. The item by itself always matches
|
||||
zero times. It is useful when combined with something else. Example: >
|
||||
|
||||
/a.\{-}b
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*usr_41.txt* For Vim version 7.0aa. Last change: 2005 Jan 01
|
||||
*usr_41.txt* For Vim version 7.0aa. Last change: 2005 Mar 25
|
||||
|
||||
VIM USER MANUAL - by Bram Moolenaar
|
||||
|
||||
@@ -16,18 +16,21 @@ script. There are a lot of them, thus this is a long chapter.
|
||||
|41.5| Executing an expression
|
||||
|41.6| Using functions
|
||||
|41.7| Defining a function
|
||||
|41.8| Exceptions
|
||||
|41.9| Various remarks
|
||||
|41.10| Writing a plugin
|
||||
|41.11| Writing a filetype plugin
|
||||
|41.12| Writing a compiler plugin
|
||||
|41.8| Lists and Dictionaries
|
||||
|41.9| Exceptions
|
||||
|41.10| Various remarks
|
||||
|41.11| Writing a plugin
|
||||
|41.12| Writing a filetype plugin
|
||||
|41.13| Writing a compiler plugin
|
||||
|41.14| Writing a plugin that loads quickly
|
||||
|41.15| Writing library scripts
|
||||
|
||||
Next chapter: |usr_42.txt| Add new menus
|
||||
Previous chapter: |usr_40.txt| Make new commands
|
||||
Table of contents: |usr_toc.txt|
|
||||
|
||||
==============================================================================
|
||||
*41.1* Introduction *vim-script-intro*
|
||||
*41.1* Introduction *vim-script-intro* *script*
|
||||
|
||||
Your first experience with Vim scripts is the vimrc file. Vim reads it when
|
||||
it starts up and executes the commands. You can set options to values you
|
||||
@@ -42,7 +45,7 @@ Let's start with a simple example: >
|
||||
:let i = 1
|
||||
:while i < 5
|
||||
: echo "count is" i
|
||||
: let i = i + 1
|
||||
: let i += 1
|
||||
:endwhile
|
||||
<
|
||||
Note:
|
||||
@@ -50,8 +53,19 @@ Let's start with a simple example: >
|
||||
them when you type a command. In a Vim script file they can be left
|
||||
out. We will use them here anyway to make clear these are colon
|
||||
commands and make them stand out from Normal mode commands.
|
||||
Note:
|
||||
You can try out the examples by yanking the lines from the text here
|
||||
and executing them with :@"
|
||||
|
||||
The ":let" command assigns a value to a variable. The generic form is: >
|
||||
The output of the example code is:
|
||||
|
||||
count is 1 ~
|
||||
count is 2 ~
|
||||
count is 3 ~
|
||||
count is 4 ~
|
||||
|
||||
In the first line the ":let" command assigns a value to a variable. The
|
||||
generic form is: >
|
||||
|
||||
:let {variable} = {expression}
|
||||
|
||||
@@ -66,51 +80,52 @@ the number one.
|
||||
The statements until the matching ":endwhile" are executed for as long as the
|
||||
condition is true. The condition used here is the expression "i < 5". This
|
||||
is true when the variable i is smaller than five.
|
||||
The ":echo" command prints its arguments. In this case the string "count
|
||||
is" and the value of the variable i. Since i is one, this will print:
|
||||
|
||||
count is 1 ~
|
||||
|
||||
Then there is another ":let i =" command. The value used is the expression "i
|
||||
+ 1". This adds one to the variable i and assigns the new value to the same
|
||||
variable.
|
||||
The output of the example code is:
|
||||
|
||||
count is 1 ~
|
||||
count is 2 ~
|
||||
count is 3 ~
|
||||
count is 4 ~
|
||||
|
||||
Note:
|
||||
If you happen to write a while loop that keeps on running, you can
|
||||
interrupt it by pressing CTRL-C (CTRL-Break on MS-Windows).
|
||||
Note:
|
||||
You can try out the examples by yanking the lines from the text here
|
||||
and executing them with :@"
|
||||
|
||||
The ":echo" command prints its arguments. In this case the string "count is"
|
||||
and the value of the variable i. Since i is one, this will print:
|
||||
|
||||
count is 1 ~
|
||||
|
||||
Then there is the ":let i += 1" command. This does the same thing as
|
||||
":let i = i + 1". This adds one to the variable i and assigns the new value
|
||||
to the same variable.
|
||||
|
||||
The example was given to explain the commands, but would you really want to
|
||||
make such a loop it can be written much more compact: >
|
||||
|
||||
:for i in range(1, 4)
|
||||
: echo "count is" i
|
||||
:endfor
|
||||
|
||||
We won't explain how |:for| and |range()| work until later. Follow the links
|
||||
if you are impatient.
|
||||
|
||||
|
||||
THREE KINDS OF NUMBERS
|
||||
|
||||
Numbers can be decimal, hexadecimal or octal. A hexadecimal number starts
|
||||
with "0x" or "0X". For example "0x1f" is 31. An octal number starts with a
|
||||
zero. "017" is 15. Careful: don't put a zero before a decimal number, it
|
||||
will be interpreted as an octal number!
|
||||
with "0x" or "0X". For example "0x1f" is decimal 31. An octal number starts
|
||||
with a zero. "017" is decimal 15. Careful: don't put a zero before a decimal
|
||||
number, it will be interpreted as an octal number!
|
||||
The ":echo" command always prints decimal numbers. Example: >
|
||||
|
||||
:echo 0x7f 036
|
||||
< 127 30 ~
|
||||
|
||||
A number is made negative with a minus sign. This also works for hexadecimal
|
||||
and octal numbers. A minus sign is also for subtraction. Compare this with
|
||||
the previous example: >
|
||||
and octal numbers. A minus sign is also used for subtraction. Compare this
|
||||
with the previous example: >
|
||||
|
||||
:echo 0x7f -036
|
||||
< 97 ~
|
||||
|
||||
White space in an expression is ignored. However, it's recommended to use it
|
||||
for separating items, to make the expression easier to read. For example, to
|
||||
avoid the confusion with a negative number, put a space between the minus sign
|
||||
and the following number: >
|
||||
avoid the confusion with a negative number above, put a space between the
|
||||
minus sign and the following number: >
|
||||
|
||||
:echo 0x7f - 036
|
||||
|
||||
@@ -141,7 +156,7 @@ example, one script contains this code: >
|
||||
:let s:count = 1
|
||||
:while s:count < 5
|
||||
: source other.vim
|
||||
: let s:count = s:count + 1
|
||||
: let s:count += 1
|
||||
:endwhile
|
||||
|
||||
Since "s:count" is local to this script, you can be sure that sourcing the
|
||||
@@ -192,15 +207,21 @@ exists() checks. That's not what you want.
|
||||
The exclamation mark ! negates a value. When the value was true, it
|
||||
becomes false. When it was false, it becomes true. You can read it as "not".
|
||||
Thus "if !exists()" can be read as "if not exists()".
|
||||
What Vim calls true is anything that is not zero. Only zero is false.
|
||||
What Vim calls true is anything that is not zero. Zero is false.
|
||||
Note:
|
||||
Vim automatically converts a string to a number when it is looking for
|
||||
a number. When using a string that doesn't start with a digit the
|
||||
resulting number is zero. Thus look out for this: >
|
||||
:if "true"
|
||||
< The "true" will be interpreted as a zero, thus as false!
|
||||
|
||||
|
||||
STRING VARIABLES AND CONSTANTS
|
||||
|
||||
So far only numbers were used for the variable value. Strings can be used as
|
||||
well. Numbers and strings are the only two types of variables that Vim
|
||||
supports. The type is dynamic, it is set each time when assigning a value to
|
||||
the variable with ":let".
|
||||
well. Numbers and strings are the basic types of variables that Vim supports.
|
||||
The type is dynamic, it is set each time when assigning a value to the
|
||||
variable with ":let". More about types in |41.8|.
|
||||
To assign a string value to a variable, you need to use a string constant.
|
||||
There are two types of these. First the string in double quotes: >
|
||||
|
||||
@@ -221,9 +242,9 @@ To avoid the need for a backslash, you can use a string in single quotes: >
|
||||
:echo name
|
||||
< "peter" ~
|
||||
|
||||
Inside a single-quote string all the characters are as they are. The drawback
|
||||
is that it's impossible to include a single quote. A backslash is taken
|
||||
literally as well, thus you can't use it to change the meaning of the
|
||||
Inside a single-quote string all the characters are as they are. Only the
|
||||
single quote itself is special: you need to use two to get one. A backslash
|
||||
is taken literally, thus you can't use it to change the meaning of the
|
||||
character after it.
|
||||
In double-quote strings it is possible to use special characters. Here are
|
||||
a few useful ones:
|
||||
@@ -271,7 +292,8 @@ do something and restore the old value. Example: >
|
||||
:let &ic = save_ic
|
||||
|
||||
This makes sure the "The Start" pattern is used with the 'ignorecase' option
|
||||
off. Still, it keeps the value that the user had set.
|
||||
off. Still, it keeps the value that the user had set. (Another way to do
|
||||
this would be to add "\C" to the pattern, see |/\C|.)
|
||||
|
||||
|
||||
MATHEMATICS
|
||||
@@ -377,7 +399,7 @@ ones:
|
||||
|
||||
The result is one if the condition is met and zero otherwise. An example: >
|
||||
|
||||
:if v:version >= 600
|
||||
:if v:version >= 700
|
||||
: echo "congratulations"
|
||||
:else
|
||||
: echo "you are using an old version, upgrade!"
|
||||
@@ -418,8 +440,8 @@ pattern, like what's used for searching. Example: >
|
||||
:endif
|
||||
|
||||
Notice the use of a single-quote string for the pattern. This is useful,
|
||||
because backslashes need to be doubled in a double-quote string and patterns
|
||||
tend to contain many backslashes.
|
||||
because backslashes would need to be doubled in a double-quote string and
|
||||
patterns tend to contain many backslashes.
|
||||
|
||||
The 'ignorecase' option is used when comparing strings. When you don't want
|
||||
that, append "#" to match case and "?" to ignore case. Thus "==?" compares
|
||||
@@ -454,6 +476,8 @@ Example: >
|
||||
The ":sleep" command makes Vim take a nap. The "50m" specifies fifty
|
||||
milliseconds. Another example is ":sleep 4", which sleeps for four seconds.
|
||||
|
||||
Even more looping can be done with the ":for" command, see below in |41.8|.
|
||||
|
||||
==============================================================================
|
||||
*41.5* Executing an expression
|
||||
|
||||
@@ -493,6 +517,17 @@ This inserts "new text " in the current line. Notice the use of the special
|
||||
key "\<Esc>". This avoids having to enter a real <Esc> character in your
|
||||
script.
|
||||
|
||||
If you don't want to execute a string but evaluate it to get its expression
|
||||
value, you can use the eval() function: >
|
||||
|
||||
:let optname = "path"
|
||||
:let optval = eval('&' . optname)
|
||||
|
||||
A "&" character is prepended to "path", thus the argument to eval() is
|
||||
"&path". The result will then be the value of the 'path' option.
|
||||
The same thing can be done with: >
|
||||
:exe 'let optval = &' . optname
|
||||
|
||||
==============================================================================
|
||||
*41.6* Using functions
|
||||
|
||||
@@ -516,9 +551,9 @@ A function can be called in an expression. Example: >
|
||||
:let repl = substitute(line, '\a', "*", "g")
|
||||
:call setline(".", repl)
|
||||
|
||||
The getline() function obtains a line from the current file. Its argument is
|
||||
a specification of the line number. In this case "." is used, which means the
|
||||
line where the cursor is.
|
||||
The getline() function obtains a line from the current buffer. Its argument
|
||||
is a specification of the line number. In this case "." is used, which means
|
||||
the line where the cursor is.
|
||||
The substitute() function does something similar to the ":substitute"
|
||||
command. The first argument is the string on which to perform the
|
||||
substitution. The second argument is the pattern, the third the replacement
|
||||
@@ -557,9 +592,50 @@ String manipulation:
|
||||
submatch() get a specific match in a ":substitute"
|
||||
strpart() get part of a string
|
||||
expand() expand special keywords
|
||||
type() type of a variable
|
||||
iconv() convert text from one encoding to another
|
||||
|
||||
List manipulation:
|
||||
get() get an item without error for wrong index
|
||||
len() number of items in a List
|
||||
empty() check if List is empty
|
||||
insert() insert an item somewhere in a List
|
||||
add() append an item to a List
|
||||
extend() append a List to a List
|
||||
remove() remove one or more items from a List
|
||||
copy() make a shallow copy of a List
|
||||
deepcopy() make a full copy of a List
|
||||
filter() remove selected items from a List
|
||||
map() change each List item
|
||||
sort() sort a List
|
||||
reverse() reverse the order of a List
|
||||
split() split a String into a List
|
||||
join() join List items into a String
|
||||
string() String representation of a List
|
||||
call() call a function with List as arguments
|
||||
index() index of a value in a list
|
||||
max() maximum value in a List
|
||||
min() minimum value in a List
|
||||
count() count number of times a value appears in a List
|
||||
|
||||
Dictionary manipulation:
|
||||
get() get an entries without error for wrong key
|
||||
len() number of entries in a Dictionary
|
||||
has_key() check whether a key appears in a Dictionary
|
||||
empty() check if Dictionary is empty
|
||||
remove() remove an entry from a Dictionary
|
||||
extend() add entries from one Dictionary to another
|
||||
filter() remove selected entries from a Dictionary
|
||||
map() change each Dictionary entry
|
||||
keys() get List of Dictionary keys
|
||||
values() get List of Dictionary values
|
||||
items() get List of Dictionary key-value pairs
|
||||
copy() make a shallow copy of a Dictionary
|
||||
deepcopy() make a full copy of a Dictionary
|
||||
string() String representation of a Dictionary
|
||||
max() maximum value in a Dictionary
|
||||
min() minimum value in a Dictionary
|
||||
count() count number of times a value appears
|
||||
|
||||
Working with text in the current buffer:
|
||||
byte2line() get line number at a specific byte count
|
||||
line2byte() byte count at a specific line
|
||||
@@ -569,9 +645,9 @@ Working with text in the current buffer:
|
||||
wincol() window column number of the cursor
|
||||
winline() window line number of the cursor
|
||||
cursor() position the cursor at a line/column
|
||||
getline() get a line from the buffer
|
||||
getline() get a line or list of lines from the buffer
|
||||
setline() replace a line in the buffer
|
||||
append() append {string} below line {lnum}
|
||||
append() append line or list of lines in the buffer
|
||||
indent() indent of a specific line
|
||||
cindent() indent according to C indenting
|
||||
lispindent() indent according to Lisp indenting
|
||||
@@ -589,6 +665,7 @@ System functions and manipulation of files:
|
||||
executable() check if an executable program exists
|
||||
filereadable() check if a file can be read
|
||||
filewritable() check if a file can be written to
|
||||
mkdir() create a new directory
|
||||
isdirectory() check if a directory exists
|
||||
getcwd() get the current working directory
|
||||
getfsize() get the size of a file
|
||||
@@ -600,6 +677,8 @@ System functions and manipulation of files:
|
||||
rename() rename a file
|
||||
system() get the result of a shell command
|
||||
hostname() name of the system
|
||||
readfile() read a file into a List of lines
|
||||
writefile() write a List of lines into a file
|
||||
|
||||
Buffers, windows and the argument list:
|
||||
argc() number of entries in the argument list
|
||||
@@ -644,7 +723,7 @@ Interactive:
|
||||
input() get a line from the user
|
||||
inputsecret() get a line from the user without showing it
|
||||
inputdialog() get a line from the user in a dialog
|
||||
inputresave save and clear typeahead
|
||||
inputsave() save and clear typeahead
|
||||
inputrestore() restore typeahead
|
||||
|
||||
Vim server:
|
||||
@@ -658,6 +737,7 @@ Vim server:
|
||||
remote_foreground() move the Vim server window to the foreground
|
||||
|
||||
Various:
|
||||
type() type of a variable
|
||||
mode() get current editing mode
|
||||
visualmode() last visual mode used
|
||||
hasmapto() check if a mapping exists
|
||||
@@ -665,6 +745,7 @@ Various:
|
||||
maparg() get rhs of a mapping
|
||||
exists() check if a variable, function, etc. exists
|
||||
has() check if a feature is supported in Vim
|
||||
getqflist() list of quickfix errors
|
||||
cscope_connection() check if a cscope connection exists
|
||||
did_filetype() check if a FileType autocommand was used
|
||||
eventhandler() check if invoked by an event handler
|
||||
@@ -676,7 +757,9 @@ Various:
|
||||
libcallnr() idem, returning a number
|
||||
getreg() get contents of a register
|
||||
getregtype() get type of a register
|
||||
setqflist() create a quickfix list
|
||||
setreg() set contents and type of a register
|
||||
taglist() get list of matching tags
|
||||
|
||||
==============================================================================
|
||||
*41.7* Defining a function
|
||||
@@ -737,6 +820,15 @@ The complete function definition is as follows: >
|
||||
: return smaller
|
||||
:endfunction
|
||||
|
||||
For people who like short functions, this does the same thing: >
|
||||
|
||||
:function Min(num1, num2)
|
||||
: if a:num1 < a:num2
|
||||
: return a:num1
|
||||
: endif
|
||||
: return a:num2
|
||||
:endfunction
|
||||
|
||||
A user defined function is called in exactly the same way as a builtin
|
||||
function. Only the name is different. The Min function can be used like
|
||||
this: >
|
||||
@@ -824,6 +916,9 @@ This uses the ":echohl" command to specify the highlighting used for the
|
||||
following ":echo" command. ":echohl None" stops it again. The ":echon"
|
||||
command works like ":echo", but doesn't output a line break.
|
||||
|
||||
You can also use the a:000 variable, it is a List of all the "..." arguments.
|
||||
See |a:000|.
|
||||
|
||||
|
||||
LISTING FUNCTIONS
|
||||
|
||||
@@ -860,8 +955,327 @@ To delete the Show() function: >
|
||||
|
||||
You get an error when the function doesn't exist.
|
||||
|
||||
|
||||
FUNCTION REFERENCES
|
||||
|
||||
Sometimes it can be useful to have a variable point to one function or
|
||||
another. You can do it with the function() function. It turns the name of a
|
||||
function into a reference: >
|
||||
|
||||
:let result = 0 " or 1
|
||||
:function! Right()
|
||||
: return 'Right!'
|
||||
:endfunc
|
||||
:function! Wrong()
|
||||
: return 'Wrong!'
|
||||
:endfunc
|
||||
:
|
||||
:if result == 1
|
||||
: let Afunc = function('Right')
|
||||
:else
|
||||
: let Afunc = function('Wrong')
|
||||
:endif
|
||||
:echo call(Afunc, [])
|
||||
< Wrong! ~
|
||||
|
||||
Note that the name of a variable that holds a function reference must start
|
||||
with a capital. Otherwise it could be confused with the name of a builtin
|
||||
function.
|
||||
The way to invoke a function that a variable refers to is with the call()
|
||||
function. Its first argument is the function reference, the second argument
|
||||
is a List with arguments.
|
||||
|
||||
Function references are most useful in combination with a Dictionary, as is
|
||||
explained in the next section.
|
||||
|
||||
==============================================================================
|
||||
*41.8* Exceptions
|
||||
*41.8* Lists and Dictionaries
|
||||
|
||||
So far we have used the basic types String and Number. Vim also supports two
|
||||
composite types: List and Dictionary.
|
||||
|
||||
A List is an ordered sequence of things. The things can be any kind of value,
|
||||
thus you can make a List of numbers, a List of Lists and even a List of mixed
|
||||
items. To create a List with three strings: >
|
||||
|
||||
:let alist = ['aap', 'mies', 'noot']
|
||||
|
||||
The List items are enclosed in square brackets and separated by commas. To
|
||||
create an empty List: >
|
||||
|
||||
:let alist = []
|
||||
|
||||
You can add items to a List with the add() function: >
|
||||
|
||||
:let alist = []
|
||||
:call add(alist, 'foo')
|
||||
:call add(alist, 'bar')
|
||||
:echo alist
|
||||
< ['foo', 'bar'] ~
|
||||
|
||||
List concatenation is done with +: >
|
||||
|
||||
:echo alist + ['foo', 'bar']
|
||||
< ['foo', 'bar', 'foo', 'bar'] ~
|
||||
|
||||
Or, if you want to extend a List directly: >
|
||||
|
||||
:let alist = ['one']
|
||||
:call extend(alist, ['two', 'three'])
|
||||
:echo alist
|
||||
< ['one', 'two', 'three'] ~
|
||||
|
||||
Notice that using add() will have a different effect: >
|
||||
|
||||
:let alist = ['one']
|
||||
:call add(alist, ['two', 'three'])
|
||||
:echo alist
|
||||
< ['one', ['two', 'three']] ~
|
||||
|
||||
The second argument of add() is added as a single item.
|
||||
|
||||
|
||||
FOR LOOP
|
||||
|
||||
One of the nice things you can do with a List is iterate over it: >
|
||||
|
||||
:let alist = ['one', 'two', 'three']
|
||||
:for n in alist
|
||||
: echo n
|
||||
:endfor
|
||||
< one ~
|
||||
two ~
|
||||
three ~
|
||||
|
||||
This will loop over each element in List "alist", assigning the value to
|
||||
variable "n". The generic form of a for loop is: >
|
||||
|
||||
:for {varname} in {listexpression}
|
||||
: {commands}
|
||||
:endfor
|
||||
|
||||
To loop a certain number of times you need a List of a specific length. The
|
||||
range() function creates one for you: >
|
||||
|
||||
:for a in range(3)
|
||||
: echo a
|
||||
:endfor
|
||||
< 0 ~
|
||||
1 ~
|
||||
2 ~
|
||||
|
||||
Notice that the first item of the List that range() produces is zero, thus the
|
||||
last item is one less than the length of the list.
|
||||
You can also specify the maximum value, the stride and even go backwards: >
|
||||
|
||||
:for a in range(8, 4, -2)
|
||||
: echo a
|
||||
:endfor
|
||||
< 8 ~
|
||||
6 ~
|
||||
4 ~
|
||||
|
||||
A more useful example, looping over lines in the buffer: >
|
||||
|
||||
:for line in getline(1, 20)
|
||||
: if line =~ "Date: "
|
||||
: echo matchstr(line, 'Date: \zs.*')
|
||||
: endif
|
||||
:endfor
|
||||
|
||||
This looks into lines 1 to 20 (inclusive) and echoes any date found in there.
|
||||
|
||||
|
||||
DICTIONARIES
|
||||
|
||||
A Dictionary stores key-value pairs. You can quickly lookup a value if you
|
||||
know the key. A Dictionary is created with curly braces: >
|
||||
|
||||
:let uk2nl = {'one': 'een', 'two': 'twee', 'three': 'drie'}
|
||||
|
||||
Now you can lookup words by putting the key in square brackets: >
|
||||
|
||||
:echo uk2nl['two']
|
||||
< twee ~
|
||||
|
||||
The generic form for defining a Dictionary is: >
|
||||
|
||||
{<key> : <value>, ...}
|
||||
|
||||
An empty Dictionary is one without any keys: >
|
||||
|
||||
{}
|
||||
|
||||
The possibilities with Dictionaries are numerous. There are various functions
|
||||
for them as well. For example, you can obtain a list of the keys and loop
|
||||
over them: >
|
||||
|
||||
:for key in keys(uk2nl)
|
||||
: echo key
|
||||
:endfor
|
||||
< three ~
|
||||
one ~
|
||||
two ~
|
||||
|
||||
The will notice the items are not ordered. You can sort the list to get a
|
||||
specific order: >
|
||||
|
||||
:for key in sort(keys(uk2nl))
|
||||
: echo key
|
||||
:endfor
|
||||
< one ~
|
||||
three ~
|
||||
two ~
|
||||
|
||||
But you can never get back the order in which items are defined. For that you
|
||||
need to use a List, it stores items in an ordered sequence.
|
||||
|
||||
|
||||
DICTIONARY FUNCTIONS
|
||||
|
||||
The items in a Dictionary can normally be obtained with an index in square
|
||||
brackets: >
|
||||
|
||||
:echo uk2nl['one']
|
||||
< een ~
|
||||
|
||||
A method that does the same, but without so many punctuation characters: >
|
||||
|
||||
:echo uk2nl.one
|
||||
< een ~
|
||||
|
||||
This only works for a key that is made of ASCII letters, digits and the
|
||||
underscore. You can also assign a new value this way: >
|
||||
|
||||
:let uk2nl.four = 'vier'
|
||||
:echo uk2nl
|
||||
< {'three': 'drie', 'four': 'vier', 'one': 'een', 'two': 'twee'} ~
|
||||
|
||||
And now for something special: you can directly define a function and store a
|
||||
reference to it in the dictionary: >
|
||||
|
||||
:function uk2nl.translate(line) dict
|
||||
: return join(map(split(a:line), 'get(self, v:val, "???")'))
|
||||
:endfunction
|
||||
|
||||
Let's first try it out: >
|
||||
|
||||
:echo uk2nl.translate('three two five one')
|
||||
< drie twee ??? een ~
|
||||
|
||||
The first special thing you notice is the "dict" at the end of the ":function"
|
||||
line. This marks the function as being used from a Dictionary. The "self"
|
||||
local variable will then refer to that Dictionary.
|
||||
Now let's break up the complicated return command: >
|
||||
|
||||
split(a:line)
|
||||
|
||||
The split() function takes a string, chops it into white separated words
|
||||
and returns a list with these words. Thus in the example it returns: >
|
||||
|
||||
:echo split('three two five one')
|
||||
< ['three', 'two', 'five', 'one'] ~
|
||||
|
||||
This list is the first argument to the map() function. This will go through
|
||||
the list, evaluating its second argument with "v:val" set to the value of each
|
||||
item. This is a shortcut to using a for loop. This command: >
|
||||
|
||||
:let alist = map(split(a:line), 'get(self, v:val, "???")')
|
||||
|
||||
Is equivalent to: >
|
||||
|
||||
:let alist = split(a:line)
|
||||
:for idx in range(len(alist))
|
||||
: let alist[idx] = get(self, alist[idx], "???")
|
||||
:endfor
|
||||
|
||||
The get() function checks if a key is present in a Dictionary. If it is, then
|
||||
the value is retrieved. If it isn't, then the default value is returned, in
|
||||
the example it's '???'. This is a convenient way to handle situations where a
|
||||
key may not be present and you don't want an error message.
|
||||
|
||||
The join() function does the opposite of split(): it joins together a list of
|
||||
words, putting a space in between.
|
||||
This combination of split(), map() and join() is a nice way to filter a line
|
||||
of words in a very compact way.
|
||||
|
||||
|
||||
OBJECT ORIENTED PROGRAMMING
|
||||
|
||||
Now that you can put both values and functions in a Dictionary, you can
|
||||
actually use a Dictionary like an object.
|
||||
Above we used a Dictionary for translating Dutch to English. We might want
|
||||
to do the same for other languages. Let's first make an object (aka
|
||||
Dictionary) that has the translate function, but no words to translate: >
|
||||
|
||||
:let transdict = {}
|
||||
:function transdict.translate(line) dict
|
||||
: return join(map(split(a:line), 'get(self.words, v:val, "???")'))
|
||||
:endfunction
|
||||
|
||||
It's slightly different from the function above, using 'self.words' to lookup
|
||||
word translations. But we don't have a self.words. Thus you could call this
|
||||
an abstract class.
|
||||
|
||||
Now we can instantiate a Dutch translation object: >
|
||||
|
||||
:let uk2nl = copy(transdict)
|
||||
:let uk2nl.words = {'one': 'een', 'two': 'twee', 'three': 'drie'}
|
||||
:echo uk2nl.translate('three one')
|
||||
< drie een ~
|
||||
|
||||
And a German translator: >
|
||||
|
||||
:let uk2de = copy(transdict)
|
||||
:let uk2de.words = {'one': 'ein', 'two': 'zwei', 'three': 'drei'}
|
||||
:echo uk2de.translate('three one')
|
||||
< drei ein ~
|
||||
|
||||
You see that the copy() function is used to make a copy of the "transdict"
|
||||
Dictionary and then the copy is changed to add the words. The original
|
||||
remains the same, of course.
|
||||
|
||||
Now you can go one step further, and use your preferred translator: >
|
||||
|
||||
:if $LANG =~ "de"
|
||||
: let trans = uk2de
|
||||
:else
|
||||
: let trans = uk2nl
|
||||
:endif
|
||||
:echo trans.translate('one two three')
|
||||
< een twee drie ~
|
||||
|
||||
Here "trans" refers to one of the two objects (Dictionaries). No copy is
|
||||
made. More about List and Dictionary identity can be found at |list-identity|
|
||||
and |dict-identity|.
|
||||
|
||||
Now you might use a language that isn't supported. You can overrule the
|
||||
translate() function to do nothing: >
|
||||
|
||||
:let uk2uk = copy(transdict)
|
||||
:function! uk2uk.translate(line)
|
||||
: return a:line
|
||||
:endfunction
|
||||
:echo uk2uk.translate('three one wladiwostok')
|
||||
< three one wladiwostok ~
|
||||
|
||||
Notice that a ! was used to overwrite the existing function reference. Now
|
||||
use "uk2uk" when no recognized language is found: >
|
||||
|
||||
:if $LANG =~ "de"
|
||||
: let trans = uk2de
|
||||
:elseif $LANG =~ "nl"
|
||||
: let trans = uk2nl
|
||||
:else
|
||||
: let trans = uk2uk
|
||||
:endif
|
||||
:echo trans.translate('one two three')
|
||||
< one two three ~
|
||||
|
||||
For further reading see |Lists| and |Dictionaries|.
|
||||
|
||||
==============================================================================
|
||||
*41.9* Exceptions
|
||||
|
||||
Let's start with an example: >
|
||||
|
||||
@@ -918,7 +1332,7 @@ More information about exception handling can be found in the reference
|
||||
manual: |exception-handling|.
|
||||
|
||||
==============================================================================
|
||||
*41.9* Various remarks
|
||||
*41.10* Various remarks
|
||||
|
||||
Here is a summary of items that apply to Vim scripts. They are also mentioned
|
||||
elsewhere, but form a nice checklist.
|
||||
@@ -1076,7 +1490,7 @@ Example: >
|
||||
let XXX_loaded = 1
|
||||
|
||||
==============================================================================
|
||||
*41.10* Writing a plugin *write-plugin*
|
||||
*41.11* Writing a plugin *write-plugin*
|
||||
|
||||
You can write a Vim script in such a way that many people can use it. This is
|
||||
called a plugin. Vim users can drop your script in their plugin directory and
|
||||
@@ -1489,13 +1903,13 @@ hasmapto() Function to test if the user already defined a mapping
|
||||
exists(":Cmd") Check if a user command already exists.
|
||||
|
||||
==============================================================================
|
||||
*41.11* Writing a filetype plugin *write-filetype-plugin* *ftplugin*
|
||||
*41.12* Writing a filetype plugin *write-filetype-plugin* *ftplugin*
|
||||
|
||||
A filetype plugin is like a global plugin, except that it sets options and
|
||||
defines mappings for the current buffer only. See |add-filetype-plugin| for
|
||||
how this type of plugin is used.
|
||||
|
||||
First read the section on global plugins above |41.10|. All that is said there
|
||||
First read the section on global plugins above |41.11|. All that is said there
|
||||
also applies to filetype plugins. There are a few extras, which are explained
|
||||
here. The essential thing is that a filetype plugin should only have an
|
||||
effect on the current buffer.
|
||||
@@ -1675,7 +2089,7 @@ exists("*s:Func") Check if a function was already defined.
|
||||
Also see |plugin-special|, the special things used for all plugins.
|
||||
|
||||
==============================================================================
|
||||
*41.12* Writing a compiler plugin *write-compiler-plugin*
|
||||
*41.13* Writing a compiler plugin *write-compiler-plugin*
|
||||
|
||||
A compiler plugin sets options for use with a specific compiler. The user can
|
||||
load it with the |:compiler| command. The main use is to set the
|
||||
@@ -1720,6 +2134,143 @@ don't check "current_compiler". This plugin is supposed to be loaded
|
||||
last, thus it should be in a directory at the end of 'runtimepath'. For Unix
|
||||
that could be ~/.vim/after/compiler.
|
||||
|
||||
==============================================================================
|
||||
*41.14* Writing a plugin that loads quickly *write-plugin-quickload*
|
||||
|
||||
A plugin may grow and become quite long. The startup delay may become
|
||||
noticable, while you hardly every use the plugin. Then it's time for a
|
||||
quickload plugin.
|
||||
|
||||
The basic idea is that the plugin is loaded twice. The first time user
|
||||
commands and mappings are defined that offer the functionality. The second
|
||||
time the functions that implement the functionality are defined.
|
||||
|
||||
It may sound surprising that quickload means loading a script twice. What we
|
||||
mean is that it loads quickly the first time, postponing the bulk of the
|
||||
script to the second time, which only happens when you actually use it. When
|
||||
you always use the functionality it actually gets slower!
|
||||
|
||||
The following example shows how it's done: >
|
||||
|
||||
" Vim global plugin for demonstrating quick loading
|
||||
" Last Change: 2005 Feb 25
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" License: This file is placed in the public domain.
|
||||
|
||||
if !exists("s:did_load")
|
||||
command -nargs=* BNRead call BufNetRead(<f-args>)
|
||||
map <F19> :call BufNetWrite('something')<CR>
|
||||
|
||||
let s:did_load = 1
|
||||
exe 'au FuncUndefined BufNet* source ' . expand('<sfile>')
|
||||
finish
|
||||
endif
|
||||
|
||||
function BufNetRead(...)
|
||||
echo 'BufNetRead(' . string(a:000) . ')'
|
||||
" read functionality here
|
||||
endfunction
|
||||
|
||||
function BufNetWrite(...)
|
||||
echo 'BufNetWrite(' . string(a:000) . ')'
|
||||
" write functionality here
|
||||
endfunction
|
||||
|
||||
When the script is first loaded "s:did_load" is not set. The commands between
|
||||
the "if" and "endif" will be executed. This ends in a |:finish| command, thus
|
||||
the rest of the script is not executed.
|
||||
|
||||
The second time the script is loaded "s:did_load" exists and the commands
|
||||
after the "endif" are executed. This defines the (possible long)
|
||||
BufNetRead() and BufNetWrite() functions.
|
||||
|
||||
If you drop this script in your plugin directory Vim will execute it on
|
||||
startup. This is the sequence of events that happens:
|
||||
|
||||
1. The "BNRead" command is defined and the <F19> key is mapped when the script
|
||||
is sourced at startup. A |FuncUndefined| autocommand is defined. The
|
||||
":finish" command causes the script to terminate early.
|
||||
|
||||
2. The user types the BNRead command or presses the <F19> key. The
|
||||
BufNetRead() or BufNetWrite() function will be called.
|
||||
|
||||
3. Vim can't find the function and triggers the |FuncUndefined| autocommand
|
||||
event. Since the pattern "BufNet*" matches the invoked function, the
|
||||
command "source fname" will be executed. "fname" will be equal to the name
|
||||
of the script, no matter where it is located, because it comes from
|
||||
expanding "<sfile>" (see |expand()|).
|
||||
|
||||
4. The script is sourced again, the "s:did_load" variable exists and the
|
||||
functions are defined.
|
||||
|
||||
Notice that the functions that are loaded afterwards match the pattern in the
|
||||
|FuncUndefined| autocommand. You must make sure that no other plugin defines
|
||||
functions that match this pattern.
|
||||
|
||||
==============================================================================
|
||||
*41.15* Writing library scripts *write-library-script*
|
||||
|
||||
Some functionality will be required in several places. When this becomes more
|
||||
than a few lines you will want to put it in one script and use it from many
|
||||
scripts. We will call that one script a library script.
|
||||
|
||||
Manually loading a library script is possible, so long as you avoid loading it
|
||||
when it's already done. You can do this with the |exists()| function.
|
||||
Example: >
|
||||
|
||||
if !exists('*MyLibFunction')
|
||||
runtime library/mylibscript.vim
|
||||
endif
|
||||
call MyLibFunction(arg)
|
||||
|
||||
Here you need to know that MyLibFunction() is defined in a script
|
||||
"library/mylibscript.vim" in one of the directories in 'runtimepath'.
|
||||
|
||||
To make this a bit simpler Vim offers the autoload mechanism. Then the
|
||||
example looks like this: >
|
||||
|
||||
call mylib:myfunction(arg)
|
||||
|
||||
That's a lot simpler, isn't it? Vim will recognize the function name and when
|
||||
it's not defined search for the script "autoload/mylib.vim" in 'runtimepath'.
|
||||
That script must define the "mylib:myfunction()" function.
|
||||
|
||||
You can put many other functions in the mylib.vim script, you are free to
|
||||
organize your functions in library scripts. But you must use function names
|
||||
where the part before the colon matches the script name. Otherwise Vim
|
||||
would not know what script to load.
|
||||
|
||||
If you get really enthousiastic and write lots of library scripts, you may
|
||||
want to use subdirectories. Example: >
|
||||
|
||||
call netlib:ftp:read('somefile')
|
||||
|
||||
For Unix the library script used for this could be:
|
||||
|
||||
~/.vim/autoload/netlib/ftp.vim
|
||||
|
||||
Where the function is defined like this: >
|
||||
|
||||
function netlib:ftp:read(fname)
|
||||
" Read the file fname through ftp
|
||||
endfunction
|
||||
|
||||
Notice that the name the function is defined with is exactly the same as the
|
||||
name used for calling the function. And the part before the last colon
|
||||
exactly matches the subdirectory and script name.
|
||||
|
||||
You can use the same mechanism for variables: >
|
||||
|
||||
let weekdays = dutch:weekdays
|
||||
|
||||
This will load the script "autoload/dutch.vim", which should contain something
|
||||
like: >
|
||||
|
||||
let dutch:weekdays = ['zondag', 'maandag', 'dinsdag', 'woensdag',
|
||||
\ 'donderdag', 'vrijdag', 'zaterdag']
|
||||
|
||||
Further reading: |autoload|.
|
||||
|
||||
==============================================================================
|
||||
|
||||
Next chapter: |usr_42.txt| Add new menus
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*usr_toc.txt* For Vim version 7.0aa. Last change: 2003 Aug 18
|
||||
*usr_toc.txt* For Vim version 7.0aa. Last change: 2005 Feb 22
|
||||
|
||||
VIM USER MANUAL - by Bram Moolenaar
|
||||
|
||||
@@ -286,11 +286,14 @@ Make Vim work as you like it.
|
||||
|41.5| Executing an expression
|
||||
|41.6| Using functions
|
||||
|41.7| Defining a function
|
||||
|41.8| Exceptions
|
||||
|41.9| Various remarks
|
||||
|41.10| Writing a plugin
|
||||
|41.11| Writing a filetype plugin
|
||||
|41.12| Writing a compiler plugin
|
||||
|41.8| Lists and Dictionaries
|
||||
|41.9| Exceptions
|
||||
|41.10| Various remarks
|
||||
|41.11| Writing a plugin
|
||||
|41.12| Writing a filetype plugin
|
||||
|41.13| Writing a compiler plugin
|
||||
|41.14| Writing a plugin that loads quickly
|
||||
|41.15| Writing library scripts
|
||||
|
||||
|usr_42.txt| Add new menus
|
||||
|42.1| Introduction
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*various.txt* For Vim version 7.0aa. Last change: 2004 Dec 23
|
||||
*various.txt* For Vim version 7.0aa. Last change: 2005 Mar 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -66,40 +66,47 @@ g8 Print the hex values of the bytes used in the
|
||||
{not in Vi}
|
||||
|
||||
*:p* *:pr* *:print*
|
||||
:[range]p[rint] Print [range] lines (default current line).
|
||||
:[range]p[rint] [flags]
|
||||
Print [range] lines (default current line).
|
||||
Note: If you are looking for a way to print your text
|
||||
file, you need an external program for that. In the
|
||||
GUI you can use the File.Print menu entry.
|
||||
(For printing on paper see |:hardcopy|)
|
||||
on paper see |:hardcopy|. In the GUI you can use the
|
||||
File.Print menu entry.
|
||||
See |ex-flags| for [flags].
|
||||
|
||||
:[range]p[rint] {count}
|
||||
:[range]p[rint] {count} [flags]
|
||||
Print {count} lines, starting with [range] (default
|
||||
current line |cmdline-ranges|).
|
||||
See |ex-flags| for [flags].
|
||||
|
||||
*:P* *:Print*
|
||||
:[range]P[rint] [count]
|
||||
:[range]P[rint] [count] [flags]
|
||||
Just as ":print". Was apparently added to Vi for
|
||||
people that keep the shift key pressed too long...
|
||||
See |ex-flags| for [flags].
|
||||
|
||||
*:l* *:list*
|
||||
:[range]l[ist] [count]
|
||||
:[range]l[ist] [count] [flags]
|
||||
Same as :print, but display unprintable characters
|
||||
with '^'.
|
||||
with '^' and put $ after the line.
|
||||
See |ex-flags| for [flags].
|
||||
|
||||
*:nu* *:number*
|
||||
:[range]nu[mber] [count]
|
||||
:[range]nu[mber] [count] [flags]
|
||||
Same as :print, but precede each line with its line
|
||||
number. (See also 'highlight' option).
|
||||
See |ex-flags| for [flags].
|
||||
|
||||
*:#*
|
||||
:[range]# [count] synonym for :number.
|
||||
:[range]# [count] [flags]
|
||||
synonym for :number.
|
||||
|
||||
*:z* *E144*
|
||||
:{range}z[+-^.=]{count} Display several lines of text surrounding the line
|
||||
specified with {range}, or around the current line
|
||||
if there is no {range}. If there is a {count}, that's
|
||||
how many lines you'll see; otherwise, the current
|
||||
window size is used.
|
||||
how many lines you'll see; if there is only one window
|
||||
then the 'window' option is used, otherwise the
|
||||
current window size is used.
|
||||
|
||||
:z can be used either alone or followed by any of
|
||||
several punctuation marks. These have the following
|
||||
@@ -110,8 +117,8 @@ g8 Print the hex values of the bytes used in the
|
||||
+ current line 1 scr forward 1 scr forward
|
||||
- 1 scr back current line current line
|
||||
^ 2 scr back 1 scr back 1 scr back
|
||||
. 1/2 scr back 1/2 scr fwd 1/2 src fwd
|
||||
= 1/2 src back 1/2 scr fwd current line
|
||||
. 1/2 scr back 1/2 scr fwd 1/2 scr fwd
|
||||
= 1/2 scr back 1/2 scr fwd current line
|
||||
|
||||
Specifying no mark at all is the same as "+".
|
||||
If the mark is "=", a line of dashes is printed
|
||||
@@ -122,11 +129,13 @@ g8 Print the hex values of the bytes used in the
|
||||
{not in all versions of Vi, not with these arguments}
|
||||
|
||||
*:=*
|
||||
:= Print the last line number.
|
||||
:= [flags] Print the last line number.
|
||||
See |ex-flags| for [flags].
|
||||
|
||||
:{range}= Prints the last line number in {range}. For example,
|
||||
:{range}= [flags] Prints the last line number in {range}. For example,
|
||||
this prints the current line number: >
|
||||
:.=
|
||||
< See |ex-flags| for [flags].
|
||||
|
||||
:norm[al][!] {commands} *:norm* *:normal*
|
||||
Execute Normal mode commands {commands}. This makes
|
||||
@@ -140,7 +149,8 @@ g8 Print the hex values of the bytes used in the
|
||||
The display isn't updated while ":normal" is busy.
|
||||
This implies that an insert command must be completed
|
||||
(to start Insert mode, see |:startinsert|). A ":"
|
||||
command must be completed as well.
|
||||
command must be completed as well. And you can't use
|
||||
"Q" or "gQ" to start Ex mode.
|
||||
{commands} cannot start with a space. Put a 1 (one)
|
||||
before it, 1 space is one space.
|
||||
The 'insertmode' option is ignored for {commands}.
|
||||
@@ -240,7 +250,9 @@ g8 Print the hex values of the bytes used in the
|
||||
*+ARP* Amiga only: ARP support included
|
||||
B *+arabic* |Arabic| language support
|
||||
N *+autocmd* |:autocmd|, automatic commands
|
||||
m *+balloon_eval* |balloon-eval| support
|
||||
m *+balloon_eval* |balloon-eval| support. Included when compiling with
|
||||
supported GUI (Motif, GTK, GUI) and either
|
||||
Netbeans/Sun Workshop integration or |+eval| feature.
|
||||
N *+browse* |:browse| command
|
||||
N *+builtin_terms* some terminals builtin |builtin-terms|
|
||||
B *++builtin_terms* maximal terminals builtin |builtin-terms|
|
||||
@@ -314,6 +326,7 @@ N *+path_extra* Up/downwards search in 'path' and 'tags'
|
||||
m *+perl* Perl interface |perl|, may have |/dyn|
|
||||
*+postscript* |:hardcopy| writes a PostScript file
|
||||
N *+printer* |:hardcopy| command
|
||||
H *+profile* |:profile| command
|
||||
m *+python* Python interface |python|, may have |/dyn|
|
||||
N *+quickfix* |:make| and |quickfix| commands
|
||||
B *+rightleft* Right to left typing |'rightleft'|
|
||||
@@ -387,10 +400,24 @@ N *+X11* Unix only: can restore window title |X11|
|
||||
:redi[r] @{a-zA-Z} Redirect messages to register {a-z}. Append to the
|
||||
contents of the register if its name is given
|
||||
uppercase {A-Z}. {not in Vi}
|
||||
:redi[r] @{a-z}> Append messages to register {a-z}. {not in Vi}
|
||||
|
||||
:redi[r] @* Redirect messages to the clipboard. {not in Vi}
|
||||
:redi[r] @*> Append messages to the clipboard. {not in Vi}
|
||||
|
||||
:redi[r] @" Redirect messages to the unnamed register. {not in Vi}
|
||||
:redi[r] @"> Append messages to the unnamed register. {not in Vi}
|
||||
|
||||
:redi[r] => {var} Redirect messages to a variable. If the variable
|
||||
doesn't exist, then it is created. If the variable
|
||||
exists, then it is initialized to an empty string.
|
||||
Only string variables can be used. After the
|
||||
redirection starts, if the variable is removed or
|
||||
locked or the variable type is changed, then further
|
||||
command output messages will cause errors. {not in Vi}
|
||||
|
||||
:redi[r] =>> {var} Append messages to an existing variable. Only string
|
||||
variables can be used. {not in Vi}
|
||||
|
||||
:redi[r] END End redirecting messages. {not in Vi}
|
||||
|
||||
@@ -489,9 +516,9 @@ K Run a program to lookup the keyword under the
|
||||
:sleep 100m "sleep for a hundred milliseconds
|
||||
10gs "sleep for ten seconds
|
||||
< Can be interrupted with CTRL-C (CTRL-Break on MS-DOS).
|
||||
"gs" stands for "goto sleep". While sleeping the
|
||||
cursor is positioned in the text (if visible). {not
|
||||
in Vi}
|
||||
"gs" stands for "goto sleep".
|
||||
While sleeping the cursor is positioned in the text,
|
||||
if at a visible position. {not in Vi}
|
||||
|
||||
*g_CTRL-A*
|
||||
g CTRL-A Only when Vim was compiled with MEM_PROFILING defined
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*version6.txt* For Vim version 7.0aa. Last change: 2004 Jun 16
|
||||
*version6.txt* For Vim version 7.0aa. Last change: 2005 Jan 26
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -865,8 +865,6 @@ on a directory moves the browser to that directory.
|
||||
There are several other possibilities, such as opening a file in the preview
|
||||
window, renaming files and deleting files.
|
||||
|
||||
See |file-explorer|.
|
||||
|
||||
|
||||
Editing files over a network *new-network-files*
|
||||
----------------------------
|
||||
@@ -1703,7 +1701,7 @@ GUI:
|
||||
is used. Required for dead key support (and multi-byte input).
|
||||
- After a file selection dialog, check that the edited files were not changed
|
||||
or deleted. The Win32 dialog allows deleting and renaming files.
|
||||
- Motif and Athena: Added support for "editres". (Martin Dalecki)
|
||||
- Motif and Athena: Added support for "editres". (Marcin Dalecki)
|
||||
- Motif and Athena: Added "menuFont" to be able to specify a font or fontset
|
||||
for the menus. Can also be set with the "Menu" highlight group. Useful
|
||||
when the locale is different from 'encoding'. (David Harrison)
|
||||
@@ -1756,7 +1754,7 @@ GTK GUI: (partly by Marcin Dalecki)
|
||||
- When dropping a file on Vim, remove extra slashes from the start of the
|
||||
path. Also shorten the file name if possible.
|
||||
|
||||
Motif: (Martin Dalecki)
|
||||
Motif: (Marcin Dalecki)
|
||||
- Made the dialog layout better.
|
||||
- Added find and find/replace dialogs.
|
||||
- For the menus, change "iso-8859" to "iso_8859", Linux appears to need this.
|
||||
@@ -3050,7 +3048,7 @@ Win32: Without scrollbars present, the MS mouse scroll wheel didn't work.
|
||||
Also handle the scrollbars when they are not visible.
|
||||
|
||||
Motif: When there is no right scrollbar, the bottom scrollbar would still
|
||||
leave room for it. (Martin Dalecki)
|
||||
leave room for it. (Marcin Dalecki)
|
||||
|
||||
When changing 'guicursor' and the value is invalid, some of the effects would
|
||||
still take place. Now first check for errors and only make the new value
|
||||
@@ -3136,7 +3134,7 @@ would crash.
|
||||
When doing ":view file" and it fails, the current buffer was made read-only.
|
||||
|
||||
Motif: For some people the separators in the toolbar disappeared when resizing
|
||||
the Vim window. (Martin Dalecki)
|
||||
the Vim window. (Marcin Dalecki)
|
||||
|
||||
Win32 GUI: when setting 'lines' to a huge number, would not compute the
|
||||
available space correctly. Was counting the menu height twice.
|
||||
@@ -3187,7 +3185,7 @@ second time it replaced all matches. Removed the use of ":s///c".
|
||||
GTK: Similar problems with the find/replace dialog, moved the code to a common
|
||||
function.
|
||||
|
||||
X11: Use shared GC's for text. (Martin Dalecki)
|
||||
X11: Use shared GC's for text. (Marcin Dalecki)
|
||||
|
||||
"]i" found the match under the cursor, instead of the first one below it.
|
||||
Same for "]I", "] CTRL-I", "]d", "]D" and "] CTRL-D".
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*version7.txt* For Vim version 7.0aa. Last change: 2005 Jan 03
|
||||
*version7.txt* For Vim version 7.0aa. Last change: 2005 Mar 28
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -6,7 +6,8 @@
|
||||
|
||||
Welcome to Vim 7! A large number of features has been added. This file
|
||||
mentions all the new items, changes to existing features and bug fixes
|
||||
compared to Vim 6.x.
|
||||
compared to Vim 6.x. Use this command to see the version you are using: >
|
||||
:version
|
||||
|
||||
See |vi_diff.txt| for an overview of differences between Vi and Vim 7.0.
|
||||
See |version4.txt| for differences between Vim 3.x and Vim 4.x.
|
||||
@@ -17,10 +18,13 @@ INCOMPATIBLE CHANGES |incompatible-7|
|
||||
|
||||
NEW FEATURES |new-7|
|
||||
|
||||
New data types |new-data-types|
|
||||
Vim script enhancements |new-vim-script|
|
||||
Spell checking |new-spell|
|
||||
KDE support |new-KDE|
|
||||
Translated manual pages |new-manpage-trans|
|
||||
Internal grep |new-vimgrep|
|
||||
POSIX compatibility |new-posix|
|
||||
Debugger support |new-debug-support|
|
||||
Various new items |new-items-7|
|
||||
|
||||
IMPROVEMENTS |improvements-7|
|
||||
@@ -33,7 +37,13 @@ BUG FIXES |bug-fixes-7|
|
||||
INCOMPATIBLE CHANGES *incompatible-7*
|
||||
|
||||
These changes are incompatible with previous releases. Check this list if you
|
||||
run into a problem when upgrading from Vim 6.x to 7.0
|
||||
run into a problem when upgrading from Vim 6.x to 7.0.
|
||||
|
||||
A ":write file" command no longer resets the 'modified' flag of the buffer,
|
||||
unless the '+' flag is in 'cpoptions' |cpo-+|. This was illogical, since the
|
||||
buffer is still modified compared to the original file. And when undoing
|
||||
all changes the file would actually be marked modified. It does mean that
|
||||
":quit" fails now.
|
||||
|
||||
":helpgrep" now uses a help window to display a match.
|
||||
|
||||
@@ -45,11 +55,9 @@ double quotes and it is incompatible with some versions of Vi.
|
||||
:next foo\"888 'foo888' 'foo"888'
|
||||
:next a\"b c\"d 'ab cd' 'a"b' and 'c"d'
|
||||
|
||||
A ":write file" command no longer resets the 'modified' flag of the buffer,
|
||||
unless the '+' flag is in 'cpoptions' |cpo-+|. This was illogical, since the
|
||||
buffer is still modified compared to the original file. And when undoing
|
||||
all changes the file would actually be marked modified. It does mean that
|
||||
":quit" fails now.
|
||||
In a |literal-string| a single quote can be doubled to get one.
|
||||
":echo 'a''b'" would result in "a b", but now that two quotes stand for one it
|
||||
results in "a'b".
|
||||
|
||||
|
||||
Minor incompatibilities:
|
||||
@@ -76,9 +84,9 @@ Win32: The effect of the <F10> key depended on 'winaltkeys'. Now it depends
|
||||
on whether <F10> has been mapped or not. This allows mapping <F10> without
|
||||
changing 'winaltkeys'.
|
||||
|
||||
When using CTRL-A on "08" it became "018", which is illogical. Now it becomes
|
||||
"9". The leading zero(s) is(are) removed to avoid the number becoming octal
|
||||
after incrementing "009" to "010".
|
||||
When 'octal' is in 'nrformats' and using CTRL-A on "08" it became "018", which
|
||||
is illogical. Now it becomes "9". The leading zero(s) is(are) removed to
|
||||
avoid the number becoming octal after incrementing "009" to "010".
|
||||
|
||||
When 'encoding' is set to a Unicode encoding, the value for 'fileencodings'
|
||||
now includes "default" before "latin1". This means that for files with 8-bit
|
||||
@@ -86,21 +94,61 @@ encodings the default is to use the encoding specified by the environment, if
|
||||
possible. Previously latin1 would always be used, which is wrong in a
|
||||
non-latin1 environment, such as Russian.
|
||||
|
||||
Previously Vim would exit when there are two windows, both of them displaying
|
||||
a help file, and using ":quit". Now only the window is closed.
|
||||
|
||||
"-w {scriptout}" only works when {scriptout} doesn't start with a digit.
|
||||
Otherwise it's used to set the 'window' option.
|
||||
|
||||
Previously <Home> and <xHome> could be mapped separately. This had the
|
||||
disadvantage that all mappings (with modifiers) had to be duplicated, since
|
||||
you can't be sure what the keyboard generates. Now all <xHome> are internally
|
||||
translated to <Home>, both for the keys and for mappings. Also for <xEnd>,
|
||||
<xF1>, etc.
|
||||
|
||||
==============================================================================
|
||||
NEW FEATURES *new-7*
|
||||
|
||||
New data types *new-data-types*
|
||||
--------------
|
||||
Vim script enhancements *new-vim-script*
|
||||
-----------------------
|
||||
|
||||
In Vim scripts the following types have been added:
|
||||
|
||||
list ordered list of items
|
||||
dictionary associative array of items
|
||||
function reference to a function
|
||||
List ordered list of items |List|
|
||||
Dictionary associative array of items |Dictionary|
|
||||
Funcref reference to a function |Funcref|
|
||||
|
||||
Many functions and commands have been added to support the new types.
|
||||
|
||||
NOT IMPLEMENTED YET!
|
||||
The |string()| function can be used to get a string representation of a
|
||||
variable. Works for Numbers, Strings and composites of them. Then |eval()|
|
||||
can be used to turn the string back into the variable value.
|
||||
|
||||
The |:let| command can now use ":let var += expr" like using ":let var = var +
|
||||
expr". "-=" and ".=" works in a similar way.
|
||||
|
||||
With the |:profile| command you can find out where your function or script
|
||||
wastes its time.
|
||||
|
||||
|
||||
Spell checking *new-spell*
|
||||
--------------
|
||||
|
||||
Spell checking has been integrated in Vim. There were a few implementations
|
||||
with scripts, but they were slow and/or required an external program.
|
||||
|
||||
The 'spell' option is used to switch spell checking on or off.
|
||||
The 'spelllang' option is used to specify the languages that are accepted.
|
||||
|
||||
The "undercurl" highlighting attribute was added to nicely point out spelling
|
||||
mistakes in the GUI (based on patch from Marcin Dalecki).
|
||||
The "guisp" color can be used to give it a color different from foreground and
|
||||
background.
|
||||
The number of possible different highlight attributes was raised from about
|
||||
220 to over 30000. This allows for the attributes of spelling to be combined
|
||||
with syntax highlighting attributes.
|
||||
|
||||
Much more info here: |spell|.
|
||||
|
||||
|
||||
KDE support *new-KDE*
|
||||
@@ -117,6 +165,7 @@ The MzScheme interpreter is supported. |MzScheme|
|
||||
The |:mzscheme| command can be used to execute MzScheme commands.
|
||||
The |:mzfile| command can be used to execute an MzScheme script file.
|
||||
|
||||
|
||||
Printing multi-byte text *new-print-multi-byte*
|
||||
------------------
|
||||
|
||||
@@ -129,9 +178,13 @@ Translated manual pages *new-manpage-trans*
|
||||
-----------------------
|
||||
|
||||
The manual page of Vim and associated programs is now also available in
|
||||
Italian (translated by Antonio Colombo). More languages will follow.
|
||||
several other languages.
|
||||
|
||||
Italian - translated by Antonio Colombo
|
||||
Russian - translated by Vassily Ragosin
|
||||
|
||||
The Unix Makefile installs the Italian manual pages in .../man/it/man1/.
|
||||
Other languages in similar places.
|
||||
|
||||
|
||||
Internal grep *new-vimgrep*
|
||||
@@ -143,6 +196,63 @@ better portability, handling of different file encodings and using multi-line
|
||||
patterns, this also allows grepping in compressed and remote files.
|
||||
|:vimgrep|.
|
||||
|
||||
If you want to use the search results in a script you can use the
|
||||
|getqflist()| function.
|
||||
|
||||
|
||||
POSIX compatibility *new-posix*
|
||||
-------------------
|
||||
|
||||
The POSIX test suite was used to verify POSIX compatibility. A number of
|
||||
problems have been fixed to make Vim more POSIX compatible. Some of them
|
||||
conflict with traditional Vi or expected behavior. The $VIM_POSIX environment
|
||||
variable can be set to get POSIX compatibility. See |posix|.
|
||||
|
||||
Items that were fixed for both Vi and POSIX compatibilty:
|
||||
- repeating "R" with a count only overwrites text once; added the 'X' flag to
|
||||
'cpoptions' |cpo-X|
|
||||
- a vertical movement command that moves to a non-existing line fails; added
|
||||
the '-' flag to 'cpoptions' |cpo--|
|
||||
- when preserving a file and doing ":q!" the file can be recovered; added the
|
||||
'&' flag to 'cpoptions' |cpo-&|
|
||||
- The 'window' option is partly implemented. It specifies how much CTRL-F and
|
||||
CTRL-B scroll when there is one window. The "-w {number}" argument is now
|
||||
accepted. "-w {scriptout}" only works when {scriptout} doesn't start with a
|
||||
digit.
|
||||
- Allow "-c{command}" argument, no space between "-c" and {command}.
|
||||
- When writing a file with ":w!" don't reset 'readonly' when 'Z' is present in
|
||||
'cpoptions'.
|
||||
- Allow 'l' and '#' flags for ":list", ":print" and ":number".
|
||||
- Added the '.' flag to 'cpoptions': ":cd" fails when the buffer is modified.
|
||||
- In Ex mode with an empty buffer ":read file" doesn't keep an empty line
|
||||
above or below the new lines.
|
||||
- Remove a backslash before a NL for the ":global" command.
|
||||
- When ":append", ":insert" or ":change" is used with ":global", get the
|
||||
inserted lines from the command. Can use backslash-NL to separate lines.
|
||||
- Can use ":global /pat/ visual" to execute Normal mode commands at each
|
||||
matched line. Use "Q" to continue and go to the next line.
|
||||
- The |:open| command has been partially implemented. It stops Ex mode, but
|
||||
redraws the whole screen, not just one line as open mode is supposed to do.
|
||||
- Support using a pipe to read the output from and write input to an external
|
||||
command. Added the 'shelltemp' option and has("filterpipe").
|
||||
- In ex silent mode the ":set" command output is displayed.
|
||||
- The ":@@" and ":**" give an error message when no register was used before.
|
||||
- The search pattern "[]-`]" matches ']', '^', '_' and '`'.
|
||||
- Autoindent for ":insert" is using the line below the insert.
|
||||
- Autoindent for ":change" is using the first changed line.
|
||||
- Editing Ex command lines is not done in cooked mode, because CTRL-D and
|
||||
CTRL-T cannot be handled then.
|
||||
- In Ex mode, "1,3" prints three lines.
|
||||
- Implemented the 'prompt' option.
|
||||
|
||||
|
||||
Debugger support *new-debug-support*
|
||||
----------------
|
||||
|
||||
The 'balloonexpr' option has been added. This is a generic way to implement
|
||||
balloon functionality. You can use it to show info for the word under the
|
||||
mouse pointer.
|
||||
|
||||
|
||||
Various new items *new-items-7*
|
||||
-----------------
|
||||
@@ -152,6 +262,9 @@ Normal mode commands: ~
|
||||
a", a' and a` New text objects to select quoted strings. |a'|
|
||||
i", i' and i' (Taro Muraoka)
|
||||
|
||||
CTRL-W <Enter> In the quickfix window: opens a new window to show the
|
||||
location of the error under the cursor.
|
||||
|
||||
Options: ~
|
||||
|
||||
'completefunc' The name of a function used for user-specified Insert
|
||||
@@ -171,6 +284,8 @@ Options: ~
|
||||
(based on an idea from Yegappan Lakshmanan)
|
||||
'formatlistpat' pattern to recognize a numbered list for formatting.
|
||||
(idea by Hugo Haas)
|
||||
'spell' switch spell checking on/off
|
||||
'spelllang' languages to check spelling for
|
||||
|
||||
|
||||
Ex commands: ~
|
||||
@@ -199,22 +314,55 @@ Win32: The ":winpos" command now also works in the console. (Vipin Aravind)
|
||||
|
||||
New functions: ~
|
||||
|
||||
browsedir(title, init) |browsedir()| Dialog to select a directory.
|
||||
byteidx(expr, nr) |byteidx()| Index of a character. (Ilya Sher)
|
||||
finddir(name) |finddir()| Find a directory in 'path'.
|
||||
findfile(name) |findfile()| Find a file in 'path'. (Johannes
|
||||
Zellner)
|
||||
foldtextresult(lnum) |foldtextresult()| The text displayed for a closed
|
||||
fold at line "lnum".
|
||||
getfperm(fname) |getfperm()| Get file permission string. (Nikolai
|
||||
Weibull)
|
||||
getftype(fname) |getftype()| Get type of file. (Nikolai Weibull)
|
||||
repeat(expr, count) |repeat()| Repeat "expr" "count" times.
|
||||
(Christophe Poucet)
|
||||
tr(expr, from, to) |tr()| Translate characters. (Ron Aaron)
|
||||
system(cmd, input) |system()| Filters {input} through a shell
|
||||
command.
|
||||
getfontname([name]) |getfontname()| Get actual font name being used.
|
||||
|add()| append an item to a List
|
||||
|append()| append List of lines to the buffer
|
||||
|browsedir()| Dialog to select a directory.
|
||||
|byteidx()| Index of a character. (Ilya Sher)
|
||||
|call()| call a function with List as arguments
|
||||
|copy()| make a shallow copy of a List or Dictionary
|
||||
|count()| count nr of times a value is in a List or Dictionary
|
||||
|deepcopy()| make a full copy of a List or Dictionary
|
||||
|empty()| check if List or Dictionary is empty
|
||||
|getqflist()| list of quickfix errors (Yegappan Lakshmanan)
|
||||
|extend()| append one List to another or add items from one
|
||||
Dictionary to another
|
||||
|filter()| remove selected items from a List or Dictionary
|
||||
|finddir()| Find a directory in 'path'.
|
||||
|findfile()| Find a file in 'path'. (Johannes Zellner)
|
||||
|foldtextresult()| The text displayed for a closed fold at line "lnum".
|
||||
|function()| make a Funcref out of a function name
|
||||
|get()| get an item from a List or Dictionary
|
||||
|getfontname()| Get actual font name being used.
|
||||
|getfperm()| Get file permission string. (Nikolai Weibull)
|
||||
|getftype()| Get type of file. (Nikolai Weibull)
|
||||
|getline()| With second argument: get List with buffer lines
|
||||
|has_key()| check whether a key appears in a Dictionary
|
||||
|insert()| insert an item somewhere in a List
|
||||
|items()| get List of Dictionary key-value pairs
|
||||
|join()| join List items into a String
|
||||
|keys()| get List of Dictionary keys
|
||||
|len()| number of items in a List or Dictionary
|
||||
|map()| change each List or Dictionary item
|
||||
|matchlist()| list with match and submatches of a pattern in a string
|
||||
|max()| maximum value in a List or Dictionary
|
||||
|min()| minimum value in a List or Dictionary
|
||||
|mkdir()| create a directory
|
||||
|readfile()| read a file into a list of lines
|
||||
|remove()| remove one or more items from a List or Dictionary
|
||||
|repeat()| Repeat "expr" "count" times. (Christophe Poucet)
|
||||
|reverse()| reverse the order of a List
|
||||
|setqflist()| create a quickfix list (Yegappan Lakshmanan)
|
||||
|sort()| sort a List
|
||||
|split()| split a String into a List
|
||||
|string()| String representation of a List or Dictionary
|
||||
|system()| Filters {input} through a shell command.
|
||||
|taglist()| Get list of matching tags. (Yegappan Lakshmanan)
|
||||
|tr()| Translate characters. (Ron Aaron)
|
||||
|values()| get List of Dictionary values
|
||||
|writefile()| write a list of lines into a file
|
||||
|
||||
User defined functions can now be loaded automatically from the "autoload"
|
||||
directory in 'runtimepath'. See |autoload-functions|.
|
||||
|
||||
|
||||
New autocommand events: ~
|
||||
@@ -224,6 +372,8 @@ New autocommand events: ~
|
||||
|InsertLeave| leaving Insert or Replace mode
|
||||
|
||||
|ColorScheme| after loading a color scheme
|
||||
|QuickFixCmdPre| before :make, :grep et al. (Ciaran McCreesh)
|
||||
|QuickFixCmdPost| after :make, :grep et al. (Ciaran McCreesh)
|
||||
|
||||
|
||||
New items in search patterns: ~
|
||||
@@ -238,6 +388,13 @@ New items in search patterns: ~
|
||||
|/\%U| \%U1234abcd search for character with 8 pos. hex number
|
||||
|/\]| [\U1234abcd] idem, in a colletion
|
||||
(The above partly by Ciaran McCreesh)
|
||||
|/[=| [[=a=]] an equivalence class (only for latin1 characters)
|
||||
|/[.| [[.a.]] a collation element (only works with single char)
|
||||
|
||||
Nesting |/multi| items no longer is an error when an empty match is possible.
|
||||
|
||||
It is now possible to use \{0}, it matches the preceding atom zero times. Not
|
||||
useful, just for compatibility.
|
||||
|
||||
|
||||
New Syntax/Indent/FTplugin files: ~
|
||||
@@ -252,6 +409,10 @@ PHP compiler plugin. (Doug Kearns)
|
||||
|
||||
Sive syntax file. (Nikolai Weibull)
|
||||
|
||||
Moved all the indent settings from the filetype plugin to the indent file.
|
||||
Implemented b:undo_indent to undo indent settings when setting 'filetype' to a
|
||||
different value.
|
||||
|
||||
|
||||
New Keymaps: ~
|
||||
|
||||
@@ -262,6 +423,10 @@ New message translations: ~
|
||||
|
||||
The Ukranian messages are now also available in cp1251.
|
||||
|
||||
Irish message translations. (Kevin Patrick Scannell)
|
||||
|
||||
Vietnamese message translations and menu. (Phan Vinh Thinh)
|
||||
|
||||
|
||||
Others: ~
|
||||
|
||||
@@ -272,9 +437,13 @@ Also fixes the problem that setting 'clipboard' to "unnamed" breaks using
|
||||
|
||||
Mac: GUI font selector. (Peter "Rain Dog" Cucka)
|
||||
|
||||
GUI font selector for Motif. (Martin Dalecki)
|
||||
Mac: support for multi-byte characters. (Da Woon Jung)
|
||||
|
||||
Mnemonics for the Motif find/replace dialog. (Martin Dalecki)
|
||||
GUI font selector for Motif. (Marcin Dalecki)
|
||||
|
||||
Nicer toolbar buttons for Motif. (Marcin Dalecki)
|
||||
|
||||
Mnemonics for the Motif find/replace dialog. (Marcin Dalecki)
|
||||
|
||||
Mac: better integration with Xcode. Post a fake mouse-up event after the odoc
|
||||
event and the drag receive handler to work around a stall after Vim loads a
|
||||
@@ -291,6 +460,9 @@ Autocommands can be defined local to a buffer. This means they will also work
|
||||
when the buffer does not have a name or no specific name. See
|
||||
|autocmd-buflocal|. (Yakov Lerner)
|
||||
|
||||
For xterm most combinations of modifiers with function keys are recognized.
|
||||
|xterm-modifier-keys|
|
||||
|
||||
==============================================================================
|
||||
IMPROVEMENTS *improvements-7*
|
||||
|
||||
@@ -298,6 +470,11 @@ IMPROVEMENTS *improvements-7*
|
||||
|
||||
Move the help for printing to a separate help file. It's quite a lot now.
|
||||
|
||||
The pattern matching code was changed from a recursive function to an
|
||||
iterative mechanism. This avoids out-of-stack errors. State is stored in
|
||||
allocated memory, running out of memory can always be detected. Allows
|
||||
matching more complex things, but Vim may seem to hang while doing that.
|
||||
|
||||
":breakadd here" and ":breakdel here" can be used to set or delete a
|
||||
breakpoint at the cursor.
|
||||
|
||||
@@ -377,15 +554,72 @@ with different 'encoding' settings to exchange messages.
|
||||
Internal: Changed ga_room into ga_maxlen, so that it doesn't need to be
|
||||
incremented/decremented each time.
|
||||
|
||||
Included a few improvements for Motif from Martin Dalecki. Draw label
|
||||
Included a few improvements for Motif from Marcin Dalecki. Draw label
|
||||
contents ourselves to make them handle fonts in a way configurable by Vim and
|
||||
a bit less dependent on the X11 font management.
|
||||
|
||||
When a register is empty it is not stored in the viminfo file.
|
||||
|
||||
Removed the tcltags script, it's obsolete.
|
||||
|
||||
":redir @*>" and ":redir @+>" append to the clipboard. Better check for
|
||||
invalid characters after the register name. |:redir|
|
||||
|
||||
":redir => variable" and ":redir =>> variable" write or append to a variable.
|
||||
(Yegappan Lakshmanan) |:redir|
|
||||
|
||||
":let g:" lists global variables.
|
||||
":let b:" lists buffer-local variables.
|
||||
":let w:" lists window-local variables.
|
||||
":let v:" lists Vim variables.
|
||||
|
||||
The stridx() and strridx() functions take a third argument, where to start
|
||||
searching. (Yegappan Lakshmanan)
|
||||
|
||||
g CTRL-G also shows the number of characters if it differs from the number of
|
||||
bytes.
|
||||
|
||||
Completion for ":debug" and entering an expression for the '=' register. Skip
|
||||
":" between range and command name. (Peter winters)
|
||||
|
||||
CTRL-Q in Insert mode now works like CTRL-V by default. Previously it was
|
||||
ignored.
|
||||
|
||||
When "beep" is included in 'debug' a function or script that causes a beep
|
||||
will result in a message with the source of the error.
|
||||
|
||||
When completing buffer names, match with "\(^\|[\/]\)" instead of "^", so that
|
||||
":buf stor<Tab>" finds both "include/storage.h" and "storage/main.c".
|
||||
|
||||
To count items (pattern matches) without changing the buffer the 'n' flag has
|
||||
been added to |:substitute|. See |count-items|.
|
||||
|
||||
The "screen.linux" $TERM name is recognized to set the default for
|
||||
'background' to "dark". (Ciaran McCreesh) Also for "cygwin".
|
||||
|
||||
The |FileChangedShell| autocommand event can now use the |v:fcs_reason|
|
||||
variable that specifies what triggered the event. |v:fcs_choice| can be used
|
||||
to reload the buffer or ask the user what to do.
|
||||
|
||||
Not all modifiers were recognized for xterm function keys. Added the
|
||||
possibility in term codes to end in ";*X" or "O*X", where X is any character
|
||||
and the * stands for the modifier code.
|
||||
Added the <xUp>, <xDown>, <xLeft> and <xRight> keys, to be able to recognize
|
||||
the two forms that xterm can send their codes in and still handle all possible
|
||||
modifiers.
|
||||
|
||||
getwinvar() now also works to obtain a buffer-local option from the specified
|
||||
window.
|
||||
|
||||
Added the "%s" item to 'errorformat'. (Yegappan Lakshmanan)
|
||||
|
||||
==============================================================================
|
||||
COMPILE TIME CHANGES *compile-changes-7*
|
||||
|
||||
Dropped the support for the BeOS and Amiga GUI. They were not maintained and
|
||||
probably didn't work. If you want to work on this: get the Vim 6.x version
|
||||
and merge it back in.
|
||||
|
||||
Mac: "make" now creates the Vim.app directory and "make install" copies it to
|
||||
its final destination. (Raf)
|
||||
|
||||
@@ -393,6 +627,9 @@ Mac: Made it possible to compile with Motif, Athena or GTK without tricks and
|
||||
still being able to use the MacRoman conversion. Added the os_mac_conv.c
|
||||
file.
|
||||
|
||||
When running the tests and one of them fails to produce "test.out" the
|
||||
following tests are still executed. This helps when running out of memory.
|
||||
|
||||
==============================================================================
|
||||
BUG FIXES *bug-fixes-7*
|
||||
|
||||
@@ -461,6 +698,9 @@ When 'comments' includes multi-byte characters inserting the middle part and
|
||||
alignment may go wrong. 'cindent' also suffers from this for right-aligned
|
||||
items.
|
||||
|
||||
Win32: when 'encoding' is set to "utf-8" getenv() still returns strings in the
|
||||
active codepage. Convert to utf-8. Also for $HOME.
|
||||
|
||||
The default for 'helplang' was "zh" for both "zh_cn" and "zh_tw". Now use
|
||||
"cn" or "tw" as intended.
|
||||
|
||||
@@ -627,10 +867,10 @@ fold.
|
||||
In Visual mode, when 'bin' and 'eol' set, g CTRL-G counted the last line
|
||||
break, resulting in "selected 202 of 201 bytes".
|
||||
|
||||
Motif: fonts were not used for dialog components. (Martin Dalecki)
|
||||
Motif: fonts were not used for dialog components. (Marcin Dalecki)
|
||||
|
||||
Motif: After using a toolbar button the keyboard focus would be on the toolbar
|
||||
(Lesstif problem). (Martin Dalecki)
|
||||
(Lesstif problem). (Marcin Dalecki)
|
||||
|
||||
When using "y<C-V>`x" where mark x is in the first column, the last line was
|
||||
not included.
|
||||
@@ -641,4 +881,149 @@ Use a Vim command to fix all fileformats to dos before executing the tests.
|
||||
When using ":new" and the file fits in the window, lines could still be above
|
||||
the window. Now remove empty lines instead of keeping the relative position.
|
||||
|
||||
Cmdline completion didn't work after ":let var1 var<Tab>".
|
||||
|
||||
When using ":startinsert" or ":startreplace" when already in Insert mode
|
||||
(possible when using CTRL-R =), pressing Esc would directly restart Insert
|
||||
mode. (Peter Winters)
|
||||
|
||||
"2daw" didn't work at end of file if the last word is a single character.
|
||||
|
||||
Completion for ":next a'<Tab>" put a backslash before single quote, but it was
|
||||
not removed when editing a file. Now halve backslashes in save_patterns().
|
||||
Also fix expanding a file name with the shell that contains "\'".
|
||||
|
||||
When doing "1,6d|put" only "fewer lines" was reported. Now a following "more
|
||||
lines" overwrites the message.
|
||||
|
||||
Configure could not handle "-Dfoo=long\ long" in the TCL config output.
|
||||
|
||||
When searching backwards, using a pattern that matches a newline and uses \zs
|
||||
after that, didn't find a match. Could also get a hang or end up in the right
|
||||
column in the wrong line.
|
||||
|
||||
When $LANG is "sl" for slovenian, the slovak menu was used, since "slovak"
|
||||
starts with "sl".
|
||||
|
||||
When 'paste' is set in the GUI the Paste toolbar button doesn't work. Clear
|
||||
'paste' when starting the GUI.
|
||||
|
||||
A message about a wrong viminfo line included the trailing NL.
|
||||
|
||||
When 'paste' is set in the GUI the toolbar button doesn't work in Insert mode.
|
||||
Use ":exe" in menu.vim to avoid duplicating the commands, instead of using a
|
||||
mapping.
|
||||
|
||||
Treat "mlterm" as an xterm-like terminal. (Seiichi Sato)
|
||||
|
||||
":z.4" and ":z=4" didn't work Vi compatible.
|
||||
|
||||
When sourcing a file, editing it and sourcing it again, it could appear twice
|
||||
in ":scriptnames" and get a new <SID>, because the inode has changed.
|
||||
|
||||
When $SHELL is set but empty the 'shell' option would be empty. Don't use an
|
||||
empty $SHELL value.
|
||||
|
||||
A command "w! file" in .vimrc or $EXINIT didn't work. Now it writes an empty
|
||||
file.
|
||||
|
||||
When a CTRL-F command at the end of the file failed, the cursor was still
|
||||
moved to the start of the line. Now it remains where it is.
|
||||
|
||||
When using ":s" or "&" to repeat the last substitute and "$" was used to put
|
||||
the cursor in the last column, put the cursor in the last column again. This
|
||||
is Vi compatible.
|
||||
|
||||
Vim is not fully POSIX compliant but sticks with traditional Vi behavior.
|
||||
Added a few flags in 'cpoptions' to behave the POSIX way when wanted. The
|
||||
$VIM_POSIX environment variable is checked to set the default.
|
||||
|
||||
Appending to a register didn't insert a line break like Vi. Added the '>'
|
||||
flag to 'cpoptions' for this.
|
||||
|
||||
Using "I" in a line with only blanks appended to the line. This is not Vi
|
||||
compatible. Added the 'H' flag in 'coptions' for this.
|
||||
|
||||
When joining multiple lines the cursor would be at the last joint, but Vi
|
||||
leaves it at the position where "J" would put it. Added the 'q' flag in
|
||||
'cpoptions' for this.
|
||||
|
||||
Autoindent didn't work for ":insert" and ":append".
|
||||
|
||||
Using ":append" in an empty buffer kept the dummy line. Now it's deleted to
|
||||
be Vi compatible.
|
||||
|
||||
When reading commands from a file and stdout goes to a terminal, would still
|
||||
request the xterm version. Vim can't read it, thus the output went to the
|
||||
shell and caused trouble there.
|
||||
|
||||
When redirecting to a register with an invalid name the redirection would
|
||||
still be done (after an error message). Now reset "redir_reg". (Yegappan
|
||||
Lakshmanan)
|
||||
|
||||
It was not possible to use a NL after a backslash in Ex mode. This is
|
||||
sometimes used to feed multiple lines to a shell command.
|
||||
|
||||
When 'cmdheight' is set to 2 in .vimrc and the GUI uses the number of lines
|
||||
from the terminal we actually get 3 lines for the cmdline in gvim.
|
||||
|
||||
When setting $HOME allocated memory would leak.
|
||||
|
||||
Win32: bold characters may sometimes write in another character cell. Use
|
||||
unicodepdy[] as for UTF-8. (Taro Muraoka)
|
||||
|
||||
":w fname" didn't work for files with 'buftype' set to "nofile".
|
||||
|
||||
The method used to locate user commands for completion differed from when they
|
||||
are executed. Abiguous command names were not completed properly.
|
||||
|
||||
Incremental search may cause a crash when there is a custom statusline that
|
||||
indirectly invokes ":normal".
|
||||
|
||||
Diff mode failed when $DIFF_OPTIONS was set in the environment. Unset it
|
||||
before invoking "diff".
|
||||
|
||||
Completion didn't work after ":argdo", ":windo" and ":bufdo". Also for ":set
|
||||
&l:opt" and ":set &g:opt". (Peter Winters)
|
||||
|
||||
When setting 'ttymouse' to "dec" in an xterm that supports the DEC mouse
|
||||
locator it doesn't work. Now switch off the mouse before selecting another
|
||||
mouse model.
|
||||
|
||||
When the CursorHold event is triggered and the commands peek for typed
|
||||
characters the typeahead buffer may be messed up, e.g., when a mouse-up event
|
||||
is received. Avoid invoking the autocommands from the function waiting for a
|
||||
character, let it put K_CURSORHOLD in the input buffer.
|
||||
|
||||
Removed the "COUNT" flag from ":argadd", to avoid ":argadd 1*" to be used like
|
||||
":1argadd *". Same for ":argdelete" and ":argedit".
|
||||
|
||||
Avoid that $LANG is used for the menus when LC_MESSAGES is "en_US".
|
||||
|
||||
Added backslashes before dashes in the vim.1 manual page to make the appear as
|
||||
real dashes. (Pierr Habouzit)
|
||||
|
||||
Where "gq" left the cursor depended on the value of 'formatprg'. Now "gq"
|
||||
always leaves the cursor at the last line of the formatted text.
|
||||
|
||||
When editing a compressed file, such as "changelog.Debian.gz" file, filetype
|
||||
detection may try to check the contents of the file while it's still
|
||||
compressed. Skip setting 'filetype' for compressed files until they have been
|
||||
decompressed. Required for patterns that end in a "*".
|
||||
|
||||
Starting with an argument "+cmd" or "-S script" causes the cursor the be moved
|
||||
to the first line. That breaks a BufReadPost autocommand that uses g`".
|
||||
Don't move the cursor if it's somewhere past the first line.
|
||||
|
||||
"gg=G" while 'modifiable' is off was uninterruptable.
|
||||
|
||||
When 'encoding' is "sjis" inserting CTRL-V u d800 a few times causes a crash.
|
||||
Don't insert a DBCS character with a NUL second byte.
|
||||
|
||||
In Insert mode CTRL-O <Home> didn't move the cursor. Made "ins_at_eol" global
|
||||
and reset it in nv_home().
|
||||
|
||||
Wildcard expansion failed: ":w /tmp/$$.`echo test`". Don't put quotes around
|
||||
spaces inside backticks.
|
||||
|
||||
vim:tw=78:ts=8:ft=help:norl:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*vi_diff.txt* For Vim version 7.0aa. Last change: 2004 Jun 08
|
||||
*vi_diff.txt* For Vim version 7.0aa. Last change: 2005 Feb 21
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -14,19 +14,31 @@ Vim is mostly POSIX 1003.2-1 compliant. The only command known to be missing
|
||||
is ":open". There are probably a lot of small differences (either because Vim
|
||||
is missing something or because Posix is beside the mark).
|
||||
|
||||
1. Missing commands |missing-commands|
|
||||
1. Simulated command |simulated-command|
|
||||
2. Missing options |missing-options|
|
||||
3. Limits |limits|
|
||||
4. The most interesting additions |vim-additions|
|
||||
5. Other vim features |other-features|
|
||||
6. Command-line arguments |cmdline-arguments|
|
||||
7. POSIX compliance |posix-compliance|
|
||||
|
||||
==============================================================================
|
||||
1. Missing commands *missing-commands*
|
||||
1. Simulated command *simulated-command*
|
||||
|
||||
This command is in Vi, but not in Vim:
|
||||
This command is in Vi, but Vim only simuates it:
|
||||
|
||||
:o[pen] {Vi: start editing in open mode} *:o* *:op* *:open*
|
||||
*:o* *:op* *:open*
|
||||
:[range]o[pen] Works like |:visual|: end Ex mode.
|
||||
{Vi: start editing in open mode}
|
||||
|
||||
:[range]o[pen] /pattern/ As above, additionally move the cursor to the
|
||||
column where "pattern" matches in the cursor
|
||||
line.
|
||||
|
||||
Vim does not support open mode, since it's not really useful. For those
|
||||
situations where ":open" would start open mode Vim will leave Ex mode, which
|
||||
allows executing the same commands, but updates the whole screen instead of
|
||||
only one line.
|
||||
|
||||
==============================================================================
|
||||
2. Missing options *missing-options*
|
||||
@@ -45,11 +57,9 @@ mesg boolean (default on) *'mesg'*
|
||||
novice boolean (default off) *'novice'*
|
||||
open boolean (default on) *'open'*
|
||||
optimize (op) boolean (default off) *'optimize'* *'op'*
|
||||
prompt boolean (default on) *'prompt'*
|
||||
redraw boolean (default off) *'redraw'*
|
||||
slowopen (slow) boolean (default off) *'slowopen'* *'slow'*
|
||||
sourceany boolean (default off) *'sourceany'*
|
||||
window (wi) number (default 23) *'window'* *'wi'*
|
||||
w300 number (default 23) *'w300'*
|
||||
w1200 number (default 23) *'w1200'*
|
||||
w9600 number (default 23) *'w9600'*
|
||||
@@ -881,4 +891,57 @@ Only Vim is able to accept options in between and after the file names.
|
||||
|
||||
@{cmdfile} Vile: use {cmdfile} as startup file.
|
||||
|
||||
==============================================================================
|
||||
7. POSIX compliance *posix* *posix-compliance*
|
||||
|
||||
In 2005 the POSIX test suite was run to check the compatiblity of Vim. Most
|
||||
of the test was executed properly. There are the few things where Vim
|
||||
is not POSIX compliant, even when run in Vi compatibility mode.
|
||||
|
||||
Set the $VIM_POSIX environment variable to have 'cpoptions' include the POSIX
|
||||
flags when Vim starts up. This makes Vim run as POSIX as it can. That's
|
||||
a bit different from being Vi compatible.
|
||||
|
||||
This is where Vim does not behave as POSIX specifies and why:
|
||||
|
||||
*posix-screen-size*
|
||||
The $COLUMNS and $LINES environment variables are ignored by Vim if
|
||||
the size can be obtained from the terminal in a more reliable way.
|
||||
Add the '|' flag to 'cpoptions' to have $COLUMNS and $LINES overrule
|
||||
sizes obtained in another way.
|
||||
|
||||
The "{" and "}" commands don't stop at a "{" in the original Vi, but
|
||||
POSIX specifies it does. Add the '{' flag to 'cpoptions' if you want
|
||||
it the POSIX way.
|
||||
|
||||
The "D", "o" and "O" commands accept a count. Also when repeated.
|
||||
Add the '#' flag to 'cpoptions' if you want to ignore the count.
|
||||
|
||||
The ":cd" command fails if the current buffer is modified when the '.'
|
||||
flag is present in 'cpoptions'.
|
||||
|
||||
There is no ATTENTION message, the "A" flag is added to 'shortmess'.
|
||||
|
||||
These are remarks about running the POSIX test suite:
|
||||
- vi test 33 sometimes fails for unknown reasons
|
||||
- vi test 250 fails; behavior will be changed in a new revision
|
||||
http://www.opengroup.org/austin/mailarchives/ag-review/msg01710.html
|
||||
- vi test 310 fails; exit code non-zero when any error occurred?
|
||||
- ex test 24 fails because test is wrong. Changed between SUSv2 and SUSv3.
|
||||
- ex tests 47, 48, 49, 72, 73 fail because .exrc file isn't read in silent
|
||||
mode and $EXINIT isn't used.
|
||||
- ex tests 76, 78 fail because echo is used instead of printf. (fixed)
|
||||
Also: problem with \s not changed to space.
|
||||
- ex test 355 fails because 'window' isn't used for "30z".
|
||||
- ex test 368 fails because shell command isn't echoed in silent mode.
|
||||
- ex test 394 fails because "=" command output isn't visible in silent mode.
|
||||
- ex test 411 fails because test file is wrong, contains stray ':'.
|
||||
- ex test 475 and 476 fail because reprint output isn't visible in silent mode.
|
||||
- ex test 480 and 481 fail because the tags file has spaces instead of a tab.
|
||||
- ex test 502 fails because .exrc isn't read in silent mode.
|
||||
- ex test 509 fails because .exrc isn't read in silent mode. and exit code is
|
||||
1 instead of 2.
|
||||
- ex test 534 fails because .exrc isn't read in silent mode.
|
||||
|
||||
|
||||
vim:tw=78:ts=8:ft=help:norl:
|
||||
|
||||
@@ -7,7 +7,7 @@ vim \- VI Migliorato, un editor di testi per programmatori
|
||||
[opzioni] [file ..]
|
||||
.br
|
||||
.B vim
|
||||
[opzioni] -
|
||||
[opzioni] \-
|
||||
.br
|
||||
.B vim
|
||||
[opzioni] \-t tag
|
||||
@@ -69,15 +69,15 @@ Una lista di nomi di file.
|
||||
Il primo di questi sar<61> il file corrente, e verr<72> letto nel buffer.
|
||||
Il cursore sar<61> posizionato sulla prima linea del buffer.
|
||||
Potete arrivare agli altri file col comando ":next".
|
||||
Per editare un file il cui nome inizia per "-" premettete "--" alla
|
||||
Per editare un file il cui nome inizia per "\-" premettete "\-\-" alla
|
||||
lista_file.
|
||||
.TP
|
||||
-
|
||||
\-
|
||||
Il file da editare <20> letto dallo "stdin" [di solito, ma non
|
||||
necessriamente, il terminale - NdT]. I comandi sono letti da "stderr",
|
||||
necessriamente, il terminale \- NdT]. I comandi sono letti da "stderr",
|
||||
che dovrebbe essere un terminale [tty].
|
||||
.TP
|
||||
-t {tag}
|
||||
\-t {tag}
|
||||
Il file da editare e la posizione iniziale del cursore dipendono da "tag",
|
||||
una specie di "etichetta" a cui saltare.
|
||||
{tag} viene cercata nel file tags, ed il file ad essa associato diventa
|
||||
@@ -88,7 +88,7 @@ L'effetto
|
||||
e il cursore <20> posizionato all'inizio della funzione.
|
||||
Vedere ":help tag-commands".
|
||||
.TP
|
||||
-q [file_errori]
|
||||
\-q [file_errori]
|
||||
Inizia nella modalit<69> quickFix [correzione veloce].
|
||||
Il file [file_errori] <20> letto e il primo errore <20> visualizzato.
|
||||
Se [file_errori] non <20> indicato, il suo nome <20> ottenuto dal valore
|
||||
@@ -107,31 +107,31 @@ Modalit
|
||||
ex
|
||||
Inizia in modalit<69> "Ex".
|
||||
Si pu<70> passare in modalit<69> "Normal" col comandi ":vi".
|
||||
Si pu<70> invocare la modalit<69> "Ex" anche con l'argomento "-e".
|
||||
Si pu<70> invocare la modalit<69> "Ex" anche con l'argomento "\-e".
|
||||
.TP
|
||||
view
|
||||
Inizia in modalit<69> "Sola Lettura". Non potete modificare i file.
|
||||
Si pu<70> invocare la modalit<69> "Sola Lettura" anche con l'argomento "-R".
|
||||
Si pu<70> invocare la modalit<69> "Sola Lettura" anche con l'argomento "\-R".
|
||||
.TP
|
||||
gvim gview
|
||||
La versione GUI [Graphical User Interface].
|
||||
Apre una nuova finestra.
|
||||
Si pu<70> invocare la modalit<69> "GUI" anche con l'argomento "-g".
|
||||
Si pu<70> invocare la modalit<69> "GUI" anche con l'argomento "\-g".
|
||||
.TP
|
||||
evim eview
|
||||
La versione GUI in modalit<69> "Facile" (semplificata).
|
||||
Apre una nuova finestra.
|
||||
Si pu<70> invocare la modalit<69> "Facile" anche con l'argomento "-y".
|
||||
Si pu<70> invocare la modalit<69> "Facile" anche con l'argomento "\-y".
|
||||
.TP
|
||||
rvim rview rgvim rgview
|
||||
Come sopra, ma con restrizioni ai comandi. Non si potrnno eseguire comandi
|
||||
dello shell o sospendere
|
||||
.B Vim.
|
||||
Si pu<70> invocare la modalit<69> "Ristretta" anche con l'argomento "-Z".
|
||||
Si pu<70> invocare la modalit<69> "Ristretta" anche con l'argomento "\-Z".
|
||||
.SH OPZIONI
|
||||
Le opzioni possono essere in un ordine qualsiasi, prima o dopo i nomi di
|
||||
file. Opzioni che non necessitano un argomento possono essere raggruppate
|
||||
dietro a un solo "-".
|
||||
dietro a un solo "\-".
|
||||
.TP 12
|
||||
+[numero]
|
||||
Per il primo file il cursore sar<61> posizionato sulla linea "numero".
|
||||
@@ -144,7 +144,7 @@ Vedere ":help search-pattern" per come specificare l'espressione.
|
||||
.TP
|
||||
+{comando}
|
||||
.TP
|
||||
-c {comando}
|
||||
\-c {comando}
|
||||
{comando} sar<61> eseguito dopo che il
|
||||
primo file <20> stato letto.
|
||||
{comando} <20> interpretato come un comando Ex.
|
||||
@@ -152,22 +152,22 @@ Se il {comando} contiene spazi deve essere incluso fra doppi apici
|
||||
(o altro delimitatore, a seconda dello shell che si sta usando).
|
||||
Esempio: Vim "+set si" main.c
|
||||
.br
|
||||
Note: Si possono avere fino a 10 comandi "+" o "-c".
|
||||
Note: Si possono avere fino a 10 comandi "+" o "\-c".
|
||||
.TP
|
||||
-S {file}
|
||||
\-S {file}
|
||||
I comandi contenuti in {file} sono eseguiti dopo la lettura del primo file.
|
||||
Equivalente a -c "source {file}".
|
||||
{file} non pu<70> avere un nome che inizia per '-'.
|
||||
Se {file} <20> omesso si usa "Session.vim" (funziona solo se -S <20> l'ultimo
|
||||
Equivalente a \-c "source {file}".
|
||||
{file} non pu<70> avere un nome che inizia per '\-'.
|
||||
Se {file} <20> omesso si usa "Session.vim" (funziona solo se \-S <20> l'ultimo
|
||||
argomento specificato).
|
||||
.TP
|
||||
--cmd {comando}
|
||||
Come "-c", ma il comando <20> eseguito PRIMA
|
||||
\-\-cmd {comando}
|
||||
Come "\-c", ma il comando <20> eseguito PRIMA
|
||||
di eseguire qualsiasi file vimrc.
|
||||
Si possono usare fino a 10 di questi comandi, indipendentemente dai comandi
|
||||
"-c".
|
||||
"\-c".
|
||||
.TP
|
||||
-A
|
||||
\-A
|
||||
Se
|
||||
.B Vim
|
||||
<EFBFBD> stato compilato con supporto ARABIC per editare file con orientamento
|
||||
@@ -178,46 +178,46 @@ Altrimenti viene dato un messaggio di errore e
|
||||
.B Vim
|
||||
termina in modo anormale.
|
||||
.TP
|
||||
-b
|
||||
\-b
|
||||
Modalit<EFBFBD> "Binaria".
|
||||
Vengono impostate alcune opzioni che permettono di modificare un file
|
||||
binario o un programma eseguibile.
|
||||
.TP
|
||||
-C
|
||||
\-C
|
||||
Compatibile. Imposta l'opzione 'compatible'.
|
||||
In questo modo
|
||||
.B Vim
|
||||
ha quasi lo stesso comportamento di Vi, anche in presenza di un file
|
||||
di configurazione .vimrc [proprio di Vim - NdT].
|
||||
di configurazione .vimrc [proprio di Vim \- NdT].
|
||||
.TP
|
||||
-d
|
||||
\-d
|
||||
Inizia in modalit<69> "Diff" [differenze].
|
||||
Dovrebbero esserci come argomenti due o tre nomi di file.
|
||||
.B Vim
|
||||
aprir<EFBFBD> tutti i file evidenziando le differenze fra gli stessi.
|
||||
Funziona come vimdiff(1).
|
||||
.TP
|
||||
-d {dispositivo}
|
||||
\-d {dispositivo}
|
||||
Apre {dispositivo} per usarlo come terminale.
|
||||
Solo per l'Amiga.
|
||||
Esempio:
|
||||
"\-d con:20/30/600/150".
|
||||
.TP
|
||||
-D
|
||||
\-D
|
||||
Debugging. Vim si mette in modalit<69> "debugging" a partire
|
||||
dall'esecuzione del primo comando da uno script.
|
||||
.TP
|
||||
-e
|
||||
\-e
|
||||
Eseguire
|
||||
.B Vim
|
||||
in modalit<69> "Ex", come se il programma eseguito sia "ex".
|
||||
.TP
|
||||
-E
|
||||
\-E
|
||||
Eseguire
|
||||
.B Vim
|
||||
in modalit<69> "Ex" migliorata, come se il programma eseguito sia "exim".
|
||||
.TP
|
||||
-f
|
||||
\-f
|
||||
Direttamente [Foreground]. Per la versione GUI,
|
||||
.B Vim
|
||||
non crea [fork] una nuova finestra, indipendente dallo shell di invocazione.
|
||||
@@ -230,12 +230,12 @@ Opzione da usare quando
|
||||
sessione di edit (ad es. mail).
|
||||
Sull'Amiga i comandi ":sh" e ":!" non sono disponibili.
|
||||
.TP
|
||||
--nofork
|
||||
\-\-nofork
|
||||
Direttamente [Foreground]. Per la versione GUI,
|
||||
.B Vim
|
||||
non crea [fork] una nuova finestra, indipendente dallo shell di invocazione.
|
||||
.TP
|
||||
-F
|
||||
\-F
|
||||
Se
|
||||
.B Vim
|
||||
<EFBFBD> stato compilato con supporto FKMAP per editare file con orientamento
|
||||
@@ -246,7 +246,7 @@ Altrimenti viene dato un messaggio di errore e
|
||||
.B Vim
|
||||
termina in modo anormale.
|
||||
.TP
|
||||
-g
|
||||
\-g
|
||||
Se
|
||||
.B Vim
|
||||
<EFBFBD> stato compilato con supporto GUI, questa opzione chiede di usarla.
|
||||
@@ -254,13 +254,13 @@ Se Vim
|
||||
.B Vim
|
||||
termina in modo anormale.
|
||||
.TP
|
||||
-h
|
||||
\-h
|
||||
Un po' di aiuto su opzioni e argomenti che si possono dare invocando Vim.
|
||||
Subito dopo
|
||||
.B Vim
|
||||
esce.
|
||||
.TP
|
||||
-H
|
||||
\-H
|
||||
Se
|
||||
.B Vim
|
||||
<EFBFBD> stato compilato col supporto RIGHTLEFT per editare file con orientamento
|
||||
@@ -271,86 +271,86 @@ Altrimenti viene dato un messaggio di errore e
|
||||
.B Vim
|
||||
termina in modo anormale.
|
||||
.TP
|
||||
-i {viminfo}
|
||||
\-i {viminfo}
|
||||
Se <20> abilitato l'uso di un file viminfo, questa opzione indica il nome
|
||||
del file da usare invece di quello predefinito "~/.viminfo".
|
||||
Si pu<70> anche evitare l'uso di un file .viminfo, dando come nome "NONE".
|
||||
.TP
|
||||
-L
|
||||
Equivalente a -r.
|
||||
\-L
|
||||
Equivalente a \-r.
|
||||
.TP
|
||||
-l
|
||||
\-l
|
||||
Modalit<EFBFBD> Lisp.
|
||||
Imposta le opzini 'lisp' e 'showmatch'.
|
||||
.TP
|
||||
-m
|
||||
\-m
|
||||
Inibisce modifica file.
|
||||
Annulla l'opzione 'write'.
|
||||
E' ancora possibile modificare un buffer [in memoria - Ndt], ma non scriverlo.
|
||||
E' ancora possibile modificare un buffer [in memoria \- Ndt], ma non scriverlo.
|
||||
.TP
|
||||
-M
|
||||
\-M
|
||||
Modifiche non permesse. Le opzioni 'modifiable' e 'write' sono annullate,
|
||||
in modo da impedire sia modifiche che riscritture. Da notare che queste
|
||||
opzioni possono essere abilitate in seguito, permettendo cos<6F> modifiche.
|
||||
.TP
|
||||
-N
|
||||
\-N
|
||||
Modalit<EFBFBD> "Non-compatibile". Annulla l'opzione 'compatible'.
|
||||
Cos<EFBFBD>
|
||||
.B Vim
|
||||
va un po' meglio, ma <20> meno compatibile con Vi, anche in assenza di un
|
||||
file .vimrc.
|
||||
.TP
|
||||
-n
|
||||
\-n
|
||||
Inibisce l'uso di un file di swap.
|
||||
Il recupero dopo una caduta di macchina diventa impossibile.
|
||||
Utile per editare un file su un supporto molto lento (ad es. floppy).
|
||||
Il comando ":set uc=0" ha lo stesso effetto.
|
||||
Per abilitare il recupero usare ":set uc=200".
|
||||
.TP
|
||||
-nb
|
||||
\-nb
|
||||
Diviene un Editor server per NetBeans. Vedere la documentazione per dettagli.
|
||||
.TP
|
||||
-o[N]
|
||||
\-o[N]
|
||||
Apri N finestre in orizzontale.
|
||||
Se N manca, apri una finestra per ciascun file.
|
||||
.TP
|
||||
-O[N]
|
||||
\-O[N]
|
||||
Apri N finestre, in verticale.
|
||||
Se N manca, apri una finestra per ciascun file.
|
||||
.TP
|
||||
-R
|
||||
\-R
|
||||
Modalit<EFBFBD> "Sola Lettura".
|
||||
Imposta l'opzione 'readonly'.
|
||||
Si pu<70> ancora modificare il buffer, ma siete protetti da una riscrittura
|
||||
involontaria.
|
||||
Se volete davvero riscrivere il file, aggiungete un punto esclamativo
|
||||
al comando "Ex", come in ":w!".
|
||||
L'opzione -R implica anche l'opzione -n (vedere sotto).
|
||||
L'opzione \-R implica anche l'opzione \-n (vedere sotto).
|
||||
L'opzione 'readonly' pu<70> essere annullata con ":set noro".
|
||||
Vedere ":help 'readonly'".
|
||||
.TP
|
||||
-r
|
||||
\-r
|
||||
Lista file di swap, assieme a dati utili per un recupero.
|
||||
.TP
|
||||
-r {file}
|
||||
\-r {file}
|
||||
Modalit<EFBFBD> "Recovery".
|
||||
Il file di swap <20> usato per recuperare una sessione di edit finita male.
|
||||
Il file di swap <20> un file con lo stesso nome file del file di testo
|
||||
editato, col suffisso ".swp".
|
||||
Vedere ":help recovery".
|
||||
.TP
|
||||
-s
|
||||
\-s
|
||||
Modalit<EFBFBD> silenziosa. Solo quando invocato come "Ex" o quando l'opzione
|
||||
"-e" <20> stata data prima dell'opzione "-s".
|
||||
"\-e" <20> stata data prima dell'opzione "\-s".
|
||||
.TP
|
||||
-s {scriptin}
|
||||
\-s {scriptin}
|
||||
Lo script file {scriptin} <20> letto.
|
||||
I caratteri nel file sono interpretati come se immessi da voi.
|
||||
Lo stesso si pu<70> ottenere col comando ":source! {scriptin}".
|
||||
Se la fine del file di input viene raggiunta prima che Vim termini,
|
||||
l'ulteriore input viene preso dalla tastiera.
|
||||
.TP
|
||||
-T {terminale}
|
||||
\-T {terminale}
|
||||
Dice a
|
||||
.B Vim
|
||||
quale tipo di terminale state usando.
|
||||
@@ -359,7 +359,7 @@ Dovrebbe essere un terminale noto a
|
||||
.B Vim
|
||||
(internamente) o definito nel file termcap o terminfo.
|
||||
.TP
|
||||
-u {vimrc}
|
||||
\-u {vimrc}
|
||||
Usa i comandi nel file {vimrc} per inizializzazioni.
|
||||
Tutte le altre inizializzazioni non sono eseguite.
|
||||
Usate questa opzione per editare qualche file di tipo speciale.
|
||||
@@ -367,45 +367,45 @@ Pu
|
||||
come nome "NONE".
|
||||
Vedere ":help initialization" da vim per ulteriori dettagli.
|
||||
.TP
|
||||
-U {gvimrc}
|
||||
\-U {gvimrc}
|
||||
Usa i comandi nel file {gvimrc} per inizializzazioni GUI.
|
||||
Tutte le altre inizializzazioni GUI non sono eseguite.
|
||||
Pu<EFBFBD> anche essere usata per non fare alcuna inizializzazione GUI dando
|
||||
come nome "NONE".
|
||||
Vedere ":help gui-init" da vim per ulteriori dettagli.
|
||||
.TP
|
||||
-V[N]
|
||||
\-V[N]
|
||||
Verboso. Vim manda messaggi relativi agli script file che esegue
|
||||
e quando legge o scrive un file viminfo. Il numero opzionale N <20> il valore
|
||||
dell'opzione 'verbose'.
|
||||
Il valore predefinito <20> 10.
|
||||
.TP
|
||||
-v
|
||||
\-v
|
||||
Inizia
|
||||
.B Vim
|
||||
in modalit<69> "Vi", come se il programma eseguibile fosse "vi". Questo ha
|
||||
effetto solo quando Vim viene invocato con il nome "ex".
|
||||
.TP
|
||||
-w {scriptout}
|
||||
\-w {scriptout}
|
||||
Ogni carattere immesso viene registrato nel file {scriptout},
|
||||
finch<EFBFBD> non uscite da
|
||||
.B Vim.
|
||||
Utile se si vuole creare uno script file da usare con "vim -s" o
|
||||
Utile se si vuole creare uno script file da usare con "vim \-s" o
|
||||
":source!".
|
||||
Se il file {scriptout} esiste, quel che immettete viene aggiunto in fondo.
|
||||
.TP
|
||||
-W {scriptout}
|
||||
Come -w, ma uno script file esistente viene sovrascritto.
|
||||
\-W {scriptout}
|
||||
Come \-w, ma uno script file esistente viene sovrascritto.
|
||||
.TP
|
||||
-x
|
||||
\-x
|
||||
Uso di cifratura nella scrittura dei file. E' necessario immettere
|
||||
una chiave di cifratura.
|
||||
.TP
|
||||
-X
|
||||
\-X
|
||||
Non connetterti al server X. Vim parte pi<70> rapidamente,
|
||||
ma il titolo della finestra e la clipboard non sono disponibili.
|
||||
.TP
|
||||
-y
|
||||
\-y
|
||||
Eseguire
|
||||
.B Vim
|
||||
in modalit<69> "Facile" (semplificata), come se l'eseguibile invocato
|
||||
@@ -414,62 +414,62 @@ Fa s
|
||||
.B Vim
|
||||
si comporti come un editor che usa solo il mouse e i caratteri.
|
||||
.TP
|
||||
-Z
|
||||
\-Z
|
||||
Modalit<EFBFBD> "Ristretta". Vim si comporta come se invocato con un nome
|
||||
che inizia per "r".
|
||||
.TP
|
||||
--
|
||||
\-\-
|
||||
Specifica la fine delle opzioni.
|
||||
Argomenti specificati dopo questo sono considerati nomi file.
|
||||
Si pu<70> usare per editare un file il cui nome inizi per '-'.
|
||||
.TP
|
||||
--echo-wid
|
||||
\-\-echo\-wid
|
||||
Solo con GUI GTK: Visualizza Window ID su "stdout".
|
||||
.TP
|
||||
--help
|
||||
\-\-help
|
||||
Vim d<> un messaggio ed esce, come con l'argomento "-h".
|
||||
.TP
|
||||
--literal
|
||||
\-\-literal
|
||||
Considera i nomi passati come argomenti letterai, senza espandere
|
||||
metacaratteri. Non necessario in Unix, lo shell espande i metacaratteri.
|
||||
.TP
|
||||
--noplugin
|
||||
Non caricare plugin. Implicito se si specifica -u NONE.
|
||||
\-\-noplugin
|
||||
Non caricare plugin. Implicito se si specifica \-u NONE.
|
||||
.TP
|
||||
--remote
|
||||
\-\-remote
|
||||
Connettersi a un server Vim e chiedere di editare i file elencati come altri
|
||||
argomenti. Se non si trova un server viene dato un messaggio e i file sono
|
||||
editati nel Vim corrente.
|
||||
.TP
|
||||
--remote-expr {expr}
|
||||
\-\-remote\-expr {expr}
|
||||
Connettersi a un server Vim, valutare ivi {expr} e stampare il risultatoi
|
||||
su "stdout".
|
||||
.TP
|
||||
--remote-send {chiavi}
|
||||
\-\-remote\-send {chiavi}
|
||||
Connettersi a un server Vim e spedirgli {chiavi}.
|
||||
.TP
|
||||
--remote-silent
|
||||
Come --remote, ma senza avvisare se non si trova un server.
|
||||
\-\-remote\-silent
|
||||
Come \-\-remote, ma senza avvisare se non si trova un server.
|
||||
.TP
|
||||
--remote-wait
|
||||
Come --remote, ma Vim non termina finch<63> i file non sono stati editati.
|
||||
\-\-remote-wait
|
||||
Come \-\-remote, ma Vim non termina finch<63> i file non sono stati editati.
|
||||
.TP
|
||||
--remote-wait-silent
|
||||
Come --remote-wait, ma senza avvisare se non si trova un server.
|
||||
\-\-remote\-wait\-silent
|
||||
Come \-\-remote\-wait, ma senza avvisare se non si trova un server.
|
||||
.TP
|
||||
--serverlist
|
||||
\-\-serverlist
|
||||
Lista i nomi di tutti i server Vim disponibili.
|
||||
.TP
|
||||
--servername {nome}
|
||||
\-\-servername {nome}
|
||||
Usa {nome} come nome server. Usato per il Vim corrente, a meno che sia
|
||||
usato con l'argomento --remote, nel qual caso indica il server a cui
|
||||
usato con l'argomento \-\-remote, nel qual caso indica il server a cui
|
||||
connettersi.
|
||||
.TP
|
||||
--socketid {id}
|
||||
\-\-socketid {id}
|
||||
Solo con GUI GTK: Usa il meccanismo GtkPlug per eseguire gvim in un'altra
|
||||
finestra.
|
||||
.TP
|
||||
--version
|
||||
\-\-version
|
||||
Stampa la versione di Vim ed esci.
|
||||
.SH AIUTO ONLINE
|
||||
Battere ":help" in
|
||||
@@ -477,8 +477,8 @@ Battere ":help" in
|
||||
per iniziare.
|
||||
Battere ":help argomento" per ricevere aiuto su uno specifico argomento.
|
||||
Per esempio: ":help ZZ" per ricevere aiuto sul comando "ZZ".
|
||||
Usare <Tab> e CTRL-D per completare gli argomenti
|
||||
(":help cmdline-completion").
|
||||
Usare <Tab> e CTRL\-D per completare gli argomenti
|
||||
(":help cmdline\-completion").
|
||||
Ci sono "tag" nei file di help per saltare da un argomento a un altro
|
||||
(simili a legami ipertestuali, vedere ":help").
|
||||
Tutti i file di documentazione possono essere navigati cos<6F>. Ad es.:
|
||||
@@ -486,10 +486,10 @@ Tutti i file di documentazione possono essere navigati cos
|
||||
.SH FILE
|
||||
.TP 15
|
||||
/usr/local/lib/vim/doc/*.txt
|
||||
I file di cocumentaziona di
|
||||
I file di documentazione di
|
||||
.B Vim
|
||||
.
|
||||
Usate ":help doc-file-list" per avere la lista completa.
|
||||
Usate ":help doc\-file\-list" per avere la lista completa.
|
||||
.TP
|
||||
/usr/local/lib/vim/doc/tags
|
||||
Il file di tags usato per trovare informazioni nei file di documentazione.
|
||||
@@ -505,9 +505,17 @@ Inizializzazioni
|
||||
.B Vim
|
||||
a livello di sistema.
|
||||
.TP
|
||||
~/.vimrc
|
||||
Le vostre personali inizializzazioni di
|
||||
.B Vim
|
||||
.
|
||||
.TP
|
||||
/usr/local/lib/vim/gvimrc
|
||||
Inizializzazioni gvim a livello di sistema.
|
||||
.TP
|
||||
~/.gvimrc
|
||||
Le vostre personali inizializzazioni di gvim.
|
||||
.TP
|
||||
/usr/local/lib/vim/optwin.vim
|
||||
Script Vim usato dal comando ":options", un modo semplice
|
||||
per visualizzare e impostare opzioni.
|
||||
@@ -529,7 +537,7 @@ Vedere ":help 'filetype'".
|
||||
/usr/local/lib/vim/*.ps
|
||||
File usati per stampa PostScript.
|
||||
.PP
|
||||
Per informazioni aggiornate [in inglese - NdT] vedere la home page di Vim:
|
||||
Per informazioni aggiornate [in inglese \- NdT] vedere la home page di Vim:
|
||||
.br
|
||||
<URL:http://www.vim.org/>
|
||||
.SH VEDERE ANCHE
|
||||
|
||||
566
runtime/doc/vim-it.UTF-8.1
Normal file
566
runtime/doc/vim-it.UTF-8.1
Normal file
@@ -0,0 +1,566 @@
|
||||
.TH VIM 1 "22 febbraio 2002"
|
||||
.SH NOME
|
||||
vim \- VI Migliorato, un editor di testi per programmatori
|
||||
.SH SINTASSI
|
||||
.br
|
||||
.B vim
|
||||
[opzioni] [file ..]
|
||||
.br
|
||||
.B vim
|
||||
[opzioni] \-
|
||||
.br
|
||||
.B vim
|
||||
[opzioni] \-t tag
|
||||
.br
|
||||
.B vim
|
||||
[opzioni] \-q [file_errori]
|
||||
.PP
|
||||
.br
|
||||
.B ex
|
||||
.br
|
||||
.B view
|
||||
.br
|
||||
.B gvim
|
||||
.B gview
|
||||
.B evim
|
||||
.B eview
|
||||
.br
|
||||
.B rvim
|
||||
.B rview
|
||||
.B rgvim
|
||||
.B rgview
|
||||
.SH DESCRIZIONE
|
||||
.B Vim
|
||||
Un editore di testi, compatibile con, e migliore di, Vi.
|
||||
Può essere usato per editare qualsiasi file di testo.
|
||||
Particolarmente utile per editare programmi.
|
||||
.PP
|
||||
Ci sono parecchi miglioramenti rispetto a Vi: undo multipli,
|
||||
finestre e buffer multipli, evidenziazione sintattica, possibilità
|
||||
di modificare la linea di comando, completamento nomi file, help
|
||||
in linea, selezione testi in modalità visuale, etc..
|
||||
Vedere ":help vi_diff.txt" per un sommario delle differenze fra
|
||||
.B Vim
|
||||
e Vi.
|
||||
.PP
|
||||
Mentre usate
|
||||
.B Vim
|
||||
potete ricevere molto aiuto dal sistema di help online, col comando ":help".
|
||||
Vedere qui sotto la sezione AIUTO ONLINE.
|
||||
.PP
|
||||
Quasi sempre
|
||||
.B Vim
|
||||
viene invocato, per modificare un file, col comando
|
||||
.PP
|
||||
vim file
|
||||
.PP
|
||||
Più in generale
|
||||
.B Vim
|
||||
viene invocato con:
|
||||
.PP
|
||||
vim [opzioni] [lista_file]
|
||||
.PP
|
||||
Se lista_file non è presente, l'editor inizia aprendo un buffer vuoto.
|
||||
Altrimenti, una e una sola delle quattro maniere indicate qui sotto può
|
||||
essere usata per scegliere uno o più file da modificare.
|
||||
.TP 12
|
||||
file ..
|
||||
Una lista di nomi di file.
|
||||
Il primo di questi sarà il file corrente, e verrà letto nel buffer.
|
||||
Il cursore sarà posizionato sulla prima linea del buffer.
|
||||
Potete arrivare agli altri file col comando ":next".
|
||||
Per editare un file il cui nome inizia per "\-" premettete "\-\-" alla
|
||||
lista_file.
|
||||
.TP
|
||||
\-
|
||||
Il file da editare è letto dallo "stdin" [di solito, ma non
|
||||
necessriamente, il terminale \- NdT]. I comandi sono letti da "stderr",
|
||||
che dovrebbe essere un terminale [tty].
|
||||
.TP
|
||||
\-t {tag}
|
||||
Il file da editare e la posizione iniziale del cursore dipendono da "tag",
|
||||
una specie di "etichetta" a cui saltare.
|
||||
{tag} viene cercata nel file tags, ed il file ad essa associato diventa
|
||||
quello corrente, ed il comando ad essa associato viene eseguito.
|
||||
Di solito si usa per programmi C, nel qual caso {tag} potrebbe essere un
|
||||
nome di funzione.
|
||||
L'effetto è che il file contenente quella funzione diventa il file corrente
|
||||
e il cursore è posizionato all'inizio della funzione.
|
||||
Vedere ":help tag-commands".
|
||||
.TP
|
||||
\-q [file_errori]
|
||||
Inizia nella modalità quickFix [correzione veloce].
|
||||
Il file [file_errori] è letto e il primo errore è visualizzato.
|
||||
Se [file_errori] non è indicato, il suo nome è ottenuto dal valore
|
||||
dell'opzione 'errorfile' (che, se non specificata, vale "AztecC.Err"
|
||||
per l'Amiga, "errors.err" su altri sistemi).
|
||||
Si può saltare all'errore successivo col comando ":cn".
|
||||
Vedere ":help quickfix".
|
||||
.PP
|
||||
.B Vim
|
||||
si comporta in modo diverso se invocato con nomi differenti (il programma
|
||||
eseguibile "sottostante" può essere sempre lo stesso).
|
||||
.TP 10
|
||||
vim
|
||||
Modalità "Normal", comportamento normale.
|
||||
.TP
|
||||
ex
|
||||
Inizia in modalità "Ex".
|
||||
Si può passare in modalità "Normal" col comandi ":vi".
|
||||
Si può invocare la modalità "Ex" anche con l'argomento "\-e".
|
||||
.TP
|
||||
view
|
||||
Inizia in modalità "Sola Lettura". Non potete modificare i file.
|
||||
Si può invocare la modalità "Sola Lettura" anche con l'argomento "\-R".
|
||||
.TP
|
||||
gvim gview
|
||||
La versione GUI [Graphical User Interface].
|
||||
Apre una nuova finestra.
|
||||
Si può invocare la modalità "GUI" anche con l'argomento "\-g".
|
||||
.TP
|
||||
evim eview
|
||||
La versione GUI in modalità "Facile" (semplificata).
|
||||
Apre una nuova finestra.
|
||||
Si può invocare la modalità "Facile" anche con l'argomento "\-y".
|
||||
.TP
|
||||
rvim rview rgvim rgview
|
||||
Come sopra, ma con restrizioni ai comandi. Non si potrnno eseguire comandi
|
||||
dello shell o sospendere
|
||||
.B Vim.
|
||||
Si può invocare la modalità "Ristretta" anche con l'argomento "\-Z".
|
||||
.SH OPZIONI
|
||||
Le opzioni possono essere in un ordine qualsiasi, prima o dopo i nomi di
|
||||
file. Opzioni che non necessitano un argomento possono essere raggruppate
|
||||
dietro a un solo "\-".
|
||||
.TP 12
|
||||
+[numero]
|
||||
Per il primo file il cursore sarà posizionato sulla linea "numero".
|
||||
Se "numero" manca, il cursore sarà posizionato sull'ultima linea del file.
|
||||
.TP
|
||||
+/{espressione}
|
||||
Per il primo file il cursore sarà posizionato alla
|
||||
prima occorrenza di {espressione}.
|
||||
Vedere ":help search-pattern" per come specificare l'espressione.
|
||||
.TP
|
||||
+{comando}
|
||||
.TP
|
||||
\-c {comando}
|
||||
{comando} sarà eseguito dopo che il
|
||||
primo file è stato letto.
|
||||
{comando} è interpretato come un comando Ex.
|
||||
Se il {comando} contiene spazi deve essere incluso fra doppi apici
|
||||
(o altro delimitatore, a seconda dello shell che si sta usando).
|
||||
Esempio: Vim "+set si" main.c
|
||||
.br
|
||||
Note: Si possono avere fino a 10 comandi "+" o "\-c".
|
||||
.TP
|
||||
\-S {file}
|
||||
I comandi contenuti in {file} sono eseguiti dopo la lettura del primo file.
|
||||
Equivalente a \-c "source {file}".
|
||||
{file} non può avere un nome che inizia per '\-'.
|
||||
Se {file} è omesso si usa "Session.vim" (funziona solo se \-S è l'ultimo
|
||||
argomento specificato).
|
||||
.TP
|
||||
\-\-cmd {comando}
|
||||
Come "\-c", ma il comando è eseguito PRIMA
|
||||
di eseguire qualsiasi file vimrc.
|
||||
Si possono usare fino a 10 di questi comandi, indipendentemente dai comandi
|
||||
"\-c".
|
||||
.TP
|
||||
\-A
|
||||
Se
|
||||
.B Vim
|
||||
è stato compilato con supporto ARABIC per editare file con orientamento
|
||||
destra-sinistra e tastiera con mappatura Araba, questa opzione inizia
|
||||
.B Vim
|
||||
in modalità "Arabic", cioè impostando 'arabic'.
|
||||
Altrimenti viene dato un messaggio di errore e
|
||||
.B Vim
|
||||
termina in modo anormale.
|
||||
.TP
|
||||
\-b
|
||||
Modalità "Binaria".
|
||||
Vengono impostate alcune opzioni che permettono di modificare un file
|
||||
binario o un programma eseguibile.
|
||||
.TP
|
||||
\-C
|
||||
Compatibile. Imposta l'opzione 'compatible'.
|
||||
In questo modo
|
||||
.B Vim
|
||||
ha quasi lo stesso comportamento di Vi, anche in presenza di un file
|
||||
di configurazione .vimrc [proprio di Vim \- NdT].
|
||||
.TP
|
||||
\-d
|
||||
Inizia in modalità "Diff" [differenze].
|
||||
Dovrebbero esserci come argomenti due o tre nomi di file.
|
||||
.B Vim
|
||||
aprirà tutti i file evidenziando le differenze fra gli stessi.
|
||||
Funziona come vimdiff(1).
|
||||
.TP
|
||||
\-d {dispositivo}
|
||||
Apre {dispositivo} per usarlo come terminale.
|
||||
Solo per l'Amiga.
|
||||
Esempio:
|
||||
"\-d con:20/30/600/150".
|
||||
.TP
|
||||
\-D
|
||||
Debugging. Vim si mette in modalità "debugging" a partire
|
||||
dall'esecuzione del primo comando da uno script.
|
||||
.TP
|
||||
\-e
|
||||
Eseguire
|
||||
.B Vim
|
||||
in modalità "Ex", come se il programma eseguito sia "ex".
|
||||
.TP
|
||||
\-E
|
||||
Eseguire
|
||||
.B Vim
|
||||
in modalità "Ex" migliorata, come se il programma eseguito sia "exim".
|
||||
.TP
|
||||
\-f
|
||||
Direttamente [Foreground]. Per la versione GUI,
|
||||
.B Vim
|
||||
non crea [fork] una nuova finestra, indipendente dallo shell di invocazione.
|
||||
Per l'Amiga,
|
||||
.B Vim
|
||||
non è fatto ripartire per aprire una nuova finestra.
|
||||
Opzione da usare quando
|
||||
.B Vim
|
||||
è eseguito da un programma che attende la fine della
|
||||
sessione di edit (ad es. mail).
|
||||
Sull'Amiga i comandi ":sh" e ":!" non sono disponibili.
|
||||
.TP
|
||||
\-\-nofork
|
||||
Direttamente [Foreground]. Per la versione GUI,
|
||||
.B Vim
|
||||
non crea [fork] una nuova finestra, indipendente dallo shell di invocazione.
|
||||
.TP
|
||||
\-F
|
||||
Se
|
||||
.B Vim
|
||||
è stato compilato con supporto FKMAP per editare file con orientamento
|
||||
destra-sinistra e tastiera con mappatura Farsi, questa opzione inizia
|
||||
.B Vim
|
||||
in modalità "Farsi", cioè impostando 'fkmap' e 'rightleft'.
|
||||
Altrimenti viene dato un messaggio di errore e
|
||||
.B Vim
|
||||
termina in modo anormale.
|
||||
.TP
|
||||
\-g
|
||||
Se
|
||||
.B Vim
|
||||
è stato compilato con supporto GUI, questa opzione chiede di usarla.
|
||||
Se Vim è stato compilato senza supporto GUI viene dato un messaggio di errore e
|
||||
.B Vim
|
||||
termina in modo anormale.
|
||||
.TP
|
||||
\-h
|
||||
Un po' di aiuto su opzioni e argomenti che si possono dare invocando Vim.
|
||||
Subito dopo
|
||||
.B Vim
|
||||
esce.
|
||||
.TP
|
||||
\-H
|
||||
Se
|
||||
.B Vim
|
||||
è stato compilato col supporto RIGHTLEFT per editare file con orientamento
|
||||
destra-sinistra e tastiera con mappatura Ebraica, questa opzione inizia
|
||||
.B Vim
|
||||
in modalità "Ebraica", cioè impostando 'hkmap' e 'rightleft'.
|
||||
Altrimenti viene dato un messaggio di errore e
|
||||
.B Vim
|
||||
termina in modo anormale.
|
||||
.TP
|
||||
\-i {viminfo}
|
||||
Se è abilitato l'uso di un file viminfo, questa opzione indica il nome
|
||||
del file da usare invece di quello predefinito "~/.viminfo".
|
||||
Si può anche evitare l'uso di un file .viminfo, dando come nome "NONE".
|
||||
.TP
|
||||
\-L
|
||||
Equivalente a \-r.
|
||||
.TP
|
||||
\-l
|
||||
Modalità Lisp.
|
||||
Imposta le opzini 'lisp' e 'showmatch'.
|
||||
.TP
|
||||
\-m
|
||||
Inibisce modifica file.
|
||||
Annulla l'opzione 'write'.
|
||||
E' ancora possibile modificare un buffer [in memoria \- Ndt], ma non scriverlo.
|
||||
.TP
|
||||
\-M
|
||||
Modifiche non permesse. Le opzioni 'modifiable' e 'write' sono annullate,
|
||||
in modo da impedire sia modifiche che riscritture. Da notare che queste
|
||||
opzioni possono essere abilitate in seguito, permettendo così modifiche.
|
||||
.TP
|
||||
\-N
|
||||
Modalità "Non-compatibile". Annulla l'opzione 'compatible'.
|
||||
Così
|
||||
.B Vim
|
||||
va un po' meglio, ma è meno compatibile con Vi, anche in assenza di un
|
||||
file .vimrc.
|
||||
.TP
|
||||
\-n
|
||||
Inibisce l'uso di un file di swap.
|
||||
Il recupero dopo una caduta di macchina diventa impossibile.
|
||||
Utile per editare un file su un supporto molto lento (ad es. floppy).
|
||||
Il comando ":set uc=0" ha lo stesso effetto.
|
||||
Per abilitare il recupero usare ":set uc=200".
|
||||
.TP
|
||||
\-nb
|
||||
Diviene un Editor server per NetBeans. Vedere la documentazione per dettagli.
|
||||
.TP
|
||||
\-o[N]
|
||||
Apri N finestre in orizzontale.
|
||||
Se N manca, apri una finestra per ciascun file.
|
||||
.TP
|
||||
\-O[N]
|
||||
Apri N finestre, in verticale.
|
||||
Se N manca, apri una finestra per ciascun file.
|
||||
.TP
|
||||
\-R
|
||||
Modalità "Sola Lettura".
|
||||
Imposta l'opzione 'readonly'.
|
||||
Si può ancora modificare il buffer, ma siete protetti da una riscrittura
|
||||
involontaria.
|
||||
Se volete davvero riscrivere il file, aggiungete un punto esclamativo
|
||||
al comando "Ex", come in ":w!".
|
||||
L'opzione \-R implica anche l'opzione \-n (vedere sotto).
|
||||
L'opzione 'readonly' può essere annullata con ":set noro".
|
||||
Vedere ":help 'readonly'".
|
||||
.TP
|
||||
\-r
|
||||
Lista file di swap, assieme a dati utili per un recupero.
|
||||
.TP
|
||||
\-r {file}
|
||||
Modalità "Recovery".
|
||||
Il file di swap è usato per recuperare una sessione di edit finita male.
|
||||
Il file di swap è un file con lo stesso nome file del file di testo
|
||||
editato, col suffisso ".swp".
|
||||
Vedere ":help recovery".
|
||||
.TP
|
||||
\-s
|
||||
Modalità silenziosa. Solo quando invocato come "Ex" o quando l'opzione
|
||||
"\-e" è stata data prima dell'opzione "\-s".
|
||||
.TP
|
||||
\-s {scriptin}
|
||||
Lo script file {scriptin} è letto.
|
||||
I caratteri nel file sono interpretati come se immessi da voi.
|
||||
Lo stesso si può ottenere col comando ":source! {scriptin}".
|
||||
Se la fine del file di input viene raggiunta prima che Vim termini,
|
||||
l'ulteriore input viene preso dalla tastiera.
|
||||
.TP
|
||||
\-T {terminale}
|
||||
Dice a
|
||||
.B Vim
|
||||
quale tipo di terminale state usando.
|
||||
Utile solo se il terminale non viene riconosciuto correttamente da Vim.
|
||||
Dovrebbe essere un terminale noto a
|
||||
.B Vim
|
||||
(internamente) o definito nel file termcap o terminfo.
|
||||
.TP
|
||||
\-u {vimrc}
|
||||
Usa i comandi nel file {vimrc} per inizializzazioni.
|
||||
Tutte le altre inizializzazioni non sono eseguite.
|
||||
Usate questa opzione per editare qualche file di tipo speciale.
|
||||
Può anche essere usato per non fare alcuna inizializzazione dando
|
||||
come nome "NONE".
|
||||
Vedere ":help initialization" da vim per ulteriori dettagli.
|
||||
.TP
|
||||
\-U {gvimrc}
|
||||
Usa i comandi nel file {gvimrc} per inizializzazioni GUI.
|
||||
Tutte le altre inizializzazioni GUI non sono eseguite.
|
||||
Può anche essere usata per non fare alcuna inizializzazione GUI dando
|
||||
come nome "NONE".
|
||||
Vedere ":help gui-init" da vim per ulteriori dettagli.
|
||||
.TP
|
||||
\-V[N]
|
||||
Verboso. Vim manda messaggi relativi agli script file che esegue
|
||||
e quando legge o scrive un file viminfo. Il numero opzionale N è il valore
|
||||
dell'opzione 'verbose'.
|
||||
Il valore predefinito è 10.
|
||||
.TP
|
||||
\-v
|
||||
Inizia
|
||||
.B Vim
|
||||
in modalità "Vi", come se il programma eseguibile fosse "vi". Questo ha
|
||||
effetto solo quando Vim viene invocato con il nome "ex".
|
||||
.TP
|
||||
\-w {scriptout}
|
||||
Ogni carattere immesso viene registrato nel file {scriptout},
|
||||
finché non uscite da
|
||||
.B Vim.
|
||||
Utile se si vuole creare uno script file da usare con "vim \-s" o
|
||||
":source!".
|
||||
Se il file {scriptout} esiste, quel che immettete viene aggiunto in fondo.
|
||||
.TP
|
||||
\-W {scriptout}
|
||||
Come \-w, ma uno script file esistente viene sovrascritto.
|
||||
.TP
|
||||
\-x
|
||||
Uso di cifratura nella scrittura dei file. E' necessario immettere
|
||||
una chiave di cifratura.
|
||||
.TP
|
||||
\-X
|
||||
Non connetterti al server X. Vim parte più rapidamente,
|
||||
ma il titolo della finestra e la clipboard non sono disponibili.
|
||||
.TP
|
||||
\-y
|
||||
Eseguire
|
||||
.B Vim
|
||||
in modalità "Facile" (semplificata), come se l'eseguibile invocato
|
||||
sia "evim" o "eview".
|
||||
Fa sì che
|
||||
.B Vim
|
||||
si comporti come un editor che usa solo il mouse e i caratteri.
|
||||
.TP
|
||||
\-Z
|
||||
Modalità "Ristretta". Vim si comporta come se invocato con un nome
|
||||
che inizia per "r".
|
||||
.TP
|
||||
\-\-
|
||||
Specifica la fine delle opzioni.
|
||||
Argomenti specificati dopo questo sono considerati nomi file.
|
||||
Si può usare per editare un file il cui nome inizi per '-'.
|
||||
.TP
|
||||
\-\-echo\-wid
|
||||
Solo con GUI GTK: Visualizza Window ID su "stdout".
|
||||
.TP
|
||||
\-\-help
|
||||
Vim dà un messaggio ed esce, come con l'argomento "-h".
|
||||
.TP
|
||||
\-\-literal
|
||||
Considera i nomi passati come argomenti letterai, senza espandere
|
||||
metacaratteri. Non necessario in Unix, lo shell espande i metacaratteri.
|
||||
.TP
|
||||
\-\-noplugin
|
||||
Non caricare plugin. Implicito se si specifica \-u NONE.
|
||||
.TP
|
||||
\-\-remote
|
||||
Connettersi a un server Vim e chiedere di editare i file elencati come altri
|
||||
argomenti. Se non si trova un server viene dato un messaggio e i file sono
|
||||
editati nel Vim corrente.
|
||||
.TP
|
||||
\-\-remote\-expr {expr}
|
||||
Connettersi a un server Vim, valutare ivi {expr} e stampare il risultatoi
|
||||
su "stdout".
|
||||
.TP
|
||||
\-\-remote\-send {chiavi}
|
||||
Connettersi a un server Vim e spedirgli {chiavi}.
|
||||
.TP
|
||||
\-\-remote\-silent
|
||||
Come \-\-remote, ma senza avvisare se non si trova un server.
|
||||
.TP
|
||||
\-\-remote-wait
|
||||
Come \-\-remote, ma Vim non termina finché i file non sono stati editati.
|
||||
.TP
|
||||
\-\-remote\-wait\-silent
|
||||
Come \-\-remote\-wait, ma senza avvisare se non si trova un server.
|
||||
.TP
|
||||
\-\-serverlist
|
||||
Lista i nomi di tutti i server Vim disponibili.
|
||||
.TP
|
||||
\-\-servername {nome}
|
||||
Usa {nome} come nome server. Usato per il Vim corrente, a meno che sia
|
||||
usato con l'argomento \-\-remote, nel qual caso indica il server a cui
|
||||
connettersi.
|
||||
.TP
|
||||
\-\-socketid {id}
|
||||
Solo con GUI GTK: Usa il meccanismo GtkPlug per eseguire gvim in un'altra
|
||||
finestra.
|
||||
.TP
|
||||
\-\-version
|
||||
Stampa la versione di Vim ed esci.
|
||||
.SH AIUTO ONLINE
|
||||
Battere ":help" in
|
||||
.B Vim
|
||||
per iniziare.
|
||||
Battere ":help argomento" per ricevere aiuto su uno specifico argomento.
|
||||
Per esempio: ":help ZZ" per ricevere aiuto sul comando "ZZ".
|
||||
Usare <Tab> e CTRL\-D per completare gli argomenti
|
||||
(":help cmdline\-completion").
|
||||
Ci sono "tag" nei file di help per saltare da un argomento a un altro
|
||||
(simili a legami ipertestuali, vedere ":help").
|
||||
Tutti i file di documentazione possono essere navigati così. Ad es.:
|
||||
":help syntax.txt".
|
||||
.SH FILE
|
||||
.TP 15
|
||||
/usr/local/lib/vim/doc/*.txt
|
||||
I file di documentazione di
|
||||
.B Vim
|
||||
.
|
||||
Usate ":help doc\-file\-list" per avere la lista completa.
|
||||
.TP
|
||||
/usr/local/lib/vim/doc/tags
|
||||
Il file di tags usato per trovare informazioni nei file di documentazione.
|
||||
.TP
|
||||
/usr/local/lib/vim/syntax/syntax.vim
|
||||
Inizializzazioni sintattiche a livello di sistema.
|
||||
.TP
|
||||
/usr/local/lib/vim/syntax/*.vim
|
||||
File di colorazione sintattica per vari linguaggi.
|
||||
.TP
|
||||
/usr/local/lib/vim/vimrc
|
||||
Inizializzazioni
|
||||
.B Vim
|
||||
a livello di sistema.
|
||||
.TP
|
||||
~/.vimrc
|
||||
Le vostre personali inizializzazioni di
|
||||
.B Vim
|
||||
.
|
||||
.TP
|
||||
/usr/local/lib/vim/gvimrc
|
||||
Inizializzazioni gvim a livello di sistema.
|
||||
.TP
|
||||
~/.gvimrc
|
||||
Le vostre personali inizializzazioni di gvim.
|
||||
.TP
|
||||
/usr/local/lib/vim/optwin.vim
|
||||
Script Vim usato dal comando ":options", un modo semplice
|
||||
per visualizzare e impostare opzioni.
|
||||
.TP
|
||||
/usr/local/lib/vim/menu.vim
|
||||
Inzializzazioni del menu gvim a livello di sistema.
|
||||
.TP
|
||||
/usr/local/lib/vim/bugreport.vim
|
||||
Script Vim per generare una segnalazione di errore. Vedere ":help bugs".
|
||||
.TP
|
||||
/usr/local/lib/vim/filetype.vim
|
||||
Script Vim per determinare il tipo di un file a partire dal suo nome.
|
||||
Vedere ":help 'filetype'".
|
||||
.TP
|
||||
/usr/local/lib/vim/scripts.vim
|
||||
Script Vim per determinare il tipo di un file a partire dal suo contenuto.
|
||||
Vedere ":help 'filetype'".
|
||||
.TP
|
||||
/usr/local/lib/vim/*.ps
|
||||
File usati per stampa PostScript.
|
||||
.PP
|
||||
Per informazioni aggiornate [in inglese \- NdT] vedere la home page di Vim:
|
||||
.br
|
||||
<URL:http://www.vim.org/>
|
||||
.SH VEDERE ANCHE
|
||||
vimtutor(1)
|
||||
.SH AUTORE
|
||||
Buona parte di
|
||||
.B Vim
|
||||
è stato scritto da Bram Moolenaar, con molto aiuto da altri.
|
||||
Vedere ":help credits" in
|
||||
.B Vim.
|
||||
.br
|
||||
.B Vim
|
||||
è basato su Stevie, scritto da: Tim Thompson,
|
||||
Tony Andrews e G.R. (Fred) Walter.
|
||||
In verità, poco o nulla è rimasto del loro codice originale.
|
||||
.SH BACHI
|
||||
Probabili.
|
||||
Vedere ":help todo" per una lista di problemi noti.
|
||||
.PP
|
||||
Si noti che un certo numero di comportamenti che possono essere considerati
|
||||
errori da qualcuno, sono in effetti causati da una riproduzione fin troppo
|
||||
fedele del comportamento di Vi.
|
||||
Se ritenete che altre cose siano errori "perché Vi si comporta diversamente",
|
||||
date prima un'occhiata al file vi_diff.txt
|
||||
(o battere :help vi_diff.txt da Vim).
|
||||
Date anche un'occhiata alle opzioni 'compatible' e 'cpoptions.
|
||||
489
runtime/doc/vim-ru.1
Normal file
489
runtime/doc/vim-ru.1
Normal file
@@ -0,0 +1,489 @@
|
||||
.TH VIM 1 "2002 Feb 22"
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD>
|
||||
vim \- Vi IMproved (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Vi), <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.br
|
||||
.B vim
|
||||
[<5B><><EFBFBD><EFBFBD><EFBFBD>] [<5B><><EFBFBD><EFBFBD> ..]
|
||||
.br
|
||||
.B vim
|
||||
[<5B><><EFBFBD><EFBFBD><EFBFBD>] -
|
||||
.br
|
||||
.B vim
|
||||
[<5B><><EFBFBD><EFBFBD><EFBFBD>] \-t <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
.br
|
||||
.B vim
|
||||
[<5B><><EFBFBD><EFBFBD><EFBFBD>] \-q [<5B><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]
|
||||
.PP
|
||||
.br
|
||||
.B ex
|
||||
.br
|
||||
.B view
|
||||
.br
|
||||
.B gvim
|
||||
.B gview
|
||||
.br
|
||||
.B rvim
|
||||
.B rview
|
||||
.B rgvim
|
||||
.B rgview
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
-- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> Vi.
|
||||
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.PP
|
||||
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> Vi,
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ͣ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20>.<2E>.
|
||||
<EFBFBD><EFBFBD>. ":help vi_diff.txt" <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD> Vi.
|
||||
.PP
|
||||
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ":help").
|
||||
<EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.PP
|
||||
vim <20><><EFBFBD><EFBFBD>
|
||||
.PP
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>:
|
||||
.PP
|
||||
vim [<5B><><EFBFBD><EFBFBD><EFBFBD>] [<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>Σ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>ң<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
.TP 12
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> ..
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ͣ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>ݣ<EFBFBD>
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̣<EFBFBD> <20><><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ":next". <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
"<22><><EFBFBD><EFBFBD><EFBFBD>" (-), <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "--".
|
||||
.TP
|
||||
-
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (stderr), <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
-t {<7B><><EFBFBD><EFBFBD><EFBFBD>}
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> "<22><><EFBFBD><EFBFBD><EFBFBD>", <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> goto.
|
||||
{<7B><><EFBFBD><EFBFBD><EFBFBD>} <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><>, <20><><EFBFBD> {<7B><><EFBFBD><EFBFBD><EFBFBD>} <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD>. ":help tag-commands".
|
||||
.TP
|
||||
-q [<5B><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [<5B><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>] <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> [<5B><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>] <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><>ң<EFBFBD><D2A3><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> 'errorfile'
|
||||
(<28><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: "AztecC.Err" <20><><EFBFBD> Amiga, "errors.err" <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>).
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ":cn".
|
||||
<EFBFBD><EFBFBD>. ":help quickfix".
|
||||
.PP
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD>ģ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD> <20><>).
|
||||
.TP 10
|
||||
vim
|
||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20>ӣ <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
ex
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ex. <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ":vi". <20><><EFBFBD><EFBFBD><EFBFBD> Ex <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> "-e".
|
||||
.TP
|
||||
view
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>". <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "-R".
|
||||
.TP
|
||||
gvim gview
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "-g".
|
||||
.TP
|
||||
rvim rview rgvim rgview
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "r" <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> "-Z".
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20>ͣ<EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP 12
|
||||
+[<5B><><EFBFBD><EFBFBD><EFBFBD>]
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>ݣ<EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> "<22><><EFBFBD><EFBFBD><EFBFBD>" <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>ݣ<EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
+/{<7B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>}
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>ݣ<EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><>. ":help search-pattern" <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
+{<7B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>}
|
||||
.TP
|
||||
-c {<7B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>}
|
||||
{<7B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>} <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ex.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> {<7B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>} <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>).
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: vim "+set si" main.c
|
||||
.br
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "+" <20><><EFBFBD> "-c".
|
||||
.TP
|
||||
--cmd {<7B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>}
|
||||
<EFBFBD><EFBFBD><EFBFBD> "-c", <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (vimrc).
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "-c".
|
||||
.TP
|
||||
-A
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 'arabic'. <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
-b
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
-C
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> 'compatible'.
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> Vi, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> .vimrc.
|
||||
.TP
|
||||
-d
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
(<28><><EFBFBD> vimdiff(1)).
|
||||
.TP
|
||||
-d {<7B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>}
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> {<7B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>} <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> Amiga).
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
"\-d con:20/30/600/150".
|
||||
.TP
|
||||
-e
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ex, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> "ex".
|
||||
.TP
|
||||
-f
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ţ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Amiga
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>).
|
||||
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Amiga <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ":sh" <20> ":!" <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
--nofork
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ţ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
-F
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> FKMAP <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20> <20><><EFBFBD><EFBFBD>ޣ<EFBFBD><DEA3><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
'fkmap' <20> 'rightleft'.
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
-g
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
-h
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
-H
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20> <20><><EFBFBD><EFBFBD>ޣ<EFBFBD><DEA3><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 'hkmap' <20> 'rightleft'.
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
-i {viminfo}
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> viminfo, <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
"~/.viminfo" <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>). <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> viminfo
|
||||
<EFBFBD><EFBFBD>ԣ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> "NONE".
|
||||
.TP
|
||||
-L
|
||||
<EFBFBD><EFBFBD> <20><>, <20><><EFBFBD> <20> -r.
|
||||
.TP
|
||||
-l
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Lisp. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> 'lisp' <20> 'showmatch'.
|
||||
.TP
|
||||
-m
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> 'write', <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
-N
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 'compatible'.
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> Vi, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (.vimrc).
|
||||
.TP
|
||||
-n
|
||||
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>).
|
||||
<EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ":set uc=0". <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> -- ":set uc=200".
|
||||
.TP
|
||||
-o[N]
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> N <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD>̣<EFBFBD><CCA3><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD> N <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
-O[N]
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> N <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD>̣<EFBFBD><CCA3><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD> N <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
-R
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>". <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> 'readonly'.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ex (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, ":w!").
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> "-R" <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> "-n" (<28><>. <20><><EFBFBD><EFBFBD>).
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 'readonly' <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ":set noro".
|
||||
<EFBFBD><EFBFBD>. ":help 'readonly'".
|
||||
.TP
|
||||
-r
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
-r {<7B><><EFBFBD><EFBFBD>}
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><> <20><><EFBFBD>, <20><><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ".swp".
|
||||
<EFBFBD><EFBFBD>. ":help recovery".
|
||||
.TP
|
||||
-s
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> "Ex" <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> "-s" <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> "-e".
|
||||
.TP
|
||||
-s {scriptin}
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> {scriptin}. <20><><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ":source! {scriptin}".
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
-T {terminal}
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD>) <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> termcap <20><><EFBFBD> terminfo.
|
||||
.TP
|
||||
-u {vimrc}
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> {vimrc} <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD> "NONE". <20><>. ":help initialization".
|
||||
.TP
|
||||
-U {gvimrc}
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> {gvimrc} <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> "NONE". <20><>. ":help gui-init".
|
||||
.TP
|
||||
-V
|
||||
"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" <20><><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20> <20>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> viminfo.
|
||||
.TP
|
||||
-v
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Vi, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> "vi". <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> "ex".
|
||||
.TP
|
||||
-w {scriptout}
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> {scriptout}.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> "vim -s" <20><><EFBFBD> ":source!". <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> {scriptout} <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,
|
||||
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
-W {scriptout}
|
||||
<EFBFBD><EFBFBD><EFBFBD> "-w", <20><> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
-x
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
-X
|
||||
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> X-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
-Z
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><>, <20><><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> "r".
|
||||
.TP
|
||||
--
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
--help
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><> <20><>, <20><><EFBFBD> <20> "-h".
|
||||
.TP
|
||||
--version
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
--remote
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Vim <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> Vim.
|
||||
.TP
|
||||
--remote-expr {<7B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>}
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Vim <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> Σ<> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> {<7B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>}.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (stdout).
|
||||
.TP
|
||||
--remote-send {<7B><><EFBFBD><EFBFBD><EFBFBD>}
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Vim <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> {<7B><><EFBFBD><EFBFBD><EFBFBD>}.
|
||||
.TP
|
||||
--remote-silent
|
||||
<EFBFBD><EFBFBD><EFBFBD> "--remote", <20><> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
--remote-wait
|
||||
<EFBFBD><EFBFBD><EFBFBD> "--remote", <20><> Vim <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD> <20><><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
--remote-wait-silent
|
||||
<EFBFBD><EFBFBD><EFBFBD> "--remote-wait", <20><> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
--serverlist
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Vim.
|
||||
.TP
|
||||
--servername {<7B><><EFBFBD>}
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> {<7B><><EFBFBD>} <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
"--remote" <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> {<7B><><EFBFBD>} <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> Vim,
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
--socketid {id}
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> GTK: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> GtkPlug <20><><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> gvim <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
--echo-wid
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> GTK: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> (Window ID)
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (stdout).
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ":help".
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ":help <20><><EFBFBD><EFBFBD>", <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ":help ZZ" <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "ZZ".
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <Tab> <20> CTRL-D <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> (":help cmdline-completion").
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>-<2D><>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><>. ":help"). <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ":help syntax.txt".
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.TP 15
|
||||
/usr/local/lib/vim/doc/*.txt
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim.
|
||||
<EFBFBD><EFBFBD>. ":help doc-file-list" <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
/usr/local/lib/vim/doc/tags
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
/usr/local/lib/vim/syntax/syntax.vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
/usr/local/lib/vim/syntax/*.vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
/usr/local/lib/vim/vimrc
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim.
|
||||
.TP
|
||||
/usr/local/lib/vim/gvimrc
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
/usr/local/lib/vim/optwin.vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ":options".
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
/usr/local/lib/vim/menu.vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD> gvim.
|
||||
.TP
|
||||
/usr/local/lib/vim/bugreport.vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ޣ<EFBFBD><DEA3> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><>. ":help bugs".
|
||||
.TP
|
||||
/usr/local/lib/vim/filetype.vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>. <20><>. ":help 'filetype'".
|
||||
.TP
|
||||
/usr/local/lib/vim/scripts.vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><>. ":help 'filetype'".
|
||||
.TP
|
||||
/usr/local/lib/vim/*.ps
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> PostScript.
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> -- <20><> <20><><EFBFBD><EFBFBD><EFBFBD> VIM:
|
||||
.br
|
||||
<URL:http://www.vim.org/>
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
vimtutor(1)
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (Bram Moolenaar), <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>. <20><>. ":help credits" <20>
|
||||
.B Vim.
|
||||
.br
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Stevie, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (Tim Thompson),
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (Tony Andrews) <20> <20>. <20>. (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (G.R. (Fred) Walter).
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> Vim <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.br
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "<22><><EFBFBD><EFBFBD><EFBFBD>",
|
||||
<EFBFBD><EFBFBD>. <URL:http://sourceforge.net/projects/ruvim/>.
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD>. ":help todo" -- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Vi.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD>-<2D><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>
|
||||
"Vi <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><>-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> vi_diff.txt
|
||||
(<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ":help vi_diff.txt" <20> Vim) <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> 'compatible'
|
||||
<EFBFBD> 'cpoptions'.
|
||||
489
runtime/doc/vim-ru.UTF-8.1
Normal file
489
runtime/doc/vim-ru.UTF-8.1
Normal file
@@ -0,0 +1,489 @@
|
||||
.TH VIM 1 "2002 Feb 22"
|
||||
.SH ИМЯ
|
||||
vim \- Vi IMproved (Улучшенный Vi), текстовый редактор для программистов
|
||||
.SH КОМАНДНАЯ СТРОКА
|
||||
.br
|
||||
.B vim
|
||||
[ключи] [файл ..]
|
||||
.br
|
||||
.B vim
|
||||
[ключи] -
|
||||
.br
|
||||
.B vim
|
||||
[ключи] \-t метка
|
||||
.br
|
||||
.B vim
|
||||
[ключи] \-q [файл ошибок]
|
||||
.PP
|
||||
.br
|
||||
.B ex
|
||||
.br
|
||||
.B view
|
||||
.br
|
||||
.B gvim
|
||||
.B gview
|
||||
.br
|
||||
.B rvim
|
||||
.B rview
|
||||
.B rgvim
|
||||
.B rgview
|
||||
.SH ОПИСАНИЕ
|
||||
.B Vim
|
||||
-- текстовый редактор, обратно-совместимый с Vi.
|
||||
Он может быть использован для правки всех видов простого текста.
|
||||
Особенно он хорош для правки исходных текстов программ.
|
||||
.PP
|
||||
По сравнению с Vi,
|
||||
.B Vim
|
||||
имеет много усовершенствований: многократная отмена операций,
|
||||
множественность окон и буферов, подсветка синтаксиса, правка командной строки,
|
||||
автодополнение имён файлов, встроенная справка, визуальное выделение и т.п.
|
||||
См. ":help vi_diff.txt" для получения полного списка различий между
|
||||
.B Vim
|
||||
и Vi.
|
||||
.PP
|
||||
Во время работы в
|
||||
.B Vim
|
||||
можно получить справку с помощью системы встроенной справки (команда ":help").
|
||||
См. раздел "ВСТРОЕННАЯ СПРАВКА" ниже по тексту.
|
||||
.PP
|
||||
Чаще всего
|
||||
.B Vim
|
||||
запускают для правки одного файла при помощи команды
|
||||
.PP
|
||||
vim файл
|
||||
.PP
|
||||
В общем виде команда запуска
|
||||
.B Vim
|
||||
выглядит так:
|
||||
.PP
|
||||
vim [ключи] [список файлов]
|
||||
.PP
|
||||
Если список файлов отсутствует, редактор начнёт работу с пустым буфером.
|
||||
В противном случае имя файла должно быть указано одним из следующих четырёх способов:
|
||||
.TP 12
|
||||
файл ..
|
||||
Список имён файлов.
|
||||
Первый файл будет объявлен активным и загружен в буфер. Курсор будет помещён
|
||||
в первой строке буфера. Доступ к другим файлам может быть осуществлён при
|
||||
помощи команды ":next". Чтобы править файл, имя которого начинается с символа
|
||||
"дефис" (-), перед списком файлов необходимо поставить "--".
|
||||
.TP
|
||||
-
|
||||
Файл будет прочитан из потока стандартного ввода. Команды будут считываться
|
||||
из стандартного потока диагностики (stderr), который должен быть
|
||||
терминалом.
|
||||
.TP
|
||||
-t {метка}
|
||||
Имя файла и начальная позиция курсора зависят от "метки", похожей на метку goto.
|
||||
{метка} ищется в файле меток, соответствующий файл становится активным, а
|
||||
соответствующая команда исполняется.
|
||||
Чаще всего используется в программах на языке Си, где {метка} может быть именем
|
||||
функции.
|
||||
Файл, содержащий функцию, становится активным, а курсор помещается в начало функции.
|
||||
См. ":help tag-commands".
|
||||
.TP
|
||||
-q [файл ошибок]
|
||||
Начать работу в режиме быстрого исправления.
|
||||
При этом считывается [файл ошибок] и первая ошибка выводится на экран.
|
||||
Если [файл ошибок] не указан, имя файла берётся из значения опции 'errorfile'
|
||||
(по умолчанию: "AztecC.Err" для Amiga, "errors.err" для других систем).
|
||||
К следующим ошибкам можно перейти по команде ":cn".
|
||||
См. ":help quickfix".
|
||||
.PP
|
||||
.B Vim
|
||||
ведёт себя по-разному в зависимости от имени команды (исполняемый файл может
|
||||
быть одним и тем же).
|
||||
.TP 10
|
||||
vim
|
||||
"Нормальный" запуск, всё по умолчанию.
|
||||
.TP
|
||||
ex
|
||||
Запуск в режиме Ex. Для перехода в нормальный режим
|
||||
необходимо выполнить команду ":vi". Режим Ex включает
|
||||
также ключ "-e".
|
||||
.TP
|
||||
view
|
||||
Запуск в режиме "только для чтения". Вы будете защищены от случайной записи
|
||||
файла. То же самое можно сделать ключом "-R".
|
||||
.TP
|
||||
gvim gview
|
||||
Версия с графическим интерфейсом. Запускается в новом окне.
|
||||
То же самое можно сделать при запуске с ключом "-g".
|
||||
.TP
|
||||
rvim rview rgvim rgview
|
||||
Как и предыдущие команды, но с ограничениями. Нельзя запускать команды оболочки
|
||||
или приостанавливать работу
|
||||
.B Vim.
|
||||
Вместо приставки "r" можно использовать ключ "-Z".
|
||||
.SH КЛЮЧИ
|
||||
Ключи могут быть указаны в любом порядке, до или после имён
|
||||
файлов. Ключи без аргументов могут быть объединены под одним
|
||||
дефисом.
|
||||
.TP 12
|
||||
+[номер]
|
||||
В первом файле курсор будет помещён на строку с указанным номером.
|
||||
Если "номер" не указан, курсор будет помещён на последнюю строку.
|
||||
.TP
|
||||
+/{шаблон}
|
||||
В первом файле курсор будет помещён на место первого совпадения
|
||||
с указанным шаблоном. См. ":help search-pattern" для получения
|
||||
списка допустимых шаблонов.
|
||||
.TP
|
||||
+{команда}
|
||||
.TP
|
||||
-c {команда}
|
||||
{команда} исполняется после загрузки первого файла как команда Ex.
|
||||
Если {команда} содержит пробелы, то она должна быть заключена в
|
||||
двойные кавычки (в зависимости от используемой оболочки).
|
||||
Пример: vim "+set si" main.c
|
||||
.br
|
||||
Примечание: Можно указывать до десяти команд "+" или "-c".
|
||||
.TP
|
||||
--cmd {команда}
|
||||
Как "-c", но команда исполняется перед обработкой любого файла
|
||||
настроек (vimrc).
|
||||
Можно указывать до десяти таких команд, независимо от количества
|
||||
команд "-c".
|
||||
.TP
|
||||
-A
|
||||
Если
|
||||
.B Vim
|
||||
был собран с поддержкой арабского языка для правки файлов,
|
||||
набранных справа налево, и с поддержкой арабской клавиатуры,
|
||||
этот ключ запускает
|
||||
.B Vim
|
||||
в арабском режиме, с включенной опцией 'arabic'. В противном
|
||||
случае
|
||||
.B Vim
|
||||
завершает работу с ошибкой.
|
||||
.TP
|
||||
-b
|
||||
Двоичный режим.
|
||||
Производится настройка некоторых опций, делающих возможной правку
|
||||
двоичного или исполняемого файла.
|
||||
.TP
|
||||
-C
|
||||
Режим совместимости. Включает опцию 'compatible'.
|
||||
.B Vim
|
||||
будет работать почти как Vi, даже если существует файл .vimrc.
|
||||
.TP
|
||||
-d
|
||||
Режим поиска различий.
|
||||
Должно быть указано два или три имени файла.
|
||||
.B Vim
|
||||
откроет все файлы и покажет различия между ними
|
||||
(как vimdiff(1)).
|
||||
.TP
|
||||
-d {устройство}
|
||||
Открыть {устройство} для использования в качестве терминала (только на Amiga).
|
||||
Пример:
|
||||
"\-d con:20/30/600/150".
|
||||
.TP
|
||||
-e
|
||||
Запустить
|
||||
.B Vim
|
||||
в режиме Ex, как будто исполняемый файл имеет имя "ex".
|
||||
.TP
|
||||
-f
|
||||
Режим активного приложения. Версия
|
||||
.B Vim
|
||||
с графическим интерфейсом не будет ветвиться и отключаться
|
||||
от запустившей её оболочки. На платформе Amiga
|
||||
.B Vim
|
||||
не будет создавать новое окно. Этот ключ нужно использовать,
|
||||
когда
|
||||
.B Vim
|
||||
запускается программой, которая должна ждать завершения
|
||||
сеанса правки (например, программа для работы с электронной почтой).
|
||||
На платформе Amiga команды ":sh" и ":!" не будут работать.
|
||||
.TP
|
||||
--nofork
|
||||
Режим активного приложения. Версия
|
||||
.B Vim
|
||||
с графическим интерфейсом не будет ветвиться и отключаться
|
||||
от запустившей её оболочки.
|
||||
.TP
|
||||
-F
|
||||
Если
|
||||
.B Vim
|
||||
был собран с поддержкой FKMAP для правки текста справа налево
|
||||
и настроек клавиатуры для языка фарси, этот ключ запускает
|
||||
.B Vim
|
||||
в режиме фарси, иначе говоря, с включёнными опциями
|
||||
'fkmap' и 'rightleft'.
|
||||
В противном случае
|
||||
.B Vim
|
||||
завершает работу с сообщением об ошибке.
|
||||
.TP
|
||||
-g
|
||||
Если
|
||||
.B Vim
|
||||
был собран с поддержкой графического интерфейса, этот ключ
|
||||
включает графический интерфейс. В противном случае
|
||||
.B Vim
|
||||
завершает работу с сообщением об ошибке.
|
||||
.TP
|
||||
-h
|
||||
Выводит краткую информацию об аргументах и ключах командной строки.
|
||||
После этого
|
||||
.B Vim
|
||||
завершает работу.
|
||||
.TP
|
||||
-H
|
||||
Если
|
||||
.B Vim
|
||||
был собран с поддержкой правки текста справа налево
|
||||
и настроек клавиатуры для иврита, этот ключ запускает
|
||||
.B Vim
|
||||
в режиме иврита, иначе говоря, с включёнными опциями 'hkmap' и 'rightleft'.
|
||||
В противном случае
|
||||
.B Vim
|
||||
завершает работу с сообщением об ошибке.
|
||||
.TP
|
||||
-i {viminfo}
|
||||
Если используется файл viminfo, то этот ключ задаёт имя такого файла (вместо
|
||||
"~/.viminfo" по умолчанию). Можно также избежать использования файла viminfo
|
||||
путём указания имени "NONE".
|
||||
.TP
|
||||
-L
|
||||
То же, что и -r.
|
||||
.TP
|
||||
-l
|
||||
Режим Lisp. Включаются опции 'lisp' и 'showmatch'.
|
||||
.TP
|
||||
-m
|
||||
Изменение файлов запрещено. При этом отключается опция 'write', поэтому
|
||||
запись файлов становится невозможной.
|
||||
.TP
|
||||
-N
|
||||
Режим неполной совместимости. Отключается 'compatible'.
|
||||
.B Vim
|
||||
будет работать лучше, но не будет полностью совместим с Vi, даже если
|
||||
отсутствует файл сценария настроек (.vimrc).
|
||||
.TP
|
||||
-n
|
||||
Не использовать своп-файл. Восстановление при сбое в работе будет невозможно.
|
||||
Удобно для правки файла на очень медленном носителе (например, гибком диске).
|
||||
То же самое можно сделать командой ":set uc=0". Отмена -- ":set uc=200".
|
||||
.TP
|
||||
-o[N]
|
||||
Открыть N окон, разделённых по горизонтали. Если N не указано, то открывается
|
||||
по одному окну на каждый файл.
|
||||
.TP
|
||||
-O[N]
|
||||
Открыть N окон, разделённых по вертикали. Если N не указано, то открывается
|
||||
по одному окну на каждый файл.
|
||||
.TP
|
||||
-R
|
||||
Режим "только для чтения". Включается опция 'readonly'.
|
||||
Файл в буфере доступен для редактирования, но его копию на диске нельзя
|
||||
случайно перезаписать. Для сохранения файла необходимо добавить восклицательный
|
||||
знак к соответствующей команде Ex (например, ":w!").
|
||||
Ключ "-R" подразумевает также, что используется и ключ "-n" (см. выше).
|
||||
Опция 'readonly' может быть выключена по команде ":set noro".
|
||||
См. ":help 'readonly'".
|
||||
.TP
|
||||
-r
|
||||
Вывести список своп-файлов и информацию об их использовании для восстановления после сбоя.
|
||||
.TP
|
||||
-r {файл}
|
||||
Режим восстановления.
|
||||
Для восстановления после сбоя будет использован своп-файл.
|
||||
Своп-файл имеет то же имя, что и текстовый файл, но с добавлением расширения ".swp".
|
||||
См. ":help recovery".
|
||||
.TP
|
||||
-s
|
||||
Тихий режим. Только при запуске как "Ex" или если перед "-s" указан ключ "-e".
|
||||
.TP
|
||||
-s {scriptin}
|
||||
Считывается файл сценария {scriptin}. При этом, содержимое файла воспринимается
|
||||
в виде команд, как если бы они были набраны на консоли.
|
||||
То же самое достигается командой ":source! {scriptin}".
|
||||
Если конец файла считывается до завершения работы редактора, то в дальнейшем
|
||||
ввод осуществляется с клавиатуры.
|
||||
.TP
|
||||
-T {terminal}
|
||||
Сообщает
|
||||
.B Vim
|
||||
тип используемого терминала. Необходимо только в тех ситуациях, когда
|
||||
автоматическое определение терминала не работает. Имя терминала должно быть
|
||||
известно
|
||||
.B Vim
|
||||
(встроено в него) или определено в файлах termcap или terminfo.
|
||||
.TP
|
||||
-u {vimrc}
|
||||
Использовать команды из файла сценария {vimrc} для настройки.
|
||||
Все остальные файлы настроек пропускаются.
|
||||
Удобно для редактирования специальных типов файлов.
|
||||
Чтобы избежать использования сценариев настроек вообще, можно использовать
|
||||
имя "NONE". См. ":help initialization".
|
||||
.TP
|
||||
-U {gvimrc}
|
||||
Использовать команды из файла сценария {gvimrc} для настройки графического
|
||||
интерфейса.
|
||||
Все остальные файлы настроек для графического интерфейса пропускаются.
|
||||
Чтобы избежать использования сценариев настроек графического интерфейса вообще,
|
||||
можно использовать имя "NONE". См. ":help gui-init".
|
||||
.TP
|
||||
-V
|
||||
"Болтливый" режим. Выводить сообщения о том, какие файлы читаются, и о
|
||||
чтении-записи файла viminfo.
|
||||
.TP
|
||||
-v
|
||||
Запустить
|
||||
.B Vim
|
||||
в режиме Vi, как будто исполняемый файл имеет имя "vi". Имеет смысл только если
|
||||
исполняемый файл имеет имя "ex".
|
||||
.TP
|
||||
-w {scriptout}
|
||||
Все символы, введённые с клавиатуры вплоть до момента завершения работы,
|
||||
записываются в файл {scriptout}.
|
||||
Удобно в том случае, когда вы хотите создать файл сценария для последующего
|
||||
использования с "vim -s" или ":source!". Если файл {scriptout} уже существует,
|
||||
то новые символы будут добавляются в конец файла.
|
||||
.TP
|
||||
-W {scriptout}
|
||||
Как "-w", но уже существующий файл будет перезаписан.
|
||||
.TP
|
||||
-x
|
||||
Шифровать записываемые файлы. Будет выдано приглашение ввести пароль.
|
||||
.TP
|
||||
-X
|
||||
Не подключаться к X-серверу. Ускоряет загрузку на консоли, но делает невозможным
|
||||
использование заголовка окна и буфера обмена.
|
||||
.TP
|
||||
-Z
|
||||
Ограниченный режим. Работает так же, как и программы, начинающиеся с "r".
|
||||
.TP
|
||||
--
|
||||
Конец ключей. Все остальные аргументы рассматриваются как имена файлов.
|
||||
Может быть использовано для правки файлов, имена которых начинаются с дефиса.
|
||||
.TP
|
||||
--help
|
||||
Вывести краткую справку и завершить работу. То же, что и "-h".
|
||||
.TP
|
||||
--version
|
||||
Вывести информацию о версии программы и завершить работу.
|
||||
.TP
|
||||
--remote
|
||||
Подключиться к серверу Vim и заставить его править файлы, указанные в
|
||||
последующих аргументах. Если сервер не найден, выводится предупреждение,
|
||||
а файлы правятся в местной копии Vim.
|
||||
.TP
|
||||
--remote-expr {выражение}
|
||||
Подключиться к серверу Vim и вычислить на нём указанное {выражение}.
|
||||
Результат вычисления будет выведен в поток стандартного вывода (stdout).
|
||||
.TP
|
||||
--remote-send {ключи}
|
||||
Подключиться к серверу Vim и передать ему указанные {ключи}.
|
||||
.TP
|
||||
--remote-silent
|
||||
Как "--remote", но без вывода предупреждения, если сервер не найден.
|
||||
.TP
|
||||
--remote-wait
|
||||
Как "--remote", но Vim не будет завершать работу до тех пор, пока не будет
|
||||
выполнена правка всех файлов.
|
||||
.TP
|
||||
--remote-wait-silent
|
||||
Как "--remote-wait", но без вывода предупреждения, если сервер не найден.
|
||||
.TP
|
||||
--serverlist
|
||||
Вывести список всех доступных серверов Vim.
|
||||
.TP
|
||||
--servername {имя}
|
||||
Использовать указанное {имя} в качестве имени сервера. Если ключ
|
||||
"--remote" не указан, то {имя} присваивается данной копии Vim,
|
||||
в противном случае указывает на имя сервера, к которому следует
|
||||
подключиться.
|
||||
.TP
|
||||
--socketid {id}
|
||||
Только для графического интерфейса GTK: использовать механизм GtkPlug для
|
||||
запуска gvim в отдельном окне.
|
||||
.TP
|
||||
--echo-wid
|
||||
Только для графического интерфейса GTK: вывести идентификатор окна (Window ID)
|
||||
в поток стандартного вывода (stdout).
|
||||
.SH ВСТРОЕННАЯ СПРАВКА
|
||||
Для начала, наберите команду ":help".
|
||||
Введите ":help тема", чтобы получить справку по конкретной теме.
|
||||
Например, команда ":help ZZ" выведет информацию о команде "ZZ".
|
||||
Используйте <Tab> и CTRL-D для автоматического дополнения
|
||||
названий тем (":help cmdline-completion").
|
||||
Для быстрого перемещения по справочнику используются метки (что-то
|
||||
вроде гипертекстовых ссылок, см. ":help"). Таким образом можно
|
||||
просматривать все файлы справки, например ":help syntax.txt".
|
||||
.SH ФАЙЛЫ
|
||||
.TP 15
|
||||
/usr/local/lib/vim/doc/*.txt
|
||||
Файлы справочника
|
||||
.B Vim.
|
||||
См. ":help doc-file-list" для получения полного списка.
|
||||
.TP
|
||||
/usr/local/lib/vim/doc/tags
|
||||
Файл меток, используемый для поиска информации в файлах справки.
|
||||
.TP
|
||||
/usr/local/lib/vim/syntax/syntax.vim
|
||||
Системные настройки синтаксиса.
|
||||
.TP
|
||||
/usr/local/lib/vim/syntax/*.vim
|
||||
Файлы синтаксиса для разных языков.
|
||||
.TP
|
||||
/usr/local/lib/vim/vimrc
|
||||
Системные настройки
|
||||
.B Vim.
|
||||
.TP
|
||||
/usr/local/lib/vim/gvimrc
|
||||
Системный настройки графического интерфейса.
|
||||
.TP
|
||||
/usr/local/lib/vim/optwin.vim
|
||||
Сценарий, используемый при выполнении команды ":options".
|
||||
Хороший способ просматривать и изменять настройки.
|
||||
.TP
|
||||
/usr/local/lib/vim/menu.vim
|
||||
Системные настройки меню для gvim.
|
||||
.TP
|
||||
/usr/local/lib/vim/bugreport.vim
|
||||
Сценарий для создания отчёта об обнаруженных глюках. См. ":help bugs".
|
||||
.TP
|
||||
/usr/local/lib/vim/filetype.vim
|
||||
Сценарий для определения типа файла по имени. См. ":help 'filetype'".
|
||||
.TP
|
||||
/usr/local/lib/vim/scripts.vim
|
||||
Сценарий для определения типа файла по содержимому. См. ":help 'filetype'".
|
||||
.TP
|
||||
/usr/local/lib/vim/*.ps
|
||||
Файлы для печати PostScript.
|
||||
.PP
|
||||
Более свежая информация -- на сайте VIM:
|
||||
.br
|
||||
<URL:http://www.vim.org/>
|
||||
.SH СМОТРИ ТАКЖЕ
|
||||
vimtutor(1)
|
||||
.SH АВТОРЫ
|
||||
Большая часть
|
||||
.B Vim
|
||||
создана Брамом Мооленааром (Bram Moolenaar), которому помогает огромное
|
||||
количество людей. См. ":help credits" в
|
||||
.B Vim.
|
||||
.br
|
||||
.B Vim
|
||||
базируется на коде редактора Stevie, написанного Тимом Томпсоном (Tim Thompson),
|
||||
Тони Эндрюсом (Tony Andrews) и Г. Р. (Фредом) Уолтером (G.R. (Fred) Walter).
|
||||
Однако, в настоящее время в Vim почти не осталось ничего от исторического кода
|
||||
его предшественника.
|
||||
.br
|
||||
Русская локализация
|
||||
.B Vim
|
||||
выполняется в рамках проекта "РуВим",
|
||||
см. <URL:http://sourceforge.net/projects/ruvim/>.
|
||||
.SH ГЛЮКИ
|
||||
Скорее всего есть.
|
||||
См. ":help todo" -- список известных проблем.
|
||||
.PP
|
||||
Заметим, что многие вещи, которые считаются глюками, на самом деле
|
||||
являются результатом слишком полного воспроизведения поведения Vi.
|
||||
Если вы думаете, что что-то является ошибкой только потому, что
|
||||
"Vi делает это по-другому", внимательно прочитайте файл vi_diff.txt
|
||||
(или наберите ":help vi_diff.txt" в Vim) и используйте опции 'compatible'
|
||||
и 'cpoptions'.
|
||||
@@ -7,7 +7,7 @@ vim \- Vi IMproved, a programmers text editor
|
||||
[options] [file ..]
|
||||
.br
|
||||
.B vim
|
||||
[options] -
|
||||
[options] \-
|
||||
.br
|
||||
.B vim
|
||||
[options] \-t tag
|
||||
@@ -69,13 +69,13 @@ A list of filenames.
|
||||
The first one will be the current file and read into the buffer.
|
||||
The cursor will be positioned on the first line of the buffer.
|
||||
You can get to the other files with the ":next" command.
|
||||
To edit a file that starts with a dash, precede the filelist with "--".
|
||||
To edit a file that starts with a dash, precede the filelist with "\-\-".
|
||||
.TP
|
||||
-
|
||||
\-
|
||||
The file to edit is read from stdin. Commands are read from stderr, which
|
||||
should be a tty.
|
||||
.TP
|
||||
-t {tag}
|
||||
\-t {tag}
|
||||
The file to edit and the initial cursor position depends on a "tag", a sort
|
||||
of goto label.
|
||||
{tag} is looked up in the tags file, the associated file becomes the current
|
||||
@@ -86,7 +86,7 @@ The effect is that the file containing that function becomes the current file
|
||||
and the cursor is positioned on the start of the function.
|
||||
See ":help tag-commands".
|
||||
.TP
|
||||
-q [errorfile]
|
||||
\-q [errorfile]
|
||||
Start in quickFix mode.
|
||||
The file [errorfile] is read and the first error is displayed.
|
||||
If [errorfile] is omitted, the filename is obtained from the 'errorfile'
|
||||
@@ -105,27 +105,27 @@ The "normal" way, everything is default.
|
||||
ex
|
||||
Start in Ex mode.
|
||||
Go to Normal mode with the ":vi" command.
|
||||
Can also be done with the "-e" argument.
|
||||
Can also be done with the "\-e" argument.
|
||||
.TP
|
||||
view
|
||||
Start in read-only mode. You will be protected from writing the files. Can
|
||||
also be done with the "-R" argument.
|
||||
also be done with the "\-R" argument.
|
||||
.TP
|
||||
gvim gview
|
||||
The GUI version.
|
||||
Starts a new window.
|
||||
Can also be done with the "-g" argument.
|
||||
Can also be done with the "\-g" argument.
|
||||
.TP
|
||||
evim eview
|
||||
The GUI version in easy mode.
|
||||
Starts a new window.
|
||||
Can also be done with the "-y" argument.
|
||||
Can also be done with the "\-y" argument.
|
||||
.TP
|
||||
rvim rview rgvim rgview
|
||||
Like the above, but with restrictions. It will not be possible to start shell
|
||||
commands, or suspend
|
||||
.B Vim.
|
||||
Can also be done with the "-Z" argument.
|
||||
Can also be done with the "\-Z" argument.
|
||||
.SH OPTIONS
|
||||
The options may be given in any order, before or after filenames.
|
||||
Options without an argument can be combined after a single dash.
|
||||
@@ -141,7 +141,7 @@ See ":help search-pattern" for the available search patterns.
|
||||
.TP
|
||||
+{command}
|
||||
.TP
|
||||
-c {command}
|
||||
\-c {command}
|
||||
{command} will be executed after the
|
||||
first file has been read.
|
||||
{command} is interpreted as an Ex command.
|
||||
@@ -149,21 +149,21 @@ If the {command} contains spaces it must be enclosed in double quotes (this
|
||||
depends on the shell that is used).
|
||||
Example: Vim "+set si" main.c
|
||||
.br
|
||||
Note: You can use up to 10 "+" or "-c" commands.
|
||||
Note: You can use up to 10 "+" or "\-c" commands.
|
||||
.TP
|
||||
-S {file}
|
||||
\-S {file}
|
||||
{file} will be sourced after the first file has been read.
|
||||
This is equivalent to -c "source {file}".
|
||||
{file} cannot start with '-'.
|
||||
If {file} is omitted "Session.vim" is used (only works when -S is the last
|
||||
This is equivalent to \-c "source {file}".
|
||||
{file} cannot start with '\-'.
|
||||
If {file} is omitted "Session.vim" is used (only works when \-S is the last
|
||||
argument).
|
||||
.TP
|
||||
--cmd {command}
|
||||
Like using "-c", but the command is executed just before
|
||||
\-\-cmd {command}
|
||||
Like using "\-c", but the command is executed just before
|
||||
processing any vimrc file.
|
||||
You can use up to 10 of these commands, independently from "-c" commands.
|
||||
You can use up to 10 of these commands, independently from "\-c" commands.
|
||||
.TP
|
||||
-A
|
||||
\-A
|
||||
If
|
||||
.B Vim
|
||||
has been compiled with ARABIC support for editing right-to-left
|
||||
@@ -174,45 +174,45 @@ message is given and
|
||||
.B Vim
|
||||
aborts.
|
||||
.TP
|
||||
-b
|
||||
\-b
|
||||
Binary mode.
|
||||
A few options will be set that makes it possible to edit a binary or
|
||||
executable file.
|
||||
.TP
|
||||
-C
|
||||
\-C
|
||||
Compatible. Set the 'compatible' option.
|
||||
This will make
|
||||
.B Vim
|
||||
behave mostly like Vi, even though a .vimrc file exists.
|
||||
.TP
|
||||
-d
|
||||
\-d
|
||||
Start in diff mode.
|
||||
There should be two or three file name arguments.
|
||||
.B Vim
|
||||
will open all the files and show differences between them.
|
||||
Works like vimdiff(1).
|
||||
.TP
|
||||
-d {device}
|
||||
\-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
|
||||
script.
|
||||
.TP
|
||||
-e
|
||||
\-e
|
||||
Start
|
||||
.B Vim
|
||||
in Ex mode, just like the executable was called "ex".
|
||||
.TP
|
||||
-E
|
||||
\-E
|
||||
Start
|
||||
.B Vim
|
||||
in improved Ex mode, just like the executable was called "exim".
|
||||
.TP
|
||||
-f
|
||||
\-f
|
||||
Foreground. For the GUI version,
|
||||
.B Vim
|
||||
will not fork and detach from the shell it was started in.
|
||||
@@ -225,12 +225,12 @@ is executed by a program that will wait for the edit
|
||||
session to finish (e.g. mail).
|
||||
On the Amiga the ":sh" and ":!" commands will not work.
|
||||
.TP
|
||||
--nofork
|
||||
\-\-nofork
|
||||
Foreground. For the GUI version,
|
||||
.B Vim
|
||||
will not fork and detach from the shell it was started in.
|
||||
.TP
|
||||
-F
|
||||
\-F
|
||||
If
|
||||
.B Vim
|
||||
has been compiled with FKMAP support for editing right-to-left
|
||||
@@ -241,7 +241,7 @@ Otherwise an error message is given and
|
||||
.B Vim
|
||||
aborts.
|
||||
.TP
|
||||
-g
|
||||
\-g
|
||||
If
|
||||
.B Vim
|
||||
has been compiled with GUI support, this option enables the GUI.
|
||||
@@ -249,13 +249,13 @@ If no GUI support was compiled in, an error message is given and
|
||||
.B Vim
|
||||
aborts.
|
||||
.TP
|
||||
-h
|
||||
\-h
|
||||
Give a bit of help about the command line arguments and options.
|
||||
After this
|
||||
.B Vim
|
||||
exits.
|
||||
.TP
|
||||
-H
|
||||
\-H
|
||||
If
|
||||
.B Vim
|
||||
has been compiled with RIGHTLEFT support for editing right-to-left
|
||||
@@ -266,87 +266,87 @@ Otherwise an error message is given and
|
||||
.B Vim
|
||||
aborts.
|
||||
.TP
|
||||
-i {viminfo}
|
||||
\-i {viminfo}
|
||||
When using the viminfo file is enabled, this option sets the filename to use,
|
||||
instead of the default "~/.viminfo".
|
||||
This can also be used to skip the use of the .viminfo file, by giving the name
|
||||
"NONE".
|
||||
.TP
|
||||
-L
|
||||
Same as -r.
|
||||
\-L
|
||||
Same as \-r.
|
||||
.TP
|
||||
-l
|
||||
\-l
|
||||
Lisp mode.
|
||||
Sets the 'lisp' and 'showmatch' options on.
|
||||
.TP
|
||||
-m
|
||||
\-m
|
||||
Modifying files is disabled.
|
||||
Resets the 'write' option.
|
||||
You can still modify the buffer, but writing a file is not possible.
|
||||
.TP
|
||||
-M
|
||||
\-M
|
||||
Modifications not allowed. The 'modifiable' and 'write' options will be unset,
|
||||
so that changes are not allowed and files can not be written. Note that these
|
||||
options can be set to enable making modifications.
|
||||
.TP
|
||||
-N
|
||||
\-N
|
||||
No-compatible mode. Reset the 'compatible' option.
|
||||
This will make
|
||||
.B Vim
|
||||
behave a bit better, but less Vi compatible, even though a .vimrc file does
|
||||
not exist.
|
||||
.TP
|
||||
-n
|
||||
\-n
|
||||
No swap file will be used.
|
||||
Recovery after a crash will be impossible.
|
||||
Handy if you want to edit a file on a very slow medium (e.g. floppy).
|
||||
Can also be done with ":set uc=0".
|
||||
Can be undone with ":set uc=200".
|
||||
.TP
|
||||
-nb
|
||||
\-nb
|
||||
Become an editor server for NetBeans. See the docs for details.
|
||||
.TP
|
||||
-o[N]
|
||||
\-o[N]
|
||||
Open N windows stacked.
|
||||
When N is omitted, open one window for each file.
|
||||
.TP
|
||||
-O[N]
|
||||
\-O[N]
|
||||
Open N windows side by side.
|
||||
When N is omitted, open one window for each file.
|
||||
.TP
|
||||
-R
|
||||
\-R
|
||||
Read-only mode.
|
||||
The 'readonly' option will be set.
|
||||
You can still edit the buffer, but will be prevented from accidently
|
||||
overwriting a file.
|
||||
If you do want to overwrite a file, add an exclamation mark to the Ex command,
|
||||
as in ":w!".
|
||||
The -R option also implies the -n option (see below).
|
||||
The \-R option also implies the \-n option (see below).
|
||||
The 'readonly' option can be reset with ":set noro".
|
||||
See ":help 'readonly'".
|
||||
.TP
|
||||
-r
|
||||
\-r
|
||||
List swap files, with information about using them for recovery.
|
||||
.TP
|
||||
-r {file}
|
||||
\-r {file}
|
||||
Recovery mode.
|
||||
The swap file is used to recover a crashed editing session.
|
||||
The swap file is a file with the same filename as the text file with ".swp"
|
||||
appended.
|
||||
See ":help recovery".
|
||||
.TP
|
||||
-s
|
||||
Silent mode. Only when started as "Ex" or when the "-e" option was given
|
||||
before the "-s" option.
|
||||
\-s
|
||||
Silent mode. Only when started as "Ex" or when the "\-e" option was given
|
||||
before the "\-s" option.
|
||||
.TP
|
||||
-s {scriptin}
|
||||
\-s {scriptin}
|
||||
The script file {scriptin} is read.
|
||||
The characters in the file are interpreted as if you had typed them.
|
||||
The same can be done with the command ":source! {scriptin}".
|
||||
If the end of the file is reached before the editor exits, further characters
|
||||
are read from the keyboard.
|
||||
.TP
|
||||
-T {terminal}
|
||||
\-T {terminal}
|
||||
Tells
|
||||
.B Vim
|
||||
the name of the terminal you are using.
|
||||
@@ -356,49 +356,49 @@ to
|
||||
.B Vim
|
||||
(builtin) or defined in the termcap or terminfo file.
|
||||
.TP
|
||||
-u {vimrc}
|
||||
\-u {vimrc}
|
||||
Use the commands in the file {vimrc} for initializations.
|
||||
All the other initializations are skipped.
|
||||
Use this to edit a special kind of files.
|
||||
It can also be used to skip all initializations by giving the name "NONE".
|
||||
See ":help initialization" within vim for more details.
|
||||
.TP
|
||||
-U {gvimrc}
|
||||
\-U {gvimrc}
|
||||
Use the commands in the file {gvimrc} for GUI initializations.
|
||||
All the other GUI initializations are skipped.
|
||||
It can also be used to skip all GUI initializations by giving the name "NONE".
|
||||
See ":help gui-init" within vim for more details.
|
||||
.TP
|
||||
-V[N]
|
||||
\-V[N]
|
||||
Verbose. Give messages about which files are sourced and for reading and
|
||||
writing a viminfo file. The optional number N is the value for 'verbose'.
|
||||
Default is 10.
|
||||
.TP
|
||||
-v
|
||||
\-v
|
||||
Start
|
||||
.B Vim
|
||||
in Vi mode, just like the executable was called "vi". This only has effect
|
||||
when the executable is called "ex".
|
||||
.TP
|
||||
-w {scriptout}
|
||||
\-w {scriptout}
|
||||
All the characters that you type are recorded in the file
|
||||
{scriptout}, until you exit
|
||||
.B Vim.
|
||||
This is useful if you want to create a script file to be used with "vim -s" or
|
||||
This is useful if you want to create a script file to be used with "vim \-s" or
|
||||
":source!".
|
||||
If the {scriptout} file exists, characters are appended.
|
||||
.TP
|
||||
-W {scriptout}
|
||||
Like -w, but an existing file is overwritten.
|
||||
\-W {scriptout}
|
||||
Like \-w, but an existing file is overwritten.
|
||||
.TP
|
||||
-x
|
||||
\-x
|
||||
Use encryption when writing files. Will prompt for a crypt key.
|
||||
.TP
|
||||
-X
|
||||
\-X
|
||||
Don't connect to the X server. Shortens startup time in a terminal, but the
|
||||
window title and clipboard will not be used.
|
||||
.TP
|
||||
-y
|
||||
\-y
|
||||
Start
|
||||
.B Vim
|
||||
in easy mode, just like the executable was called "evim" or "eview".
|
||||
@@ -406,58 +406,58 @@ Makes
|
||||
.B Vim
|
||||
behave like a click-and-type editor.
|
||||
.TP
|
||||
-Z
|
||||
\-Z
|
||||
Restricted mode. Works like the executable starts with "r".
|
||||
.TP
|
||||
--
|
||||
\-\-
|
||||
Denotes the end of the options.
|
||||
Arguments after this will be handled as a file name.
|
||||
This can be used to edit a filename that starts with a '-'.
|
||||
This can be used to edit a filename that starts with a '\-'.
|
||||
.TP
|
||||
--echo-wid
|
||||
\-\-echo\-wid
|
||||
GTK GUI only: Echo the Window ID on stdout.
|
||||
.TP
|
||||
--help
|
||||
Give a help message and exit, just like "-h".
|
||||
\-\-help
|
||||
Give a help message and exit, just like "\-h".
|
||||
.TP
|
||||
--literal
|
||||
\-\-literal
|
||||
Take file name arguments literally, do not expand wildcards. This has no
|
||||
effect on Unix where the shell expands wildcards.
|
||||
.TP
|
||||
--noplugin
|
||||
Skip loading plugins. Implied by -u NONE.
|
||||
\-\-noplugin
|
||||
Skip loading plugins. Implied by \-u NONE.
|
||||
.TP
|
||||
--remote
|
||||
\-\-remote
|
||||
Connect to a Vim server and make it edit the files given in the rest of the
|
||||
arguments. If no server is found a warning is given and the files are edited
|
||||
in the current Vim.
|
||||
.TP
|
||||
--remote-expr {expr}
|
||||
\-\-remote\-expr {expr}
|
||||
Connect to a Vim server, evaluate {expr} in it and print the result on stdout.
|
||||
.TP
|
||||
--remote-send {keys}
|
||||
\-\-remote\-send {keys}
|
||||
Connect to a Vim server and send {keys} to it.
|
||||
.TP
|
||||
--remote-silent
|
||||
As --remote, but without the warning when no server is found.
|
||||
\-\-remote\-silent
|
||||
As \-\-remote, but without the warning when no server is found.
|
||||
.TP
|
||||
--remote-wait
|
||||
As --remote, but Vim does not exit until the files have been edited.
|
||||
\-\-remote\-wait
|
||||
As \-\-remote, but Vim does not exit until the files have been edited.
|
||||
.TP
|
||||
--remote-wait-silent
|
||||
As --remote-wait, but without the warning when no server is found.
|
||||
\-\-remote\-wait\-silent
|
||||
As \-\-remote\-wait, but without the warning when no server is found.
|
||||
.TP
|
||||
--serverlist
|
||||
\-\-serverlist
|
||||
List the names of all Vim servers that can be found.
|
||||
.TP
|
||||
--servername {name}
|
||||
\-\-servername {name}
|
||||
Use {name} as the server name. Used for the current Vim, unless used with a
|
||||
--remote argument, then it's the name of the server to connect to.
|
||||
\-\-remote argument, then it's the name of the server to connect to.
|
||||
.TP
|
||||
--socketid {id}
|
||||
\-\-socketid {id}
|
||||
GTK GUI only: Use the GtkPlug mechanism to run gvim in another window.
|
||||
.TP
|
||||
--version
|
||||
\-\-version
|
||||
Print version information and exit.
|
||||
.SH ON-LINE HELP
|
||||
Type ":help" in
|
||||
@@ -465,7 +465,7 @@ Type ":help" in
|
||||
to get started.
|
||||
Type ":help subject" to get help on a specific subject.
|
||||
For example: ":help ZZ" to get help for the "ZZ" command.
|
||||
Use <Tab> and CTRL-D to complete subjects (":help cmdline-completion").
|
||||
Use <Tab> and CTRL\-D to complete subjects (":help cmdline\-completion").
|
||||
Tags are present to jump from one place to another (sort of hypertext links,
|
||||
see ":help").
|
||||
All documentation files can be viewed in this way, for example
|
||||
@@ -476,7 +476,7 @@ All documentation files can be viewed in this way, for example
|
||||
The
|
||||
.B Vim
|
||||
documentation files.
|
||||
Use ":help doc-file-list" to get the complete list.
|
||||
Use ":help doc\-file\-list" to get the complete list.
|
||||
.TP
|
||||
/usr/local/lib/vim/doc/tags
|
||||
The tags file used for finding information in the documentation files.
|
||||
@@ -492,9 +492,17 @@ System wide
|
||||
.B Vim
|
||||
initializations.
|
||||
.TP
|
||||
~/.vimrc
|
||||
Your personal
|
||||
.B Vim
|
||||
initializations.
|
||||
.TP
|
||||
/usr/local/lib/vim/gvimrc
|
||||
System wide gvim initializations.
|
||||
.TP
|
||||
~/.gvimrc
|
||||
Your personal gvim initializations.
|
||||
.TP
|
||||
/usr/local/lib/vim/optwin.vim
|
||||
Script used for the ":options" command, a nice way to view and set options.
|
||||
.TP
|
||||
|
||||
@@ -370,9 +370,13 @@ FILES
|
||||
/usr/local/lib/vim/vimrc
|
||||
System wide Vim initializations.
|
||||
|
||||
~/.vimrc Your personal Vim initializations.
|
||||
|
||||
/usr/local/lib/vim/gvimrc
|
||||
System wide gvim initializations.
|
||||
|
||||
~/.gvimrc Your personal gvim initializations.
|
||||
|
||||
/usr/local/lib/vim/optwin.vim
|
||||
Script used for the ":options" command, a nice way to
|
||||
view and set options.
|
||||
|
||||
@@ -34,8 +34,8 @@ L'opzione 'foldmethod'
|
||||
linee uguali fra i diversi file in una piegatura. 'foldcolumn' <20> impostato
|
||||
a due per poter facilmente visualizzare le piegature, aprirle e chiuderle.
|
||||
.SH OPZIONI
|
||||
Lo schermo <20> diviso verticalmente, come se aveste usato l'opzione "-O".
|
||||
Per dividerlo orizzontalmente, usare l'opzione "-o".
|
||||
Lo schermo <20> diviso verticalmente, come se aveste usato l'opzione "\-O".
|
||||
Per dividerlo orizzontalmente, usare l'opzione "\-o".
|
||||
.PP
|
||||
Per tutte le altre opzioni, vedere vim(1).
|
||||
.SH VEDERE ANCHE
|
||||
|
||||
48
runtime/doc/vimdiff-it.UTF-8.1
Normal file
48
runtime/doc/vimdiff-it.UTF-8.1
Normal file
@@ -0,0 +1,48 @@
|
||||
.TH VIMDIFF 1 "30 marzo 2001"
|
||||
.SH NOME
|
||||
vimdiff \- modifica due o tre versioni di un file con Vim, visualizzando le
|
||||
differenze
|
||||
.SH SINTASSI
|
||||
.br
|
||||
.B vimdiff
|
||||
[opzioni] file1 file2 [file3]
|
||||
.PP
|
||||
.B gvimdiff
|
||||
.SH DESCRIZIONE
|
||||
.B Vimdiff
|
||||
inizia
|
||||
.B Vim
|
||||
per due (o tre) file.
|
||||
Ogni file ha una sua finestra.
|
||||
Le differenze fra file sono evidenziate.
|
||||
E' una maniera elegante per controllare modifiche e portare modifiche
|
||||
verso un'altra versione dello stesso file.
|
||||
.PP
|
||||
Vedere vim(1) per dettagli su Vim in generale.
|
||||
.PP
|
||||
Se iniziato con
|
||||
.B gvimdiff
|
||||
la GUI sarà utilizzata, se disponibile.
|
||||
.PP
|
||||
In ogni finestra l'opzione 'diff' è impostata, evidenziando così le
|
||||
differenze.
|
||||
.br
|
||||
Le opzioni 'wrap' e 'scrollbind' sono impostate per migliorare la
|
||||
visibilità del testo.
|
||||
.br
|
||||
L'opzione 'foldmethod' è impostata al valore "diff", che mette gruppi di
|
||||
linee uguali fra i diversi file in una piegatura. 'foldcolumn' è impostato
|
||||
a due per poter facilmente visualizzare le piegature, aprirle e chiuderle.
|
||||
.SH OPZIONI
|
||||
Lo schermo è diviso verticalmente, come se aveste usato l'opzione "\-O".
|
||||
Per dividerlo orizzontalmente, usare l'opzione "\-o".
|
||||
.PP
|
||||
Per tutte le altre opzioni, vedere vim(1).
|
||||
.SH VEDERE ANCHE
|
||||
vim(1)
|
||||
.SH AUTORE
|
||||
Buona parte di
|
||||
.B Vim
|
||||
è stato scritto da Bram Moolenaar, con molto aiuto da altri.
|
||||
Vedere ":help credits" in
|
||||
.B Vim.
|
||||
50
runtime/doc/vimdiff-ru.1
Normal file
50
runtime/doc/vimdiff-ru.1
Normal file
@@ -0,0 +1,50 @@
|
||||
.TH VIMDIFF 1 "2001 March 30"
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD>
|
||||
vimdiff \- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Vim
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.br
|
||||
.B vimdiff
|
||||
[<5B><><EFBFBD><EFBFBD><EFBFBD>] <20><><EFBFBD><EFBFBD>1 <20><><EFBFBD><EFBFBD>2 [<5B><><EFBFBD><EFBFBD>3]
|
||||
.PP
|
||||
.B gvimdiff
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B vimdiff
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD>) <20><><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>ӣ<EFBFBD><D3A3><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> Vim <20><>. <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> vim(1).
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B gvimdiff
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.PP
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> 'diff', <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.br
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 'wrap' <20> 'scrollbind'.
|
||||
.br
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> 'foldmethod' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "diff", <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> 'foldcolumn' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>,
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> "-O". <20><><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> "-o".
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> vim(1).
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
vim(1)
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (Bram Moolenaar), <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>. <20><>. ":help credits" <20>
|
||||
.B Vim.
|
||||
50
runtime/doc/vimdiff-ru.UTF-8.1
Normal file
50
runtime/doc/vimdiff-ru.UTF-8.1
Normal file
@@ -0,0 +1,50 @@
|
||||
.TH VIMDIFF 1 "2001 March 30"
|
||||
.SH ИМЯ
|
||||
vimdiff \- позволяет редактировать две или три версии файла с помощью Vim
|
||||
с отображением различий.
|
||||
.SH КОМАНДНАЯ СТРОКА
|
||||
.br
|
||||
.B vimdiff
|
||||
[ключи] файл1 файл2 [файл3]
|
||||
.PP
|
||||
.B gvimdiff
|
||||
.SH ОПИСАНИЕ
|
||||
Команда
|
||||
.B vimdiff
|
||||
загружает в
|
||||
.B Vim
|
||||
два (или три) файла. Каждый файл открывается в собственном окне.
|
||||
Различия между файлами отображаются с помощью подсветки синтаксиса.
|
||||
Эта команда позволяет наглядно отображать внесённые изменения и переносить
|
||||
различающиеся фрагменты из одной версии файла в другую.
|
||||
.PP
|
||||
Подробнее о Vim см. на странице справочника vim(1).
|
||||
.PP
|
||||
При запуске с помощью команды
|
||||
.B gvimdiff
|
||||
редактор запускается в режиме графического интерфейса, если это возможно.
|
||||
.PP
|
||||
В каждом окне включается опция 'diff', что позволяет использовать подсветку
|
||||
синтаксиса для отображения различий между файлами.
|
||||
.br
|
||||
Для улучшения работы с файлами в режиме отображения отличий также включаются
|
||||
опции 'wrap' и 'scrollbind'.
|
||||
.br
|
||||
Значение опции 'foldmethod' устанавливается равным "diff", что позволяет
|
||||
прятать в складку области текста, которые не отличаются в различных версиях файла.
|
||||
Значение опции 'foldcolumn' устанавливается равным 2, чтобы было проще
|
||||
находить, открывать и закрывать такие складки.
|
||||
.SH КЛЮЧИ ЗАПУСКА
|
||||
Для выравнивания строк между окнами используется вертикальное разделение окон,
|
||||
как если бы использовался ключ "-O". Для того, чтобы использовать разделение
|
||||
окон по горизонтали, следует указать в командной строке ключ "-o".
|
||||
.PP
|
||||
Остальные ключи командной строки рассматриваются на странице справочника vim(1).
|
||||
.SH СМОТРИ ТАКЖЕ
|
||||
vim(1)
|
||||
.SH АВТОРЫ
|
||||
Большая часть
|
||||
.B Vim
|
||||
создана Брамом Мооленааром (Bram Moolenaar), которому помогает огромное
|
||||
количество людей. См. ":help credits" в
|
||||
.B Vim.
|
||||
@@ -32,8 +32,8 @@ The 'foldmethod' option is set to "diff", which puts ranges of lines without
|
||||
changes in a fold. 'foldcolumn' is set to two to make it easy to spot the
|
||||
folds and open or close them.
|
||||
.SH OPTIONS
|
||||
Vertical splits are used to align the lines, as if the "-O" argument was used.
|
||||
To use horizontal splits intead, use the "-o" argument.
|
||||
Vertical splits are used to align the lines, as if the "\-O" argument was used.
|
||||
To use horizontal splits intead, use the "\-o" argument.
|
||||
.PP
|
||||
For all other arguments see vim(1).
|
||||
.SH SEE ALSO
|
||||
|
||||
@@ -18,7 +18,7 @@ is useful for people that want to learn their first
|
||||
.B Vim
|
||||
commands.
|
||||
.PP
|
||||
The optional [language] argument is the two-letter name of a language, like
|
||||
The optional [language] argument is the two\-letter name of a language, like
|
||||
"it" or "es".
|
||||
If the [language] argument is missing, the language of the current locale will
|
||||
be used.
|
||||
@@ -44,7 +44,7 @@ The
|
||||
<EFBFBD> stato scritto in origine per Vi da Michael C. Pierce e Robert K. Ware,
|
||||
Colorado School of Mines, usando idee fornite da Charles Smith,
|
||||
Colorado State University.
|
||||
E-mail: bware@mines.colorado.edu.
|
||||
E\-mail: bware@mines.colorado.edu.
|
||||
.br
|
||||
E' stato modificato per
|
||||
.B Vim
|
||||
|
||||
54
runtime/doc/vimtutor-it.UTF-8.1
Normal file
54
runtime/doc/vimtutor-it.UTF-8.1
Normal file
@@ -0,0 +1,54 @@
|
||||
.TH VIMTUTOR 1 "2001 April 2"
|
||||
.SH NOME
|
||||
vimtutor \- the Vim tutor
|
||||
.SH SINTASSI
|
||||
.br
|
||||
.B vimtutor [lingua]
|
||||
.SH DESCRIZIONE
|
||||
.B Vimtutor
|
||||
inizia il
|
||||
.B Vim
|
||||
tutor.
|
||||
It copies the tutor file first, so that it can be modified without changing
|
||||
the original file.
|
||||
.PP
|
||||
The
|
||||
.B Vimtutor
|
||||
is useful for people that want to learn their first
|
||||
.B Vim
|
||||
commands.
|
||||
.PP
|
||||
The optional [language] argument is the two\-letter name of a language, like
|
||||
"it" or "es".
|
||||
If the [language] argument is missing, the language of the current locale will
|
||||
be used.
|
||||
If a tutor in this language is available, it will be used.
|
||||
Otherwise the English version will be used.
|
||||
.PP
|
||||
.B Vim
|
||||
is always started in Vi compatible mode.
|
||||
.SH FILE
|
||||
.TP 15
|
||||
/usr/local/lib/vim/tutor/tutor[.language]
|
||||
The
|
||||
.B Vimtutor
|
||||
text file(s).
|
||||
.TP 15
|
||||
/usr/local/lib/vim/tutor/tutor.vim
|
||||
The Vim script used to copy the
|
||||
.B Vimtutor
|
||||
text file.
|
||||
.SH AUTORE
|
||||
The
|
||||
.B Vimtutor
|
||||
è stato scritto in origine per Vi da Michael C. Pierce e Robert K. Ware,
|
||||
Colorado School of Mines, usando idee fornite da Charles Smith,
|
||||
Colorado State University.
|
||||
E\-mail: bware@mines.colorado.edu.
|
||||
.br
|
||||
E' stato modificato per
|
||||
.B Vim
|
||||
da Bram Moolenaar.
|
||||
Per i nomi dei traduttori, vedere i file usati nelle rispettive lingue.
|
||||
.SH VEDERE ANCHE
|
||||
vim(1)
|
||||
51
runtime/doc/vimtutor-ru.1
Normal file
51
runtime/doc/vimtutor-ru.1
Normal file
@@ -0,0 +1,51 @@
|
||||
.TH VIMTUTOR 1 "2001 April 2"
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD>
|
||||
vimtutor \- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> Vim
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.br
|
||||
.B vimtutor [<5B><><EFBFBD><EFBFBD>]
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B vimtutor
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>
|
||||
.B Vim.
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>.
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B vimtutor
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim.
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [<5B><><EFBFBD><EFBFBD>] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>,
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "ru" <20><><EFBFBD> "it".
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [<5B><><EFBFBD><EFBFBD>] <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> Vi.
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.TP 15
|
||||
/usr/local/lib/vim/tutor/tutor[.<2E><><EFBFBD><EFBFBD>]
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B vimtutor.
|
||||
.TP 15
|
||||
/usr/local/lib/vim/tutor/tutor.vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Vim, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B vimtutor.
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B Vimtutor
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> Vi <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (Michael C. Pierce) <20>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>. <20><><EFBFBD> (Robert K. Ware) <20><> Colorado School of Mines <20><>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (Charles Smith) <20><> Colorado State University.
|
||||
E-mail: bware@mines.colorado.edu.
|
||||
.br
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>
|
||||
.B Vim
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (Bram Moolenaar).
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
vim(1)
|
||||
51
runtime/doc/vimtutor-ru.UTF-8.1
Normal file
51
runtime/doc/vimtutor-ru.UTF-8.1
Normal file
@@ -0,0 +1,51 @@
|
||||
.TH VIMTUTOR 1 "2001 April 2"
|
||||
.SH ИМЯ
|
||||
vimtutor \- учебник по Vim
|
||||
.SH КОМАНДНАЯ СТРОКА
|
||||
.br
|
||||
.B vimtutor [язык]
|
||||
.SH ОПИСАНИЕ
|
||||
Команда
|
||||
.B vimtutor
|
||||
запускает учебник по
|
||||
.B Vim.
|
||||
При этом сначала происходит создание копии файла учебника,
|
||||
чтобы его можно было редактировать без опасения потерять исходный файл.
|
||||
.PP
|
||||
Программа
|
||||
.B vimtutor
|
||||
полезна для новичков, желающих научиться самым основным командам
|
||||
.B Vim.
|
||||
.PP
|
||||
Необязательный параметр [язык] представляет собой двухсимвольный код языка,
|
||||
например "ru" или "it".
|
||||
Если параметр [язык] не указан, то используется язык активной в настоящий
|
||||
момент локали. Если учебник на этом языке не существует, то по умолчанию
|
||||
используется учебник на английском языке.
|
||||
.PP
|
||||
При работе с учебником
|
||||
.B Vim
|
||||
всегда запускается в режиме совместимости с Vi.
|
||||
.SH ФАЙЛЫ
|
||||
.TP 15
|
||||
/usr/local/lib/vim/tutor/tutor[.язык]
|
||||
Текст учебника
|
||||
.B vimtutor.
|
||||
.TP 15
|
||||
/usr/local/lib/vim/tutor/tutor.vim
|
||||
Сценарий Vim, который используется для создания рабочей
|
||||
копии текста учебника
|
||||
.B vimtutor.
|
||||
.SH АВТОРЫ
|
||||
.B Vimtutor
|
||||
был впервые написан для Vi Майклом К. Пирсом (Michael C. Pierce) и
|
||||
Робертом К. Уэа (Robert K. Ware) из Colorado School of Mines по
|
||||
идее Чарльза Смита (Charles Smith) из Colorado State University.
|
||||
E-mail: bware@mines.colorado.edu.
|
||||
.br
|
||||
Впоследствии учебник был доработан для использования в
|
||||
.B Vim
|
||||
Брамом Мооленааром (Bram Moolenaar).
|
||||
Имена переводчиков учебника упоминаются в соответствующих файлах.
|
||||
.SH СМОТРИ ТАКЖЕ
|
||||
vim(1)
|
||||
@@ -1,4 +1,4 @@
|
||||
*windows.txt* For Vim version 7.0aa. Last change: 2004 Dec 29
|
||||
*windows.txt* For Vim version 7.0aa. Last change: 2005 Feb 18
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -587,7 +587,7 @@ can also get to them with the buffer list commands, like ":bnext".
|
||||
not split. Also see |++opt| and |+cmd|.
|
||||
|
||||
*:sfir* *:sfirst*
|
||||
:sfir[st [++opt] [+cmd]
|
||||
:sfir[st] [++opt] [+cmd]
|
||||
Same as ":srewind".
|
||||
|
||||
*:sla* *:slast*
|
||||
@@ -1098,7 +1098,7 @@ help Contains a help file. Will only be created with the |:help|
|
||||
and can't be changed. The 'buflisted' option will be reset
|
||||
for a help buffer.
|
||||
|
||||
directory Displays directory contents. Used by the |file-explorer|
|
||||
directory Displays directory contents. Can be used by a file explorer
|
||||
plugin. The buffer is created with these settings: >
|
||||
:set buftype=nowrite
|
||||
:set bufhidden=delete
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
crea un'immagine esadecimale di un dato file o dello "standard input".
|
||||
Pu<EFBFBD> anche ottenere da un'immagine esadecimale il file binario originale.
|
||||
Come
|
||||
.BR uuencode(1)
|
||||
.BR uuencode (1)
|
||||
e
|
||||
.BR uudecode(1)
|
||||
.BR uudecode (1)
|
||||
permette di trasmettere dati binari in una rapresentazione ASCII "a prova
|
||||
di email", ma ha anche il vantaggio di poter decodificare sullo "standard
|
||||
output". Inoltre, pu<70> essere usato per effettuare delle modifiche (patch)
|
||||
@@ -124,21 +124,21 @@ o delle linee vuote possono essere inserite a piacere [e vengono ingorate].
|
||||
.TP
|
||||
.I \-seek distanza
|
||||
Usato con l'opzione
|
||||
.I \-r
|
||||
: (ricostruzione),
|
||||
.IR \-r :
|
||||
(ricostruzione),
|
||||
.RI < distanza >
|
||||
viene aggiunta alla posizione nel file trovata nella immagine
|
||||
esadecimale.
|
||||
.TP
|
||||
.I \-s [\+][\-]seek
|
||||
.I \-s [+][\-]seek
|
||||
Inizia a
|
||||
.RI < seek >
|
||||
bytes assoluti (o relativi) di distanza all'interno di input_file.
|
||||
\fI\+ \fRindica che il "seek" <20> relativo alla posizione corrente nel file
|
||||
\fI+ \fRindica che il "seek" <20> relativo alla posizione corrente nel file
|
||||
"standard input" (non significativa quando non si legge da "standard input").
|
||||
\fI\- \fRindica che il "seek" dovrebbe posizionarsi ad quel numero di
|
||||
caratteri dalla fine dell'input (o se in combinazione con
|
||||
\fI \+ \fR: prime della posizione corrente nel file "standard input").
|
||||
\fI+ \fR: prime della posizione corrente nel file "standard input").
|
||||
Se non si specifica una opzione \-s option, xxd inizia alla posizione
|
||||
corrente all'interno del file.
|
||||
.TP
|
||||
@@ -183,7 +183,7 @@ e
|
||||
.PP
|
||||
.I xxd \-s \+seek
|
||||
pu<EFBFBD> comportarsi in modo diverso da
|
||||
.I xxd \-s seek
|
||||
.IR "xxd \-s seek"
|
||||
, perch<63> lseek(2) <20> usata per tornare indietro nel file di input. Il '+'
|
||||
fa differenza se il file di input <20> lo "standard input", e se la pozione nel
|
||||
file di "standard input" non <20> all'inizio del file quando xxd <20> eseguito,
|
||||
@@ -202,7 +202,7 @@ si aggiunge a 1k (1024) dove `dd' si era fermato.
|
||||
.br
|
||||
\fI% sh \-c 'dd of=normale bs=1k count=1; xxd \-s +128 > esadecimale' < file
|
||||
.PP
|
||||
Immagine esadecimale dalla posizione 0x100 ( = 1024-768 ) del file in avanti.
|
||||
Immagine esadecimale dalla posizione 0x100 ( = 1024\-768 ) del file in avanti.
|
||||
.br
|
||||
\fI% sh \-c 'dd of=normale bs=1k count=1; xxd \-s +-768 > esadecimale' < file
|
||||
.PP
|
||||
|
||||
402
runtime/doc/xxd-it.UTF-8.1
Normal file
402
runtime/doc/xxd-it.UTF-8.1
Normal file
@@ -0,0 +1,402 @@
|
||||
.TH XXD 1 "Agosto 1996" "Pagina di manuale per xxd"
|
||||
.\"
|
||||
.\" 21 Maggio 1996
|
||||
.\" Autore della pagina di manuale:
|
||||
.\" Tony Nugent <tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au>
|
||||
.\" Modificato da Bram Moolenaar <Bram@vim.org>
|
||||
.SH NOME
|
||||
.I xxd
|
||||
\- Produce esadecimale da un file binario o viceversa.
|
||||
.SH SINTASSI
|
||||
.B xxd
|
||||
\-h[elp]
|
||||
.br
|
||||
.B xxd
|
||||
[opzioni] [input_file [output_file]]
|
||||
.br
|
||||
.B xxd
|
||||
\-r[evert] [opzioni] [input_file [output_file]]
|
||||
.SH DESCRIZIONE
|
||||
.I xxd
|
||||
crea un'immagine esadecimale di un dato file o dello "standard input".
|
||||
Può anche ottenere da un'immagine esadecimale il file binario originale.
|
||||
Come
|
||||
.BR uuencode (1)
|
||||
e
|
||||
.BR uudecode (1)
|
||||
permette di trasmettere dati binari in una rapresentazione ASCII "a prova
|
||||
di email", ma ha anche il vantaggio di poter decodificare sullo "standard
|
||||
output". Inoltre, può essere usato per effettuare delle modifiche (patch)
|
||||
a file binari.
|
||||
.SH OPZIONI
|
||||
Se non si specifica un
|
||||
.I input_file
|
||||
il programma legge dallo "standard input".
|
||||
Se
|
||||
.I input_file
|
||||
è specificato come il carattere
|
||||
.RB \` \- '
|
||||
, l'input è letto dallo "standard input".
|
||||
Se non si specifica un
|
||||
.I output_file
|
||||
(o si mette al suo posto il carattere
|
||||
.RB \` \- '
|
||||
), i risultati sono inviati allo "standard output".
|
||||
.PP
|
||||
Si noti che la scansione dei caratteri è "pigra", e non controlla oltre
|
||||
la prima lettera dell'opzione, a meno che l'opzione sia seguita da un
|
||||
parametro.
|
||||
Gli spazi fra una singola lettera di opzione e il corrispondente parametro
|
||||
dopo di essa sono facoltativi.
|
||||
I parametri delle opzioni possono essere specificati usando la notazione
|
||||
decimale, esadecimale oppure ottale.
|
||||
Pertanto
|
||||
.BR \-c8 ,
|
||||
.BR "\-c 8" ,
|
||||
.B \-c 010
|
||||
e
|
||||
.B \-cols 8
|
||||
sono notazioni equivalenti fra loro.
|
||||
.PP
|
||||
.TP
|
||||
.IR \-a " | " \-autoskip
|
||||
Richiesta di autoskip: Un singolo '*' rimpiazza linee di zeri binari.
|
||||
Valore predefinito: off.
|
||||
.TP
|
||||
.IR \-b " | " \-bits
|
||||
Richiesta di una immagine binaria (cifre binarie), invece che esadecimale.
|
||||
Questa opzione scrive un byte come otto cifre "1" e "0" invece di usare i
|
||||
numeri esadecimali. Ogni linea è preceduta da un indirizzo in esadecimale e
|
||||
seguita da una decodifica ascii (o ebcdic). Le opzioni specificabili dalla
|
||||
linea comando \-r, \-p, \-i non funzionano in questo modo.
|
||||
.TP
|
||||
.IR "\-c colonne " | " \-cols colonne"
|
||||
.IR "\-c colonne " | " \-cols colonne"
|
||||
In ogni linea sono formattate
|
||||
.RI < colonne >
|
||||
colonne. Valore predefinito 16 (\-i: 12, \-ps: 30, \-b: 6).
|
||||
Valore massimo 256.
|
||||
.TP
|
||||
.IR \-E " | " \-EBCDIC
|
||||
Cambia la codifica della colonna di destra da ASCII a EBCDIC.
|
||||
Questo non modifica la rappresentazione esadecimale. Non ha senso
|
||||
specificare questa opzione in combinazione con \-r, \-p o \-i.
|
||||
.TP
|
||||
.IR "\-g bytes " | " \-groupsize bytes"
|
||||
Inserisci ogni
|
||||
.RI < bytes >
|
||||
bytes di output (di due caratteri esadecimali o otto numeri binari ognuno)
|
||||
uno spazio bianco.
|
||||
Specificando
|
||||
.I \-g 0
|
||||
i bytes di output non sono separati da alcuno spazio.
|
||||
.RI < Bytes "> ha come valore predefinito " 2
|
||||
in modalità normale [esadecimale] e \fI1\fP in modalità binaria.
|
||||
Il raggruppamento non si applica agli stili "PostScript" e "include".
|
||||
.TP
|
||||
.IR \-h " | " \-help
|
||||
stampa un sommario dei comandi disponibili ed esce. Non viene fatto
|
||||
null'altro.
|
||||
.TP
|
||||
.IR \-i " | " \-include
|
||||
L'output è nello stile dei file "include" in C. Viene preparata la
|
||||
definizione completa di un "array" [vettore], dandogli il nome del
|
||||
file di input), tranne che nel caso in cui xxd legga dallo "standard input".
|
||||
.TP
|
||||
.IR "\-l lunghezza " | " \-len lunghezza"
|
||||
Il programma esce dopo aver scritto
|
||||
.RI < lunghezza >
|
||||
bytes.
|
||||
.TP
|
||||
.IR \-p " | " \-ps " | " \-postscript " | " \-plain
|
||||
L'output è nello stile di un dump continuo sotto postscript.
|
||||
Noto anche come stile esadecimale semplice [plain].
|
||||
.TP
|
||||
.IR \-r " | " \-revert
|
||||
ricostruzione: converte (o mette una patch) a partire dall'immagine
|
||||
esadecimale, creando [o modificando] il file binario.
|
||||
Se non diretto allo "standard output", xxd scrive nel suo file di output
|
||||
in maniera continua, senza interruzioni. Usare la combinazione
|
||||
.I \-r \-p
|
||||
per leggere dump in stile esadecimale semplice [plain], senza l'informazione
|
||||
di numero di linea e senza un particolare tracciato di colonna. Degli spazi
|
||||
o delle linee vuote possono essere inserite a piacere [e vengono ingorate].
|
||||
.TP
|
||||
.I \-seek distanza
|
||||
Usato con l'opzione
|
||||
.IR \-r :
|
||||
(ricostruzione),
|
||||
.RI < distanza >
|
||||
viene aggiunta alla posizione nel file trovata nella immagine
|
||||
esadecimale.
|
||||
.TP
|
||||
.I \-s [+][\-]seek
|
||||
Inizia a
|
||||
.RI < seek >
|
||||
bytes assoluti (o relativi) di distanza all'interno di input_file.
|
||||
\fI+ \fRindica che il "seek" è relativo alla posizione corrente nel file
|
||||
"standard input" (non significativa quando non si legge da "standard input").
|
||||
\fI\- \fRindica che il "seek" dovrebbe posizionarsi ad quel numero di
|
||||
caratteri dalla fine dell'input (o se in combinazione con
|
||||
\fI+ \fR: prime della posizione corrente nel file "standard input").
|
||||
Se non si specifica una opzione \-s option, xxd inizia alla posizione
|
||||
corrente all'interno del file.
|
||||
.TP
|
||||
.I \-u
|
||||
usa lettere esadecimali maiuscole. Il valore predefinito è di usare
|
||||
lettere minuscole.
|
||||
.TP
|
||||
.IR \-v " | " \-version
|
||||
visualizza la stringa contenente la versione del programma.
|
||||
.SH ATTENZIONE
|
||||
.PP
|
||||
.I xxd \-r
|
||||
è capace di operare "magie" nell'utilizzare l'informazione "numero di linea".
|
||||
Se sul file di output ci si può posizionare usando la "seek", il numero di
|
||||
linea all'inizio di ogni riga esadecimale può essere non ordinato, delle
|
||||
linee possono mancare delle linee, oppure esserci delle sovrapposizioni.
|
||||
In simili casi xxd userà lseek(2) per raggiungere la posizione d'inizio.
|
||||
Se il file di output non consente di usare "seek", sono permessi solo dei
|
||||
"buchi", che saranno riempiti con zeri binari.
|
||||
.PP
|
||||
.I xxd \-r
|
||||
non genera mai errori di specifica parametri. I parametri non riconosciuti
|
||||
sono silenziosamente ignorati.
|
||||
.PP
|
||||
Nel modificare immagini esadecimali, tenete conto che
|
||||
.I xxd \-r
|
||||
salta il resto della linea, dopo aver letto abbastanza caratteri contenenti
|
||||
dati esadecimali (vedere opzione \-c). Ciò implica pure che le modifiche alle
|
||||
colonne di caratteri stampabili ascii (o ebcdic) sono sempre ignorate.
|
||||
La ricostruzione da un file immagine esadecimale in stile semplice
|
||||
(postscript) con xxd \-r \-p non dipende dal numero corrretto di colonne.
|
||||
IN questo caso, qualsiasi cosa assomigli a una coppia di cifre esadecimali
|
||||
è interpretata [e utilizzata].
|
||||
.PP
|
||||
Notare la differenza fra
|
||||
.br
|
||||
\fI% xxd \-i file\fR
|
||||
.br
|
||||
e
|
||||
.br
|
||||
\fI% xxd \-i \< file\fR
|
||||
.PP
|
||||
.I xxd \-s \+seek
|
||||
può comportarsi in modo diverso da
|
||||
.IR "xxd \-s seek"
|
||||
, perché lseek(2) è usata per tornare indietro nel file di input. Il '+'
|
||||
fa differenza se il file di input è lo "standard input", e se la pozione nel
|
||||
file di "standard input" non è all'inizio del file quando xxd è eseguito,
|
||||
con questo input.
|
||||
I seguenti esempi possono contribuire a chiarire il concetto
|
||||
(o ad oscurarlo!)...
|
||||
.PP
|
||||
Riavvolge lo "standard input" prima di leggere; necessario perché `cat'
|
||||
ha già letto lo stesso file ["file"] fino alla fine dello "standard input".
|
||||
.br
|
||||
\fI% sh \-c 'cat > copia_normale; xxd \-s 0 > copia_esadecimale' < file
|
||||
.PP
|
||||
Stampa immagine esadecimale dalla posizione file 0x480 (=1024+128) in poi.
|
||||
Il segno `+' vuol dire "rispetto alla posizione corrente", quindi il `128'
|
||||
si aggiunge a 1k (1024) dove `dd' si era fermato.
|
||||
.br
|
||||
\fI% sh \-c 'dd of=normale bs=1k count=1; xxd \-s +128 > esadecimale' < file
|
||||
.PP
|
||||
Immagine esadecimale dalla posizione 0x100 ( = 1024\-768 ) del file in avanti.
|
||||
.br
|
||||
\fI% sh \-c 'dd of=normale bs=1k count=1; xxd \-s +-768 > esadecimale' < file
|
||||
.PP
|
||||
Comunque, questo capita raramente, e l'uso del `+' di rado.
|
||||
L'autore preferisce monitorare il comportamento di xxd con strace(1) o
|
||||
truss(1), quando si usa l'opzione \-s.
|
||||
.SH ESEMPI
|
||||
.PP
|
||||
.br
|
||||
Stampa tutto tranne le prime tre linee (0x30 bytes esadecimali) di
|
||||
.B file
|
||||
\.
|
||||
.br
|
||||
\fI% xxd \-s 0x30 file
|
||||
.PP
|
||||
.br
|
||||
Stampa 3 linee (0x30 bytes esadecimali) alla fine di
|
||||
.B file
|
||||
\.
|
||||
.br
|
||||
\fI% xxd \-s \-0x30 file
|
||||
.PP
|
||||
.br
|
||||
Stampa 120 bytes come immagine esadecimale continua con 40 bytes per linea.
|
||||
.br
|
||||
\fI% xxd \-l 120 \-ps \-c 20 xxd.1\fR
|
||||
|
||||
.br
|
||||
2e54482058584420312022417567757374203139
|
||||
.br
|
||||
39362220224d616e75616c207061676520666f72
|
||||
.br
|
||||
20787864220a2e5c220a2e5c222032317374204d
|
||||
.br
|
||||
617920313939360a2e5c22204d616e2070616765
|
||||
.br
|
||||
20617574686f723a0a2e5c2220202020546f6e79
|
||||
.br
|
||||
204e7567656e74203c746f6e79407363746e7567
|
||||
.br
|
||||
|
||||
.br
|
||||
Stampa i primi 120 bytes della pagina di manuale vim.1 a 12 bytes per linea.
|
||||
.br
|
||||
\fI% xxd \-l 120 \-c 12 xxd.1\fR
|
||||
|
||||
|
||||
.br
|
||||
0000000: 2e54 4820 5858 4420 3120 2241 .TH XXD 1 "A
|
||||
.br
|
||||
000000c: 7567 7573 7420 3139 3936 2220 ugust 1996"
|
||||
.br
|
||||
0000018: 224d 616e 7561 6c20 7061 6765 "Manual page
|
||||
.br
|
||||
0000024: 2066 6f72 2078 7864 220a 2e5c for xxd"..\
|
||||
.br
|
||||
0000030: 220a 2e5c 2220 3231 7374 204d "..\" 21st M
|
||||
.br
|
||||
000003c: 6179 2031 3939 360a 2e5c 2220 ay 1996..\"
|
||||
.br
|
||||
0000048: 4d61 6e20 7061 6765 2061 7574 Man page aut
|
||||
.br
|
||||
0000054: 686f 723a 0a2e 5c22 2020 2020 hor:..\"
|
||||
.br
|
||||
0000060: 546f 6e79 204e 7567 656e 7420 Tony Nugent
|
||||
.br
|
||||
000006c: 3c74 6f6e 7940 7363 746e 7567 <tony@sctnug
|
||||
.PP
|
||||
.br
|
||||
Visualizza la data dal file xxd.1
|
||||
.br
|
||||
\fI% xxd \-s 0x36 \-l 13 \-c 13 xxd.1\fR
|
||||
.br
|
||||
0000036: 3231 7374 204d 6179 2031 3939 36 21st May 1996
|
||||
.PP
|
||||
.br
|
||||
Copiare
|
||||
.B input_file
|
||||
su
|
||||
.B output_file
|
||||
premettendogli 100 bytes a 0x00.
|
||||
.br
|
||||
\fI% xxd input_file | xxd \-r \-s 100 \> output_file\fR
|
||||
.br
|
||||
|
||||
.br
|
||||
Modificare (patch) la data nel file xxd.1
|
||||
.br
|
||||
\fI% echo '0000037: 3574 68' | xxd \-r \- xxd.1\fR
|
||||
.br
|
||||
\fI% xxd \-s 0x36 \-l 13 \-c 13 xxd.1\fR
|
||||
.br
|
||||
0000036: 3235 7468 204d 6179 2031 3939 36 25th May 1996
|
||||
.PP
|
||||
.br
|
||||
Creare un file di 65537 tutto a 0x00,
|
||||
tranne che l'ultimo carattere che è una 'A' (esadecimale 0x41).
|
||||
.br
|
||||
\fI% echo '010000: 41' | xxd \-r \> file\fR
|
||||
.PP
|
||||
.br
|
||||
Stampa una immagine esadecimale del file di cui sopra con opzione autoskip.
|
||||
.br
|
||||
\fI% xxd \-a \-c 12 file\fR
|
||||
.br
|
||||
0000000: 0000 0000 0000 0000 0000 0000 ............
|
||||
.br
|
||||
*
|
||||
.br
|
||||
000fffc: 0000 0000 40 ....A
|
||||
.PP
|
||||
Crea un file di 1 byte che contiene il solo carattere 'A'.
|
||||
Il numero dopo '\-r \-s' viene aggiunto a quello trovato nel file;
|
||||
in pratica, i bytes precedenti non sono stampati.
|
||||
.br
|
||||
\fI% echo '010000: 41' | xxd \-r \-s \-0x10000 \> file\fR
|
||||
.PP
|
||||
Usare xxd come filtro all'interno di un editor come
|
||||
.B vim(1)
|
||||
per ottenere una immagine esadecimale di una parte di file
|
||||
delimitata dai mark `a' e `z'.
|
||||
.br
|
||||
\fI:'a,'z!xxd\fR
|
||||
.PP
|
||||
Usare xxd come filtro all'interno di un editor come
|
||||
.B vim(1)
|
||||
per ricostruire un pezzo di file binario da una immagine esadecimale
|
||||
delimitata dai mark `a' e `z'.
|
||||
.br
|
||||
\fI:'a,'z!xxd \-r\fR
|
||||
.PP
|
||||
Usare xxd come filtro all'interno di un editor come
|
||||
.B vim(1)
|
||||
per ricostruire una sola linea di file binario da una immagine esadecimale,
|
||||
Portare il cursore sopra la linea e battere:
|
||||
.br
|
||||
\fI!!xxd \-r\fR
|
||||
.PP
|
||||
Per leggere singoli charatteri da una linea seriale
|
||||
.br
|
||||
\fI% xxd \-c1 < /dev/term/b &\fR
|
||||
.br
|
||||
\fI% stty < /dev/term/b \-echo \-opost \-isig \-icanon min 1\fR
|
||||
.br
|
||||
\fI% echo \-n foo > /dev/term/b\fR
|
||||
.PP
|
||||
.SH CODICI DI RITORNO
|
||||
Il programma può restituire questi codici di errore:
|
||||
.TP
|
||||
0
|
||||
nessun errore rilevato.
|
||||
.TP
|
||||
\-1
|
||||
operazione non supportata (
|
||||
.I xxd \-r \-i
|
||||
non ancora possible).
|
||||
.TP
|
||||
1
|
||||
errore durante la scansione parametri.
|
||||
.TP
|
||||
2
|
||||
problemi con il file di input.
|
||||
.TP
|
||||
3
|
||||
problemi con il file di output.
|
||||
.TP
|
||||
4,5
|
||||
posizione "seek" specificata non raggiungibile all'interno del file.
|
||||
.SH VEDERE ANCHE
|
||||
uuencode(1), uudecode(1), patch(1)
|
||||
.br
|
||||
.SH AVVERTIMENTI
|
||||
La stranezza dello strumento rispecchia la mente del suo creatore.
|
||||
Usate a vostro rischio e pericolo. Copiate i file. Tracciate l'esecuzione.
|
||||
Diventate un mago.
|
||||
.br
|
||||
.SH VERSIONE
|
||||
Questa pagina di manuale documenta la versione 1.7 di xxd.
|
||||
.SH AUTORE
|
||||
.br
|
||||
(c) 1990-1997 Juergen Weigert
|
||||
.br
|
||||
<jnweiger@informatik.uni-erlangen.de>
|
||||
.LP
|
||||
Distribuite liberamente ed attribuitemi il credito,
|
||||
.br
|
||||
fate soldi e condivideteli con me
|
||||
.br
|
||||
perdete soldi e non venite a chiederli a me.
|
||||
.PP
|
||||
Pagina di manuale messa in piedi da Tony Nugent
|
||||
.br
|
||||
<tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au>
|
||||
.br
|
||||
Piccole modifiche di Bram Moolenaar.
|
||||
Modificato da Juergen Weigert.
|
||||
.PP
|
||||
408
runtime/doc/xxd-ru.1
Normal file
408
runtime/doc/xxd-ru.1
Normal file
@@ -0,0 +1,408 @@
|
||||
.TH XXD 1 "August 1996" "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> man <20><><EFBFBD> xxd"
|
||||
.\"
|
||||
.\" 21st May 1996
|
||||
.\" Man page author:
|
||||
.\" Tony Nugent <tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au>
|
||||
.\" Changes by Bram Moolenaar <Bram@vim.org>
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD>
|
||||
.I xxd
|
||||
\- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B xxd
|
||||
\-h[elp]
|
||||
.br
|
||||
.B xxd
|
||||
[<5B><><EFBFBD><EFBFBD><EFBFBD>] [<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD><5F><EFBFBD><EFBFBD> [<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD><5F><EFBFBD><EFBFBD>]]
|
||||
.br
|
||||
.B xxd
|
||||
\-r[evert] [<5B><><EFBFBD><EFBFBD><EFBFBD>] [<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD><5F><EFBFBD><EFBFBD> [<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD><5F><EFBFBD><EFBFBD>]]
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.I xxd
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.BR uuencode(1)
|
||||
<EFBFBD>
|
||||
.BR uudecode(1),
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> ASCII-<2D><><EFBFBD>,
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
xxd <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.I <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.I <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.RB \` \- ',
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.I <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
(<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.RB \` \- '
|
||||
), <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
.BR \-c8 ,
|
||||
.BR "\-c 8" ,
|
||||
.B \-c 010
|
||||
<EFBFBD>
|
||||
.B \-cols 8
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.PP
|
||||
.TP
|
||||
.IR \-a " | " \-autoskip
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '*'. <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
.IR \-b " | " \-bits
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>).
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "1" <20> "0". <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28> <20><><EFBFBD><EFBFBD> ascii <20><><EFBFBD> ebcdic). <20><><EFBFBD><EFBFBD><EFBFBD> \-r, \-p, \-i <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
.IR "\-c <20><><EFBFBD> " | " \-cols <20><><EFBFBD>"
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.RI < <EFBFBD><EFBFBD><EFBFBD> >,
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 16
|
||||
(\-i: 12, \-ps: 30, \-b: 6).
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: 256.
|
||||
.TP
|
||||
.IR \-E " | " \-EBCDIC
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> ASCII <20><> EBCDIC. <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> \-r, \-p <20><><EFBFBD> \-i.
|
||||
.TP
|
||||
.IR "\-g <20><><EFBFBD><EFBFBD> " | " \-groupsize <20><><EFBFBD><EFBFBD>"
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.RI < <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> >
|
||||
(<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>), <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.I \-g 0
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.RI < <EFBFBD><EFBFBD><EFBFBD><EFBFBD> "> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> " 2
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> \fI1\fP <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> postscript <20> include.
|
||||
.TP
|
||||
.IR \-h " | " \-help
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
.IR \-i " | " \-include
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> C.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> xxd <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
.IR "\-l <20><><EFBFBD><EFBFBD><EFBFBD> " | " \-len <20><><EFBFBD><EFBFBD><EFBFBD>"
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.RI < <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> >
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
.IR \-p " | " \-ps " | " \-postscript " | " \-plain
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>,
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> "postscript".
|
||||
.TP
|
||||
.IR \-r " | " \-revert
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>).
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> xxd <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.I \-r \-p
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
.I \-seek <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
.I \-r
|
||||
: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.RI < <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> >
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
.I \-s [\+][\-]seek
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
|
||||
.RI < <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> >
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD><5F><EFBFBD><EFBFBD><EFBFBD>.
|
||||
\fI\+ \fR<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>). \fI\- \fR<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> \fI \+ \fR:
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>).
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> \-s <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> xxd <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
.I \-u
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
.IR \-v " | " \-version
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.PP
|
||||
.I xxd \-r
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> xxd <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
lseek(2) <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.PP
|
||||
.I xxd \-r
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>
|
||||
.I xxd \-r
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><>. <20><><EFBFBD><EFBFBD> \-c). <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ascii (<28><><EFBFBD> ebcdic), <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
postscript <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> xxd \-r \-p <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>.
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.PP
|
||||
\fI% xxd \-i <20><><EFBFBD><EFBFBD>\fR
|
||||
.PP
|
||||
<EFBFBD>
|
||||
.PP
|
||||
\fI% xxd \-i \< <20><><EFBFBD><EFBFBD>\fR
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.I xxd \-s \+seek
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>
|
||||
.I xxd \-s seek,
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> lseek(2).
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> `+' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> xxd <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD> <20>ݣ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>...
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 'cat' <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>:
|
||||
.PP
|
||||
\fI% sh \-c 'cat > plain_copy; xxd \-s 0 > hex_copy' < file
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> 0x480
|
||||
(= 1024+128).
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> `+' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> `128' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> dd:
|
||||
.PP
|
||||
\fI% sh \-c 'dd of=plain_snippet bs=1k count=1; xxd \-s +128 > hex_snippet' < file
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> 0x100
|
||||
(= 1024-768):
|
||||
.PP
|
||||
\fI% sh \-c 'dd of=plain_snippet bs=1k count=1; xxd \-s +-768 > hex_snippet' < file
|
||||
.PP
|
||||
<EFBFBD> <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>,
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> `+' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
xxd <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> strace(1) <20><><EFBFBD> truss(1) <20> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
\-s.
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.PP
|
||||
.br
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ӣ, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ң<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (0x30 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B file
|
||||
:
|
||||
.PP
|
||||
\fI% xxd \-s 0x30 file
|
||||
.PP
|
||||
.br
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (0x30 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B file
|
||||
:
|
||||
.PP
|
||||
\fI% xxd \-s \-0x30 file
|
||||
.PP
|
||||
.br
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 120 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD> 40 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
.PP
|
||||
\fI% xxd \-l 120 \-ps \-c 20 xxd.1\fR
|
||||
.br
|
||||
2e544820585844203120224d616e75616c207061
|
||||
.br
|
||||
676520666f7220787864220a2e5c220a2e5c2220
|
||||
.br
|
||||
32317374204d617920313939360a2e5c22204d61
|
||||
.br
|
||||
6e207061676520617574686f723a0a2e5c222020
|
||||
.br
|
||||
2020546f6e79204e7567656e74203c746f6e7940
|
||||
.br
|
||||
7363746e7567656e2e7070702e67752e6564752e
|
||||
.br
|
||||
.PP
|
||||
.br
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 120 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> 12 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
.PP
|
||||
\fI% xxd \-l 120 \-c 12 xxd.1\fR
|
||||
.br
|
||||
0000000: 2e54 4820 5858 4420 3120 224d .TH XXD 1 "M
|
||||
.br
|
||||
000000c: 616e 7561 6c20 7061 6765 2066 anual page f
|
||||
.br
|
||||
0000018: 6f72 2078 7864 220a 2e5c 220a or xxd"..\\".
|
||||
.br
|
||||
0000024: 2e5c 2220 3231 7374 204d 6179 .\\" 21st May
|
||||
.br
|
||||
0000030: 2031 3939 360a 2e5c 2220 4d61 1996..\\" Ma
|
||||
.br
|
||||
000003c: 6e20 7061 6765 2061 7574 686f n page autho
|
||||
.br
|
||||
0000048: 723a 0a2e 5c22 2020 2020 546f r:..\\" To
|
||||
.br
|
||||
0000054: 6e79 204e 7567 656e 7420 3c74 ny Nugent <t
|
||||
.br
|
||||
0000060: 6f6e 7940 7363 746e 7567 656e ony@sctnugen
|
||||
.br
|
||||
000006c: 2e70 7070 2e67 752e 6564 752e .ppp.gu.edu.
|
||||
.PP
|
||||
.br
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> xxd.1:
|
||||
.PP
|
||||
\fI% xxd \-s 0x28 \-l 12 \-c 12 xxd.1\fR
|
||||
.br
|
||||
0000028: 3231 7374 204d 6179 2031 3939 21st May 199
|
||||
.PP
|
||||
.br
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.B <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD>
|
||||
.B <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 100 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 0x00 <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>:
|
||||
.PP
|
||||
\fI% xxd <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD><5F><EFBFBD><EFBFBD> | xxd \-r \-s 100 \> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD><5F><EFBFBD><EFBFBD>\fR
|
||||
.br
|
||||
.PP
|
||||
.br
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> xxd.1:
|
||||
.PP
|
||||
\fI% echo '0000029: 3574 68' | xxd \-r \- xxd.1\fR
|
||||
.br
|
||||
\fI% xxd \-s 0x28 \-l 12 \-c 12 xxd.1\fR
|
||||
.br
|
||||
0000028: 3235 7468 204d 6179 2031 3939 25th May 199
|
||||
.PP
|
||||
.br
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 65537-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
0x00, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 'A'
|
||||
(0x41):
|
||||
.PP
|
||||
\fI% echo '010000: 41' | xxd \-r \> file\fR
|
||||
.PP
|
||||
.br
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
.PP
|
||||
\fI% xxd \-a \-c 12 file\fR
|
||||
.br
|
||||
0000000: 0000 0000 0000 0000 0000 0000 ............
|
||||
.br
|
||||
*
|
||||
.br
|
||||
000fffc: 0000 0000 40 ....A
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 'A'.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> '\-r \-s' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD>;
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
.PP
|
||||
\fI% echo '010000: 41' | xxd \-r \-s \-0x10000 \> file\fR
|
||||
.PP
|
||||
xxd <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>
|
||||
.B vim(1),
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> `a' <20> `z':
|
||||
.PP
|
||||
\fI:'a,'z!xxd\fR
|
||||
.PP
|
||||
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> xxd <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>
|
||||
.B vim(1),
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> `a' <20> `z':
|
||||
.PP
|
||||
\fI:'a,'z!xxd \-r\fR
|
||||
.PP
|
||||
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> xxd <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>
|
||||
.B vim(1),
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.PP
|
||||
\fI!!xxd \-r\fR
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>:
|
||||
.PP
|
||||
\fI% xxd \-c1 < /dev/term/b &\fR
|
||||
.br
|
||||
\fI% stty < /dev/term/b \-echo \-opost \-isig \-icanon min 1\fR
|
||||
.br
|
||||
\fI% echo \-n foo > /dev/term/b\fR
|
||||
.PP
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> xxd <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
||||
.TP
|
||||
0
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
\-1
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.I xxd \-r \-i
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>).
|
||||
.TP
|
||||
1
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
2
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
3
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.TP
|
||||
4,5
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
uuencode(1), uudecode(1), patch(1)
|
||||
.br
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> ţ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ţ <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
.br
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> xxd <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1.7.
|
||||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
.br
|
||||
(c) 1990-1997 <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (Juergen Weigert)
|
||||
.br
|
||||
<jnweiger@informatik.uni-erlangen.de>
|
||||
.LP
|
||||
<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD>.
|
||||
.br
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>-<2D><> <20><><EFBFBD><EFBFBD><EFBFBD>,
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD>.
|
||||
.br
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20> <20><><EFBFBD> <20><> <20><><EFBFBD>ޣ<EFBFBD>.
|
||||
.PP
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (Tony Nugent)
|
||||
.br
|
||||
<tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au>
|
||||
.br
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (Bram Moolenaar).
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (Juergen Weigert).
|
||||
.PP
|
||||
408
runtime/doc/xxd-ru.UTF-8.1
Normal file
408
runtime/doc/xxd-ru.UTF-8.1
Normal file
@@ -0,0 +1,408 @@
|
||||
.TH XXD 1 "August 1996" "Страница man для xxd"
|
||||
.\"
|
||||
.\" 21st May 1996
|
||||
.\" Man page author:
|
||||
.\" Tony Nugent <tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au>
|
||||
.\" Changes by Bram Moolenaar <Bram@vim.org>
|
||||
.SH ИМЯ
|
||||
.I xxd
|
||||
\- создаёт представление файла в виде шестнадцатеричных кодов или выполняет
|
||||
обратное преобразование.
|
||||
.SH КОМАНДНАЯ СТРОКА
|
||||
.B xxd
|
||||
\-h[elp]
|
||||
.br
|
||||
.B xxd
|
||||
[ключи] [входной_файл [выходной_файл]]
|
||||
.br
|
||||
.B xxd
|
||||
\-r[evert] [ключи] [входной_файл [выходной_файл]]
|
||||
.SH ОПИСАНИЕ
|
||||
.I xxd
|
||||
создаёт представление указанного файла или данных, прочитанных из потока
|
||||
стандартного ввода, в виде шестнадцатеричных кодов. Эта команда также может
|
||||
выполнить обратное преобразование заданных шестнадцатеричными кодами данных
|
||||
в исходный бинарный формат.
|
||||
Подобно командам
|
||||
.BR uuencode(1)
|
||||
и
|
||||
.BR uudecode(1),
|
||||
она позволяет выполнять преобразование бинарных данных в ASCII-код,
|
||||
который можно передавать по электронной почте, однако, помимо этого, программа
|
||||
xxd позволяет выполнять декодирование в поток стандартного вывода,
|
||||
а также может применяться для создания заплаток для бинарных файлов.
|
||||
.SH КЛЮЧИ ЗАПУСКА
|
||||
Если
|
||||
.I входной_файл
|
||||
не задан, то соответствующие данные читаются из потока стандартного ввода.
|
||||
В случае, если в качестве
|
||||
.I входного_файла
|
||||
используется символ
|
||||
.RB \` \- ',
|
||||
источником данных также выступает поток стандартного ввода.
|
||||
В том случае, если не указан
|
||||
.I выходной_файл
|
||||
(или вместо него используется символ
|
||||
.RB \` \- '
|
||||
), результат преобразования направляется в поток стандартного вывода.
|
||||
.PP
|
||||
Обратите внимание, что используется "ленивый" алгоритм разбора ключей, который не
|
||||
проверяет более одной буквы ключа, если в этом ключе не используется параметр.
|
||||
Пробелы между единственным символом ключа и соответствующим параметром не являются
|
||||
обязательными. Параметры ключей могут быть заданы с использованием десятичного,
|
||||
шестнадцатеричного или восьмеричного формата.
|
||||
Таким образом, ключи
|
||||
.BR \-c8 ,
|
||||
.BR "\-c 8" ,
|
||||
.B \-c 010
|
||||
и
|
||||
.B \-cols 8
|
||||
являются равнозначными.
|
||||
.PP
|
||||
.TP
|
||||
.IR \-a " | " \-autoskip
|
||||
Включает автоматический пропуск: вместо последовательности
|
||||
нулевых строк используется одиночный символ '*'. По умолчанию
|
||||
не применяется.
|
||||
.TP
|
||||
.IR \-b " | " \-bits
|
||||
Вместо шестнадцатеричного кода используются биты (двоичные цифры).
|
||||
При использовании этого ключа вместо обычного шестнадцатеричного представления
|
||||
октетов используются наборы из восьми символов "1" и "0". Каждая строка
|
||||
предваряется номером строки в шестнадцатеричном виде, а завершается символьным
|
||||
представлением (в виде ascii или ebcdic). Ключи \-r, \-p, \-i в этом режиме
|
||||
не работают.
|
||||
.TP
|
||||
.IR "\-c кол " | " \-cols кол"
|
||||
Задаёт количество октетов
|
||||
.RI < кол >,
|
||||
которое выводится на каждой строке. По умолчанию используется значение 16
|
||||
(\-i: 12, \-ps: 30, \-b: 6).
|
||||
Максимально допустимое значение: 256.
|
||||
.TP
|
||||
.IR \-E " | " \-EBCDIC
|
||||
Изменяет способ кодирования символов в правой колонке с ASCII на EBCDIC. Этот ключ
|
||||
не изменяет шестнадцатеричное представление. Данный ключ не имеет смысла,
|
||||
если используются ключи \-r, \-p или \-i.
|
||||
.TP
|
||||
.IR "\-g байт " | " \-groupsize байт"
|
||||
Позволяет выполнять группировку указанного количества
|
||||
.RI < байтов >
|
||||
(две шестнадцатеричные цифры или восемь битов), отделяя группы друг от друга пробелами.
|
||||
Значение
|
||||
.I \-g 0
|
||||
применяется для отказа от использования группировки.
|
||||
По умолчанию используется значение
|
||||
.RI < байт "> равное " 2
|
||||
в обычном режиме и \fI1\fP в битовом режиме. Группировка не применяется
|
||||
в режимах postscript и include.
|
||||
.TP
|
||||
.IR \-h " | " \-help
|
||||
Выводит справку по доступным ключам командной строки и завершает работу программы.
|
||||
Создание шестнадцатеричного представления не выполняется.
|
||||
.TP
|
||||
.IR \-i " | " \-include
|
||||
Позволяет создавать вывод в стиле подключаемых заголовочных файлов языка C.
|
||||
Вывод содержит полноценное определение статического массива данных, имя которого
|
||||
соответствует имени входного файла, если xxd не считывает данные из потока стандартного
|
||||
ввода.
|
||||
.TP
|
||||
.IR "\-l длина " | " \-len длина"
|
||||
Завершает работу после записи заданного в параметре
|
||||
.RI < длина >
|
||||
количества октетов.
|
||||
.TP
|
||||
.IR \-p " | " \-ps " | " \-postscript " | " \-plain
|
||||
Использует непрерывный формат вывода шестнадцатеричного кода,
|
||||
известный как "простой" стиль или стиль "postscript".
|
||||
.TP
|
||||
.IR \-r " | " \-revert
|
||||
Изменяет смысл операции на противоположный: позволяет выполнять преобразование
|
||||
шестнадцатеричного представления в бинарный код (или применять результат в качестве заплаты).
|
||||
Если вывод происходит не в поток стандартного вывода, то xxd выполняет добавление кода
|
||||
к соответствующему файлу. При использовании комбинации ключей
|
||||
.I \-r \-p
|
||||
происходит чтение "простого" шестнадцатеричного представления без использования
|
||||
информации о номерах строк и какого-либо специального раскроя колонок. Пробелы
|
||||
и символы новой строки могут встречаться в любом месте исходных данных.
|
||||
.TP
|
||||
.I \-seek смещение
|
||||
При использовании после ключа
|
||||
.I \-r
|
||||
: добавлять указанное
|
||||
.RI < смещение >
|
||||
к файловым позициям, обнаруженным в исходных данных.
|
||||
.TP
|
||||
.I \-s [\+][\-]seek
|
||||
Начинает работу с указанного абсолютного (или относительного)
|
||||
.RI < смещения >
|
||||
в байтах во входном_файле.
|
||||
\fI\+ \fRуказывает, что смещение является относительным по отношению
|
||||
к текущей файловой позиции в потоке стандартного ввода (бессмысленно, если чтение
|
||||
происходит не из потока стандартного ввода). \fI\- \fRуказывает, что должно быть прочитано
|
||||
указанное количество символов от конца ввода (либо, если сочетается с \fI \+ \fR:
|
||||
перед текущей позиции файла в потоке стандартного ввода).
|
||||
Если ключ \-s не используется, то xxd начинает работу от текущей позиции в файле.
|
||||
.TP
|
||||
.I \-u
|
||||
Использует шестнадцатеричные цифры в верхнем регистре. По умолчанию используются цифры в
|
||||
нижнем регистре символов.
|
||||
.TP
|
||||
.IR \-v " | " \-version
|
||||
Отображает информацию о версии программы.
|
||||
.SH ПОДВОДНЫЕ КАМНИ
|
||||
.PP
|
||||
.I xxd \-r
|
||||
обладает встроенным интеллектом для распознавания информации о номерах строк.
|
||||
Если возможен поиск по входному файлу, то номера строк в начале каждой строки
|
||||
шестнадцатеричного представления могут быть неупорядоченными, некоторые строки могут
|
||||
быть пропущены или пересекаться друг с другом. В этих случаях xxd использует
|
||||
lseek(2) для перехода к следующей позиции. Если поиск по входному файлу
|
||||
невозможен, то допустимы только пропуски строк, которые заполняются нулевыми
|
||||
байтами.
|
||||
.PP
|
||||
.I xxd \-r
|
||||
никогда не выводит сообщений об ошибках. Мусор пропускается молча.
|
||||
.PP
|
||||
При редактировании шестнадцатеричных представлений бинарных файлов обращайте
|
||||
внимание, что
|
||||
.I xxd \-r
|
||||
пропускает в строке ввода любые данные после прочтения достаточного количества
|
||||
колонок шестнадцатеричных данных (см. ключ \-c). Это означает, что изменения,
|
||||
внесенные в колонки с печатными символами ascii (или ebcdic), всегда игнорируются.
|
||||
При обратном преобразовании шестнадцатеричного представления в стиле
|
||||
postscript с помощью команды xxd \-r \-p количество колонок не учитывается.
|
||||
В этом случае распознаются все символы, которые похожи на пары шестнадцатеричных цифр.
|
||||
.PP
|
||||
Обратите внимание на различие между командами
|
||||
.PP
|
||||
\fI% xxd \-i файл\fR
|
||||
.PP
|
||||
и
|
||||
.PP
|
||||
\fI% xxd \-i \< файл\fR
|
||||
.PP
|
||||
Команда
|
||||
.I xxd \-s \+seek
|
||||
может отличаться от
|
||||
.I xxd \-s seek,
|
||||
поскольку для того, чтобы "отмотать" данные на входе назад, используется вызов lseek(2).
|
||||
При использовании `+' поведение будет отличаться, если входные данные
|
||||
поступают с потока стандартного ввода, а позиция в файле стандартного ввода не находится
|
||||
в начале файла к тому моменту, когда программа xxd запущена и приступает к чтению ввода.
|
||||
Нижеследующие примеры помогут прояснить (или ещё больше запутать!) ситуацию...
|
||||
.PP
|
||||
Отмотка назад потока стандартного ввода; необходимо, поскольку 'cat' уже выполнила
|
||||
чтение до конца потока стандартного ввода:
|
||||
.PP
|
||||
\fI% sh \-c 'cat > plain_copy; xxd \-s 0 > hex_copy' < file
|
||||
.PP
|
||||
Вывод шестнадцатеричного представления от позиции в файле 0x480
|
||||
(= 1024+128).
|
||||
Символ `+' означает "относительно текущей позиции", таким образом `128' добавляется
|
||||
к первому килобайту, где завершает работу dd:
|
||||
.PP
|
||||
\fI% sh \-c 'dd of=plain_snippet bs=1k count=1; xxd \-s +128 > hex_snippet' < file
|
||||
.PP
|
||||
Вывод шестнадцатеричного представления от позиции в файле 0x100
|
||||
(= 1024-768):
|
||||
.PP
|
||||
\fI% sh \-c 'dd of=plain_snippet bs=1k count=1; xxd \-s +-768 > hex_snippet' < file
|
||||
.PP
|
||||
В то же время, следует заметить, что подобные ситуации встречаются довольно редко,
|
||||
так что символ `+' обычно не используется. Автор предпочитает наблюдать за работой
|
||||
xxd с помощью strace(1) или truss(1) в тех случаях, когда применяется ключ
|
||||
\-s.
|
||||
.SH ПРИМЕРЫ
|
||||
.PP
|
||||
.br
|
||||
Вывести всё, кроме первых трёх строк (0x30 байтов) файла
|
||||
.B file
|
||||
:
|
||||
.PP
|
||||
\fI% xxd \-s 0x30 file
|
||||
.PP
|
||||
.br
|
||||
Вывести три строки (0x30 байтов) от конца файла
|
||||
.B file
|
||||
:
|
||||
.PP
|
||||
\fI% xxd \-s \-0x30 file
|
||||
.PP
|
||||
.br
|
||||
Вывести 120 байтов в виде непрерывного шестнадцатеричного представления
|
||||
по 40 октетов в строке:
|
||||
.PP
|
||||
\fI% xxd \-l 120 \-ps \-c 20 xxd.1\fR
|
||||
.br
|
||||
2e544820585844203120224d616e75616c207061
|
||||
.br
|
||||
676520666f7220787864220a2e5c220a2e5c2220
|
||||
.br
|
||||
32317374204d617920313939360a2e5c22204d61
|
||||
.br
|
||||
6e207061676520617574686f723a0a2e5c222020
|
||||
.br
|
||||
2020546f6e79204e7567656e74203c746f6e7940
|
||||
.br
|
||||
7363746e7567656e2e7070702e67752e6564752e
|
||||
.br
|
||||
.PP
|
||||
.br
|
||||
Вывести первые 120 байтов этой страницы справочника по 12 октетов в строке:
|
||||
.PP
|
||||
\fI% xxd \-l 120 \-c 12 xxd.1\fR
|
||||
.br
|
||||
0000000: 2e54 4820 5858 4420 3120 224d .TH XXD 1 "M
|
||||
.br
|
||||
000000c: 616e 7561 6c20 7061 6765 2066 anual page f
|
||||
.br
|
||||
0000018: 6f72 2078 7864 220a 2e5c 220a or xxd"..\\".
|
||||
.br
|
||||
0000024: 2e5c 2220 3231 7374 204d 6179 .\\" 21st May
|
||||
.br
|
||||
0000030: 2031 3939 360a 2e5c 2220 4d61 1996..\\" Ma
|
||||
.br
|
||||
000003c: 6e20 7061 6765 2061 7574 686f n page autho
|
||||
.br
|
||||
0000048: 723a 0a2e 5c22 2020 2020 546f r:..\\" To
|
||||
.br
|
||||
0000054: 6e79 204e 7567 656e 7420 3c74 ny Nugent <t
|
||||
.br
|
||||
0000060: 6f6e 7940 7363 746e 7567 656e ony@sctnugen
|
||||
.br
|
||||
000006c: 2e70 7070 2e67 752e 6564 752e .ppp.gu.edu.
|
||||
.PP
|
||||
.br
|
||||
Показать дату из файла xxd.1:
|
||||
.PP
|
||||
\fI% xxd \-s 0x28 \-l 12 \-c 12 xxd.1\fR
|
||||
.br
|
||||
0000028: 3231 7374 204d 6179 2031 3939 21st May 199
|
||||
.PP
|
||||
.br
|
||||
Скопировать
|
||||
.B входной_файл
|
||||
в
|
||||
.B выходной_файл
|
||||
с добавлением 100 байтов со значением 0x00 в начало файла:
|
||||
.PP
|
||||
\fI% xxd входной_файл | xxd \-r \-s 100 \> выходной_файл\fR
|
||||
.br
|
||||
.PP
|
||||
.br
|
||||
Заменить дату в файле xxd.1:
|
||||
.PP
|
||||
\fI% echo '0000029: 3574 68' | xxd \-r \- xxd.1\fR
|
||||
.br
|
||||
\fI% xxd \-s 0x28 \-l 12 \-c 12 xxd.1\fR
|
||||
.br
|
||||
0000028: 3235 7468 204d 6179 2031 3939 25th May 199
|
||||
.PP
|
||||
.br
|
||||
Создать 65537-байтный файл, все байты которого имеют значение
|
||||
0x00, кроме последнего байта, который должен иметь значение 'A'
|
||||
(0x41):
|
||||
.PP
|
||||
\fI% echo '010000: 41' | xxd \-r \> file\fR
|
||||
.PP
|
||||
.br
|
||||
Создать шестнадцатеричное представление этого файла с
|
||||
использованием автоматического пропуска:
|
||||
.PP
|
||||
\fI% xxd \-a \-c 12 file\fR
|
||||
.br
|
||||
0000000: 0000 0000 0000 0000 0000 0000 ............
|
||||
.br
|
||||
*
|
||||
.br
|
||||
000fffc: 0000 0000 40 ....A
|
||||
.PP
|
||||
Создать 1-байтный файл, содержащий символ 'A'.
|
||||
Число после '\-r \-s' добавляется к номерам строк, найденным в файле;
|
||||
иначе говоря, предшествующие байты пропускаются:
|
||||
.PP
|
||||
\fI% echo '010000: 41' | xxd \-r \-s \-0x10000 \> file\fR
|
||||
.PP
|
||||
xxd можно использовать в качестве фильтра в редакторе, например в
|
||||
.B vim(1),
|
||||
чтобы создать шестнадцатеричное представление области между
|
||||
отметками `a' и `z':
|
||||
.PP
|
||||
\fI:'a,'z!xxd\fR
|
||||
.PP
|
||||
Вы можете использовать xxd в качестве фильтра в редакторе, например в
|
||||
.B vim(1),
|
||||
для восстановления данных из шестнадцатеричного представления
|
||||
между отметками `a' и `z':
|
||||
.PP
|
||||
\fI:'a,'z!xxd \-r\fR
|
||||
.PP
|
||||
Вы можете использовать xxd в качестве фильтра в редакторе, например в
|
||||
.B vim(1),
|
||||
для восстановления данных из единственной строки
|
||||
шестнадцатеричного представления. Поместите курсор в соответствующую строку
|
||||
и наберите
|
||||
.PP
|
||||
\fI!!xxd \-r\fR
|
||||
.PP
|
||||
Чтобы прочитать единственный символ из канала связи:
|
||||
.PP
|
||||
\fI% xxd \-c1 < /dev/term/b &\fR
|
||||
.br
|
||||
\fI% stty < /dev/term/b \-echo \-opost \-isig \-icanon min 1\fR
|
||||
.br
|
||||
\fI% echo \-n foo > /dev/term/b\fR
|
||||
.PP
|
||||
.SH ВОЗВРАЩАЕМЫЕ ЗНАЧЕНИЯ
|
||||
Программа xxd завершает работу со следующими значениями:
|
||||
.TP
|
||||
0
|
||||
Ошибки не обнаружены.
|
||||
.TP
|
||||
\-1
|
||||
Операция не поддерживается (выполнение
|
||||
.I xxd \-r \-i
|
||||
пока невозможно).
|
||||
.TP
|
||||
1
|
||||
Ошибка при разборе ключей командной строки.
|
||||
.TP
|
||||
2
|
||||
Проблемы во входном файле.
|
||||
.TP
|
||||
3
|
||||
Проблемы в выходном файле.
|
||||
.TP
|
||||
4,5
|
||||
Желательная позиция поиска недостижима.
|
||||
.SH СМОТРИ ТАКЖЕ
|
||||
uuencode(1), uudecode(1), patch(1)
|
||||
.br
|
||||
.SH ПРЕДУПРЕЖДЕНИЕ
|
||||
Странность этой программы соответствует особенностям мозга её создателя.
|
||||
Используйте её на свой страх и риск. Копируйте файлы, отслеживайте
|
||||
вызовы, становитесь волшебником.
|
||||
.br
|
||||
.SH ВЕРСИЯ
|
||||
Эта страница справочника документирует xxd версии 1.7.
|
||||
.SH АВТОР
|
||||
.br
|
||||
(c) 1990-1997 Юрген Вайгерт (Juergen Weigert)
|
||||
.br
|
||||
<jnweiger@informatik.uni-erlangen.de>
|
||||
.LP
|
||||
Вы можете свободно распространять программу со ссылкой на меня.
|
||||
.br
|
||||
Если использование этой программы принесло вам какой-то доход,
|
||||
поделитесь со мной.
|
||||
.br
|
||||
Если вы потеряли деньги, то я тут не причём.
|
||||
.PP
|
||||
Первый вариант страницы справочника написан Тони Наджентом (Tony Nugent)
|
||||
.br
|
||||
<tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au>
|
||||
.br
|
||||
Небольшие изменения внесены Брамом Мооленааром (Bram Moolenaar).
|
||||
Страница отредактирована Юргеном Вайгертом (Juergen Weigert).
|
||||
.PP
|
||||
@@ -21,9 +21,9 @@
|
||||
creates a hex dump of a given file or standard input.
|
||||
It can also convert a hex dump back to its original binary form.
|
||||
Like
|
||||
.BR uuencode(1)
|
||||
.BR uuencode (1)
|
||||
and
|
||||
.BR uudecode(1)
|
||||
.BR uudecode (1)
|
||||
it allows the transmission of binary data in a `mail-safe' ASCII representation,
|
||||
but has the advantage of decoding to standard output.
|
||||
Moreover, it can be used to perform binary file patching.
|
||||
@@ -114,19 +114,19 @@ anywhere.
|
||||
.TP
|
||||
.I \-seek offset
|
||||
When used after
|
||||
.I \-r
|
||||
: revert with
|
||||
.IR \-r :
|
||||
revert with
|
||||
.RI < offset >
|
||||
added to file positions found in hexdump.
|
||||
.TP
|
||||
.I \-s [\+][\-]seek
|
||||
.I \-s [+][\-]seek
|
||||
start at
|
||||
.RI < seek >
|
||||
bytes abs. (or rel.) infile offset.
|
||||
\fI\+ \fRindicates that the seek is relative to the current stdin file position
|
||||
\fI+ fRindicates that the seek is relative to the current stdin file position
|
||||
(meaningless when not reading from stdin). \fI\- \fRindicates that the seek
|
||||
should be that many characters from the end of the input (or if combined with
|
||||
\fI \+ \fR: before the current stdin file position).
|
||||
\fI+\fR: before the current stdin file position).
|
||||
Without \-s option, xxd starts at the current file position.
|
||||
.TP
|
||||
.I \-u
|
||||
@@ -159,12 +159,12 @@ Note the difference between
|
||||
.br
|
||||
and
|
||||
.br
|
||||
\fI% xxd \-i \< file\fR
|
||||
\fI% xxd \-i < file\fR
|
||||
.PP
|
||||
.I xxd \-s \+seek
|
||||
may be different from
|
||||
.I xxd \-s seek
|
||||
, as lseek(2) is used to "rewind" input. A '+'
|
||||
.IR "xxd \-s seek" ,
|
||||
as lseek(2) is used to "rewind" input. A '+'
|
||||
makes a difference if the input source is stdin, and if stdin's file position
|
||||
is not at the start of the file by the time xxd is started and given its input.
|
||||
The following examples may help to clarify (or further confuse!)...
|
||||
@@ -180,7 +180,7 @@ the 1k where dd left off.
|
||||
.br
|
||||
\fI% sh \-c 'dd of=plain_snippet bs=1k count=1; xxd \-s +128 > hex_snippet' < file
|
||||
.PP
|
||||
Hexdump from file position 0x100 ( = 1024-768) on.
|
||||
Hexdump from file position 0x100 ( = 1024\-768) on.
|
||||
.br
|
||||
\fI% sh \-c 'dd of=plain_snippet bs=1k count=1; xxd \-s +-768 > hex_snippet' < file
|
||||
.PP
|
||||
|
||||
@@ -82,17 +82,17 @@ OPTIONS
|
||||
allowed anywhere.
|
||||
|
||||
-seek offset
|
||||
When used after -r : revert with <offset> added to file posi-
|
||||
tions found in hexdump.
|
||||
When used after -r: revert with <offset> added to file positions
|
||||
found in hexdump.
|
||||
|
||||
-s [+][-]seek
|
||||
start at <seek> bytes abs. (or rel.) infile offset. + indicates
|
||||
that the seek is relative to the current stdin file position
|
||||
(meaningless when not reading from stdin). - indicates that the
|
||||
seek should be that many characters from the end of the input
|
||||
(or if combined with
|
||||
+ : before the current stdin file position). Without -s
|
||||
option, xxd starts at the current file position.
|
||||
start at <seek> bytes abs. (or rel.) infile offset. + fRindi-
|
||||
cates that the seek is relative to the current stdin file posi-
|
||||
tion (meaningless when not reading from stdin). - indicates
|
||||
that the seek should be that many characters from the end of the
|
||||
input (or if combined with +: before the current stdin file
|
||||
position). Without -s option, xxd starts at the current file
|
||||
position.
|
||||
|
||||
-u use upper case hex letters. Default is lower case.
|
||||
|
||||
@@ -101,20 +101,20 @@ OPTIONS
|
||||
|
||||
CAVEATS
|
||||
xxd -r has some builtin magic while evaluating line number information.
|
||||
If the output file is seekable, then the linenumbers at the start of
|
||||
each hexdump line may be out of order, lines may be missing, or over-
|
||||
lapping. In these cases xxd will lseek(2) to the next position. If the
|
||||
output file is not seekable, only gaps are allowed, which will be
|
||||
If the output file is seekable, then the linenumbers at the start of
|
||||
each hexdump line may be out of order, lines may be missing, or over-
|
||||
lapping. In these cases xxd will lseek(2) to the next position. If the
|
||||
output file is not seekable, only gaps are allowed, which will be
|
||||
filled by null-bytes.
|
||||
|
||||
xxd -r never generates parse errors. Garbage is silently skipped.
|
||||
|
||||
When editing hexdumps, please note that xxd -r skips everything on the
|
||||
When editing hexdumps, please note that xxd -r skips everything on the
|
||||
input line after reading enough columns of hexadecimal data (see option
|
||||
-c). This also means, that changes to the printable ascii (or ebcdic)
|
||||
columns are always ignored. Reverting a plain (or postscript) style
|
||||
hexdump with xxd -r -p does not depend on the correct number of col-
|
||||
umns. Here anything that looks like a pair of hex-digits is inter-
|
||||
-c). This also means, that changes to the printable ascii (or ebcdic)
|
||||
columns are always ignored. Reverting a plain (or postscript) style
|
||||
hexdump with xxd -r -p does not depend on the correct number of col-
|
||||
umns. Here anything that looks like a pair of hex-digits is inter-
|
||||
preted.
|
||||
|
||||
Note the difference between
|
||||
@@ -122,28 +122,28 @@ CAVEATS
|
||||
and
|
||||
% xxd -i < file
|
||||
|
||||
xxd -s +seek may be different from xxd -s seek , as lseek(2) is used to
|
||||
xxd -s +seek may be different from xxd -s seek, as lseek(2) is used to
|
||||
"rewind" input. A '+' makes a difference if the input source is stdin,
|
||||
and if stdin's file position is not at the start of the file by the
|
||||
time xxd is started and given its input. The following examples may
|
||||
and if stdin's file position is not at the start of the file by the
|
||||
time xxd is started and given its input. The following examples may
|
||||
help to clarify (or further confuse!)...
|
||||
|
||||
Rewind stdin before reading; needed because the `cat' has already read
|
||||
Rewind stdin before reading; needed because the `cat' has already read
|
||||
to the end of stdin.
|
||||
% sh -c 'cat > plain_copy; xxd -s 0 > hex_copy' < file
|
||||
|
||||
Hexdump from file position 0x480 (=1024+128) onwards. The `+' sign
|
||||
Hexdump from file position 0x480 (=1024+128) onwards. The `+' sign
|
||||
means "relative to the current position", thus the `128' adds to the 1k
|
||||
where dd left off.
|
||||
% sh -c 'dd of=plain_snippet bs=1k count=1; xxd -s +128 > hex_snippet'
|
||||
% sh -c 'dd of=plain_snippet bs=1k count=1; xxd -s +128 > hex_snippet'
|
||||
< file
|
||||
|
||||
Hexdump from file position 0x100 ( = 1024-768) on.
|
||||
% sh -c 'dd of=plain_snippet bs=1k count=1; xxd -s +-768 > hex_snippet'
|
||||
< file
|
||||
|
||||
However, this is a rare situation and the use of `+' is rarely needed.
|
||||
The author prefers to monitor the effect of xxd with strace(1) or
|
||||
However, this is a rare situation and the use of `+' is rarely needed.
|
||||
The author prefers to monitor the effect of xxd with strace(1) or
|
||||
truss(1), whenever -s is used.
|
||||
|
||||
EXAMPLES
|
||||
@@ -187,7 +187,7 @@ EXAMPLES
|
||||
% xxd -s 0x36 -l 13 -c 13 xxd.1
|
||||
0000036: 3235 7468 204d 6179 2031 3939 36 25th May 1996
|
||||
|
||||
Create a 65537 byte file with all bytes 0x00, except for the last one
|
||||
Create a 65537 byte file with all bytes 0x00, except for the last one
|
||||
which is 'A' (hex 0x41).
|
||||
% echo '010000: 41' | xxd -r > file
|
||||
|
||||
@@ -197,7 +197,7 @@ EXAMPLES
|
||||
*
|
||||
000fffc: 0000 0000 40 ....A
|
||||
|
||||
Create a 1 byte file containing a single 'A' character. The number
|
||||
Create a 1 byte file containing a single 'A' character. The number
|
||||
after '-r -s' adds to the linenumbers found in the file; in effect, the
|
||||
leading bytes are suppressed.
|
||||
% echo '010000: 41' | xxd -r -s -0x10000 > file
|
||||
@@ -239,7 +239,7 @@ SEE ALSO
|
||||
uuencode(1), uudecode(1), patch(1)
|
||||
|
||||
WARNINGS
|
||||
The tools weirdness matches its creators brain. Use entirely at your
|
||||
The tools weirdness matches its creators brain. Use entirely at your
|
||||
own risk. Copy files. Trace it. Become a wizard.
|
||||
|
||||
VERSION
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Vim support file to detect file types
|
||||
"
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last Change: 2004 Dec 31
|
||||
" Last Change: 2005 Mar 20
|
||||
|
||||
" Listen very carefully, I will say this only once
|
||||
if exists("did_load_filetypes")
|
||||
@@ -37,10 +37,18 @@ if !exists("g:ft_ignore_pat")
|
||||
let g:ft_ignore_pat = '\.\(Z\|gz\|bz2\|zip\|tgz\)$'
|
||||
endif
|
||||
|
||||
" Abaqus or Trasys
|
||||
au BufNewFile,BufRead *.inp call FTCheck_inp()
|
||||
" Function used for patterns that end in a star: don't set the filetype if the
|
||||
" file name matches ft_ignore_pat.
|
||||
fun! s:StarSetf(ft)
|
||||
if expand("<amatch>") !~ g:ft_ignore_pat
|
||||
exe 'setf ' . a:ft
|
||||
endif
|
||||
endfun
|
||||
|
||||
fun! FTCheck_inp()
|
||||
" Abaqus or Trasys
|
||||
au BufNewFile,BufRead *.inp call s:Check_inp()
|
||||
|
||||
fun! s:Check_inp()
|
||||
if getline(1) =~ '^\*'
|
||||
setf abaqus
|
||||
else
|
||||
@@ -88,10 +96,11 @@ au BufNewFile,BufRead *.run setf ampl
|
||||
au BufNewFile,BufRead build.xml setf ant
|
||||
|
||||
" Apache style config file
|
||||
au BufNewFile,BufRead proftpd.conf* setf apachestyle
|
||||
au BufNewFile,BufRead proftpd.conf* call s:StarSetf('apachestyle')
|
||||
|
||||
" Apache config file
|
||||
au BufNewFile,BufRead httpd.conf*,srm.conf*,access.conf*,.htaccess,apache.conf* setf apache
|
||||
au BufNewFile,BufRead .htaccess setf apache
|
||||
au BufNewFile,BufRead httpd.conf*,srm.conf*,access.conf*,apache.conf*,apache2.conf*,/etc/apache2/*.conf* call s:StarSetf('apache')
|
||||
|
||||
" XA65 MOS6510 cross assembler
|
||||
au BufNewFile,BufRead *.a65 setf a65
|
||||
@@ -138,18 +147,18 @@ au BufNewFile,BufRead /boot/grub/menu.lst,/boot/grub/grub.conf setf grub
|
||||
|
||||
" Assembly (all kinds)
|
||||
" *.lst is not pure assembly, it has two extra columns (address, byte codes)
|
||||
au BufNewFile,BufRead *.asm,*.[sS],*.[aA],*.mac,*.lst call <SID>FTasm()
|
||||
au BufNewFile,BufRead *.asm,*.[sS],*.[aA],*.mac,*.lst call s:FTasm()
|
||||
|
||||
" This function checks for the kind of assembly that is wanted by the user, or
|
||||
" can be detected from the first five lines of the file.
|
||||
fun! <SID>FTasm()
|
||||
fun! s:FTasm()
|
||||
" make sure b:asmsyntax exists
|
||||
if !exists("b:asmsyntax")
|
||||
let b:asmsyntax = ""
|
||||
endif
|
||||
|
||||
if b:asmsyntax == ""
|
||||
call FTCheck_asmsyntax()
|
||||
call s:FTasmsyntax()
|
||||
endif
|
||||
|
||||
" if b:asmsyntax still isn't set, default to asmsyntax or GNU
|
||||
@@ -164,7 +173,7 @@ fun! <SID>FTasm()
|
||||
exe "setf " . b:asmsyntax
|
||||
endfun
|
||||
|
||||
fun! FTCheck_asmsyntax()
|
||||
fun! s:FTasmsyntax()
|
||||
" see if file contains any asmsyntax=foo overrides. If so, change
|
||||
" b:asmsyntax appropriately
|
||||
let head = " ".getline(1)." ".getline(2)." ".getline(3)." ".getline(4).
|
||||
@@ -195,11 +204,11 @@ au BufNewFile,BufRead *.awk setf awk
|
||||
au BufNewFile,BufRead *.mch,*.ref,*.imp setf b
|
||||
|
||||
" BASIC or Visual Basic
|
||||
au BufNewFile,BufRead *.bas call <SID>FTVB("basic")
|
||||
au BufNewFile,BufRead *.bas call s:FTVB("basic")
|
||||
|
||||
" Check if one of the first five lines contains "VB_Name". In that case it is
|
||||
" probably a Visual Basic file. Otherwise it's assumed to be "alt" filetype.
|
||||
fun! <SID>FTVB(alt)
|
||||
fun! s:FTVB(alt)
|
||||
if getline(1).getline(2).getline(3).getline(4).getline(5) =~? 'VB_Name\|Begin VB\.\(Form\|MDIForm\|UserControl\)'
|
||||
setf vb
|
||||
else
|
||||
@@ -217,8 +226,8 @@ au BufNewFile,BufRead *.cmd
|
||||
\ if getline(1) =~ '^/\*' | setf rexx | else | setf dosbatch | endif
|
||||
|
||||
" Batch file for 4DOS
|
||||
au BufNewFile,BufRead *.btm call <SID>FTbtm()
|
||||
fun! <SID>FTbtm()
|
||||
au BufNewFile,BufRead *.btm call s:FTbtm()
|
||||
fun! s:FTbtm()
|
||||
if exists("g:dosbatch_syntax_for_btm") && g:dosbatch_syntax_for_btm
|
||||
setf dosbatch
|
||||
else
|
||||
@@ -245,9 +254,9 @@ au BufNewFile,BufRead named.root setf bindzone
|
||||
au BufNewFile,BufRead *.bl setf blank
|
||||
|
||||
" C or lpc
|
||||
au BufNewFile,BufRead *.c call <SID>FTlpc()
|
||||
au BufNewFile,BufRead *.c call s:FTlpc()
|
||||
|
||||
fun! <SID>FTlpc()
|
||||
fun! s:FTlpc()
|
||||
if exists("g:lpc_syntax_for_c")
|
||||
let lnum = 1
|
||||
while lnum <= 12
|
||||
@@ -262,9 +271,10 @@ fun! <SID>FTlpc()
|
||||
endfun
|
||||
|
||||
" Calendar
|
||||
au BufNewFile,BufRead calendar,*/.calendar/*,
|
||||
au BufNewFile,BufRead calendar setf calendar
|
||||
au BufNewFile,BufRead */.calendar/*,
|
||||
\*/share/calendar/*/calendar.*,*/share/calendar/calendar.*
|
||||
\ setf calendar
|
||||
\ call s:StarSetf('calendar')
|
||||
|
||||
" C#
|
||||
au BufNewFile,BufRead *.cs setf cs
|
||||
@@ -320,14 +330,14 @@ au BufNewFile,BufRead [cC]hange[lL]og if getline(1) =~ '; urgency='
|
||||
au BufNewFile,BufRead *..ch setf chill
|
||||
|
||||
" Changes for WEB and CWEB or CHILL
|
||||
au BufNewFile,BufRead *.ch call <SID>FTchange()
|
||||
au BufNewFile,BufRead *.ch call s:FTchange()
|
||||
|
||||
" This function checks if one of the first ten lines start with a '@'. In
|
||||
" that case it is probably a change file.
|
||||
" If the first line starts with # or ! it's probably a ch file.
|
||||
" If a line has "main", "include", "//" ir "/*" it's probably ch.
|
||||
" Otherwise CHILL is assumed.
|
||||
fun! <SID>FTchange()
|
||||
fun! s:FTchange()
|
||||
let lnum = 1
|
||||
while lnum <= 10
|
||||
if getline(lnum)[0] == '@'
|
||||
@@ -358,9 +368,9 @@ au BufNewFile,BufRead *.dcl,*.icl setf clean
|
||||
au BufNewFile,BufRead *.eni setf cl
|
||||
|
||||
" Clever or dtd
|
||||
au BufNewFile,BufRead *.ent call <SID>FTent()
|
||||
au BufNewFile,BufRead *.ent call s:FTent()
|
||||
|
||||
fun! <SID>FTent()
|
||||
fun! s:FTent()
|
||||
" This function checks for valid cl syntax in the first five lines.
|
||||
" Look for either an opening comment, '#', or a block start, '{".
|
||||
" If not found, assume SGML.
|
||||
@@ -489,12 +499,12 @@ au BufNewFile,BufRead *.ed\(f\|if\|n\|o\) setf edif
|
||||
au BufNewFile,BufRead *.ecd setf ecd
|
||||
|
||||
" Eiffel or Specman
|
||||
au BufNewFile,BufRead *.e,*.E call FTCheck_e()
|
||||
au BufNewFile,BufRead *.e,*.E call s:FTe()
|
||||
|
||||
" Elinks configuration
|
||||
au BufNewFile,BufRead */etc/elinks.conf,*/.elinks/elinks.conf setf elinks
|
||||
|
||||
fun! FTCheck_e()
|
||||
fun! s:FTe()
|
||||
let n = 1
|
||||
while n < 100 && n < line("$")
|
||||
if getline(n) =~ "^\\s*\\(<'\\|'>\\)\\s*$"
|
||||
@@ -512,6 +522,9 @@ au BufNewFile,BufRead *.erl setf erlang
|
||||
" Elm Filter Rules file
|
||||
au BufNewFile,BufRead filter-rules setf elmfilt
|
||||
|
||||
" ESMTP rc file
|
||||
au BufNewFile,BufRead *esmtprc setf esmtprc
|
||||
|
||||
" ESQL-C
|
||||
au BufNewFile,BufRead *.ec,*.EC setf esqlc
|
||||
|
||||
@@ -541,7 +554,7 @@ au BufNewFile,BufRead *.mas,*.master setf master
|
||||
au BufNewFile,BufRead *.fs,*.ft setf forth
|
||||
|
||||
" Fortran
|
||||
au BufNewFile,BufRead *.f,*.F,*.for,*.fpp,*.ftn,*.f77,*.F77,*.f90,*.F90,*.f95,*.F95 setf fortran
|
||||
au BufNewFile,BufRead *.f,*.F,*.for,*.fpp,*.FPP*.ftn,*.f77,*.F77,*.f90,*.F90,*.f95,*.F95 setf fortran
|
||||
|
||||
" FStab
|
||||
au BufNewFile,BufRead fstab setf fstab
|
||||
@@ -595,11 +608,11 @@ au BufNewFile,BufRead *.hex,*.h32 setf hex
|
||||
" Tilde (must be before HTML)
|
||||
au BufNewFile,BufRead *.t.html setf tilde
|
||||
|
||||
" HTML (.shtml and .stm for server side)
|
||||
au BufNewFile,BufRead *.html,*.htm,*.shtml,*.stm call <SID>FTCheck_html()
|
||||
" HTML (.shtml and .stm for server side, .rhtml for Ruby html)
|
||||
au BufNewFile,BufRead *.html,*.htm,*.shtml,*.rhtml,*.stm call s:FThtml()
|
||||
|
||||
" Distinguish between HTML and XHTML
|
||||
fun! <SID>FTCheck_html()
|
||||
fun! s:FThtml()
|
||||
let n = 1
|
||||
while n < 10 && n < line("$")
|
||||
if getline(n) =~ '\<DTD\s\+XHTML\s'
|
||||
@@ -625,10 +638,10 @@ au BufNewFile,BufRead *.hb setf hb
|
||||
au BufNewFile,BufRead *.icn setf icon
|
||||
|
||||
" IDL (Interface Description Language)
|
||||
au BufNewFile,BufRead *.idl call <SID>FTCheck_idl()
|
||||
au BufNewFile,BufRead *.idl call s:FTidl()
|
||||
|
||||
" Distinguish between standard IDL and MS-IDL
|
||||
fun! <SID>FTCheck_idl()
|
||||
fun! s:FTidl()
|
||||
let n = 1
|
||||
while n < 50 && n < line("$")
|
||||
if getline(n) =~ '^\s*import\s\+"\(unknwn\|objidl\)\.idl"'
|
||||
@@ -647,15 +660,18 @@ au BufNewFile,BufRead *.odl,*.mof setf msidl
|
||||
" Icewm menu
|
||||
au BufNewFile,BufRead */.icewm/menu setf icemenu
|
||||
|
||||
" Inform
|
||||
au BufNewFile,BufRead .indent.pro setf indent
|
||||
|
||||
" IDL (Interactive Data Language)
|
||||
au BufNewFile,BufRead *.pro setf idlang
|
||||
|
||||
" Inform
|
||||
au BufNewFile,BufRead .indent.pro setf indent
|
||||
|
||||
" Inform
|
||||
au BufNewFile,BufRead *.inf,*.INF setf inform
|
||||
|
||||
" Ipfilter
|
||||
au BufNewFile,BufRead ipf.conf,ipf.rules setf ipfilter
|
||||
|
||||
" Informix 4GL (source - canonical, include file, I4GL+M4 preproc.)
|
||||
au BufNewFile,BufRead *.4gl,*.4gh,*.m4gl setf fgl
|
||||
|
||||
@@ -687,7 +703,8 @@ au BufNewFile,BufRead *.js,*.javascript setf javascript
|
||||
au BufNewFile,BufRead *.jsp setf jsp
|
||||
|
||||
" Java Properties resource file (note: doesn't catch font.properties.pl)
|
||||
au BufNewFile,BufRead *.properties,*.properties_??,*.properties_??_??,*.properties_??_??_* setf jproperties
|
||||
au BufNewFile,BufRead *.properties,*.properties_??,*.properties_??_?? setf jproperties
|
||||
au BufNewFile,BufRead *.properties_??_??_* call s:StarSetf('jproperties')
|
||||
|
||||
" Jess
|
||||
au BufNewFile,BufRead *.clp setf jess
|
||||
@@ -729,7 +746,7 @@ au BufNewFile,BufRead lftp.conf,.lftprc,*lftp/rc setf lftp
|
||||
au BufNewFile,BufRead *.ll setf lifelines
|
||||
|
||||
" Lilo: Linux loader
|
||||
au BufNewFile,BufRead lilo.conf* setf lilo
|
||||
au BufNewFile,BufRead lilo.conf* call s:StarSetf('lilo')
|
||||
|
||||
" Lisp (*.el = ELisp, *.cl = Common Lisp, *.jl = librep Lisp)
|
||||
if has("fname_case")
|
||||
@@ -785,9 +802,9 @@ au BufNewFile,BufRead *.mv,*.mpl,*.mws setf maple
|
||||
au BufNewFile,BufRead *.mason,*.mhtml setf mason
|
||||
|
||||
" Matlab or Objective C
|
||||
au BufNewFile,BufRead *.m call FTCheck_m()
|
||||
au BufNewFile,BufRead *.m call s:FTm()
|
||||
|
||||
fun! FTCheck_m()
|
||||
fun! s:FTm()
|
||||
let n = 1
|
||||
while n < 10
|
||||
let line = getline(n)
|
||||
@@ -818,9 +835,9 @@ au BufNewFile,BufRead *.mf setf mf
|
||||
au BufNewFile,BufRead *.mp setf mp
|
||||
|
||||
" MMIX or VMS makefile
|
||||
au BufNewFile,BufRead *.mms call FTCheck_mms()
|
||||
au BufNewFile,BufRead *.mms call s:FTmms()
|
||||
|
||||
fun! FTCheck_mms()
|
||||
fun! s:FTmms()
|
||||
let n = 1
|
||||
while n < 10
|
||||
let line = getline(n)
|
||||
@@ -861,7 +878,9 @@ au BufNewFile,BufRead *.moo setf moo
|
||||
" Modconf
|
||||
au BufNewFile,BufRead /etc/modules.conf,/etc/conf.modules setf modconf
|
||||
au BufNewFile,BufRead /etc/modutils/*
|
||||
\ if executable(expand("<afile>")) != 1 | setf modconf | endif
|
||||
\ if executable(expand("<afile>")) != 1
|
||||
\| call s:StarSetf('modconf')
|
||||
\|endif
|
||||
|
||||
" Mplayer config
|
||||
au BufNewFile,BufRead mplayer.conf,*/.mplayer/config setf mplayerconf
|
||||
@@ -885,7 +904,8 @@ au BufRead,BufNewFile *.mu setf mupad
|
||||
au BufNewFile,BufRead *.mush setf mush
|
||||
|
||||
" Mutt setup file
|
||||
au BufNewFile,BufRead .muttrc*,*/.mutt/muttrc*,Muttrc setf muttrc
|
||||
au BufNewFile,BufRead Muttrc setf muttrc
|
||||
au BufNewFile,BufRead .muttrc*,*/.mutt/muttrc* call s:StarSetf('muttrc')
|
||||
|
||||
" Nastran input/DMAP
|
||||
"au BufNewFile,BufRead *.dat setf nastran
|
||||
@@ -905,11 +925,11 @@ au BufNewFile,BufRead *.me
|
||||
\ setf nroff |
|
||||
\ endif
|
||||
au BufNewFile,BufRead *.tr,*.nr,*.roff,*.tmac,*.mom setf nroff
|
||||
au BufNewFile,BufRead *.[1-9] call <SID>FTnroff()
|
||||
au BufNewFile,BufRead *.[1-9] call s:FTnroff()
|
||||
|
||||
" This function checks if one of the first five lines start with a dot. In
|
||||
" that case it is probably an nroff file: 'filetype' is set and 1 is returned.
|
||||
fun! <SID>FTnroff()
|
||||
fun! s:FTnroff()
|
||||
if getline(1)[0] . getline(2)[0] . getline(3)[0] . getline(4)[0] . getline(5)[0] =~ '\.'
|
||||
setf nroff
|
||||
return 1
|
||||
@@ -918,9 +938,9 @@ fun! <SID>FTnroff()
|
||||
endfun
|
||||
|
||||
" Nroff or Objective C++
|
||||
au BufNewFile,BufRead *.mm call <SID>FTcheck_mm()
|
||||
au BufNewFile,BufRead *.mm call s:FTmm()
|
||||
|
||||
fun! <SID>FTcheck_mm()
|
||||
fun! s:FTmm()
|
||||
let n = 1
|
||||
while n < 10
|
||||
let line = getline(n)
|
||||
@@ -971,13 +991,13 @@ au BufNewFile,BufRead *.dpr setf pascal
|
||||
|
||||
" Perl
|
||||
if has("fname_case")
|
||||
au BufNewFile,BufRead *.pl,*.PL call FTCheck_pl()
|
||||
au BufNewFile,BufRead *.pl,*.PL call s:FTpl()
|
||||
else
|
||||
au BufNewFile,BufRead *.pl call FTCheck_pl()
|
||||
au BufNewFile,BufRead *.pl call s:FTpl()
|
||||
endif
|
||||
au BufNewFile,BufRead *.plx setf perl
|
||||
|
||||
fun! FTCheck_pl()
|
||||
fun! s:FTpl()
|
||||
if exists("g:filetype_pl")
|
||||
exe "setf " . g:filetype_pl
|
||||
else
|
||||
@@ -1051,9 +1071,9 @@ au BufNewFile,BufRead *.pov setf pov
|
||||
au BufNewFile,BufRead .povrayrc setf povini
|
||||
|
||||
" Povray, PHP or assembly
|
||||
au BufNewFile,BufRead *.inc call FTCheck_inc()
|
||||
au BufNewFile,BufRead *.inc call s:FTinc()
|
||||
|
||||
fun! FTCheck_inc()
|
||||
fun! s:FTinc()
|
||||
if exists("g:filetype_inc")
|
||||
exe "setf " . g:filetype_inc
|
||||
else
|
||||
@@ -1065,7 +1085,7 @@ fun! FTCheck_inc()
|
||||
elseif lines =~ "<?"
|
||||
setf php
|
||||
else
|
||||
call FTCheck_asmsyntax()
|
||||
call s:FTasmsyntax()
|
||||
if exists("b:asmsyntax")
|
||||
exe "setf " . b:asmsyntax
|
||||
else
|
||||
@@ -1095,9 +1115,9 @@ au BufNewFile,BufRead .pc setf proc
|
||||
au BufNewFile,BufRead .procmail,.procmailrc setf procmail
|
||||
|
||||
" Progress or CWEB
|
||||
au BufNewFile,BufRead *.w call <SID>FTprogress_cweb()
|
||||
au BufNewFile,BufRead *.w call s:FTprogress_cweb()
|
||||
|
||||
function! <SID>FTprogress_cweb()
|
||||
function! s:FTprogress_cweb()
|
||||
if exists("g:filetype_w")
|
||||
exe "setf " . g:filetype_w
|
||||
return
|
||||
@@ -1110,9 +1130,9 @@ function! <SID>FTprogress_cweb()
|
||||
endfun
|
||||
|
||||
" Progress or assembly
|
||||
au BufNewFile,BufRead *.i call <SID>FTprogress_asm()
|
||||
au BufNewFile,BufRead *.i call s:FTprogress_asm()
|
||||
|
||||
function! <SID>FTprogress_asm()
|
||||
function! s:FTprogress_asm()
|
||||
if exists("g:filetype_i")
|
||||
exe "setf " . g:filetype_i
|
||||
return
|
||||
@@ -1123,7 +1143,7 @@ function! <SID>FTprogress_asm()
|
||||
while lnum <= 10
|
||||
let line = getline(lnum)
|
||||
if line =~ '^\s*;' || line =~ '^\*'
|
||||
call FTCheck_asm()
|
||||
call s:FTasm()
|
||||
return
|
||||
elseif line !~ '^\s*$' || line =~ '^/\*'
|
||||
" Not an empty line: Doesn't look like valid assembly code.
|
||||
@@ -1136,9 +1156,9 @@ function! <SID>FTprogress_asm()
|
||||
endfun
|
||||
|
||||
" Progress or Pascal
|
||||
au BufNewFile,BufRead *.p call <SID>FTprogress_pascal()
|
||||
au BufNewFile,BufRead *.p call s:FTprogress_pascal()
|
||||
|
||||
function! <SID>FTprogress_pascal()
|
||||
function! s:FTprogress_pascal()
|
||||
if exists("g:filetype_p")
|
||||
exe "setf " . g:filetype_p
|
||||
return
|
||||
@@ -1206,9 +1226,9 @@ au BufNewFile,BufRead *.rexx,*.rex setf rexx
|
||||
au BufNewFile,BufRead *.s,*.S setf r
|
||||
|
||||
" Rexx, Rebol or R
|
||||
au BufNewFile,BufRead *.r,*.R call <SID>FTCheck_r()
|
||||
au BufNewFile,BufRead *.r,*.R call s:FTr()
|
||||
|
||||
fun! <SID>FTCheck_r()
|
||||
fun! s:FTr()
|
||||
if getline(1) =~ '^REBOL'
|
||||
setf rebol
|
||||
else
|
||||
@@ -1237,7 +1257,7 @@ fun! <SID>FTCheck_r()
|
||||
endfun
|
||||
|
||||
" Remind
|
||||
au BufNewFile,BufRead .reminders* setf remind
|
||||
au BufNewFile,BufRead .reminders* call s:StarSetf('remind')
|
||||
|
||||
" Resolv.conf
|
||||
au BufNewFile,BufRead resolv.conf setf resolv
|
||||
@@ -1311,7 +1331,8 @@ au BufNewFile,BufRead *.decl,*.dcl,*.dec
|
||||
\ endif
|
||||
|
||||
" SGML catalog file
|
||||
au BufNewFile,BufRead sgml.catalog*,catalog setf catalog
|
||||
au BufNewFile,BufRead catalog setf catalog
|
||||
au BufNewFile,BufRead sgml.catalog* call s:StarSetf('catalog')
|
||||
|
||||
" Shell scripts (sh, ksh, bash, bash2, csh); Allow .profile_foo etc.
|
||||
" Gentoo ebuilds are actually bash scripts
|
||||
@@ -1319,7 +1340,11 @@ au BufNewFile,BufRead .bashrc*,bashrc,bash.bashrc,.bash_profile*,.bash_logout*,*
|
||||
au BufNewFile,BufRead .kshrc*,*.ksh call SetFileTypeSH("ksh")
|
||||
au BufNewFile,BufRead /etc/profile,.profile*,*.sh,*.env call SetFileTypeSH(getline(1))
|
||||
|
||||
" Also called from scripts.vim.
|
||||
fun! SetFileTypeSH(name)
|
||||
if expand("<amatch>") =~ g:ft_ignore_pat
|
||||
return
|
||||
endif
|
||||
if a:name =~ '\<ksh\>'
|
||||
let b:is_kornshell = 1
|
||||
if exists("b:is_bash")
|
||||
@@ -1350,7 +1375,11 @@ endfun
|
||||
|
||||
" For shell-like file types, check for an "exec" command hidden in a comment,
|
||||
" as used for Tcl.
|
||||
" Also called from scripts.vim, thus can't be local to this script.
|
||||
fun! SetFileTypeShell(name)
|
||||
if expand("<amatch>") =~ g:ft_ignore_pat
|
||||
return
|
||||
endif
|
||||
let l = 2
|
||||
while l < 20 && l < line("$") && getline(l) =~ '^\s*\(#\|$\)'
|
||||
" Skip empty and comment lines.
|
||||
@@ -1371,9 +1400,9 @@ endfun
|
||||
au BufNewFile,BufRead .tcshrc*,*.tcsh,tcsh.tcshrc,tcsh.login call SetFileTypeShell("tcsh")
|
||||
|
||||
" csh scripts, but might also be tcsh scripts (on some systems csh is tcsh)
|
||||
au BufNewFile,BufRead .login*,.cshrc*,csh.cshrc,csh.login,csh.logout,*.csh,.alias call SetFileTypeCSH()
|
||||
au BufNewFile,BufRead .login*,.cshrc*,csh.cshrc,csh.login,csh.logout,*.csh,.alias call s:CSH()
|
||||
|
||||
fun! SetFileTypeCSH()
|
||||
fun! s:CSH()
|
||||
if exists("g:filetype_csh")
|
||||
call SetFileTypeShell(g:filetype_csh)
|
||||
elseif &shell =~ "tcsh"
|
||||
@@ -1384,7 +1413,8 @@ fun! SetFileTypeCSH()
|
||||
endfun
|
||||
|
||||
" Z-Shell script
|
||||
au BufNewFile,BufRead .zsh*,.zlog*,.zprofile,/etc/zprofile,.zfbfmarks,.zcompdump* setf zsh
|
||||
au BufNewFile,BufRead .zprofile,/etc/zprofile,.zfbfmarks setf zsh
|
||||
au BufNewFile,BufRead .zsh*,.zlog*,.zcompdump* call s:StarSetf('zsh')
|
||||
|
||||
" Scheme
|
||||
au BufNewFile,BufRead *.scm,*.ss setf scheme
|
||||
@@ -1454,6 +1484,9 @@ au BufNewFile,BufRead *.sp,*.spice setf spice
|
||||
" Spyce
|
||||
au BufNewFile,BufRead *.spy,*.spi setf spyce
|
||||
|
||||
" Vim spell file
|
||||
au BufNewFile,BufRead *.spl setf vimspell
|
||||
|
||||
" Squid
|
||||
au BufNewFile,BufRead squid.conf setf squid
|
||||
|
||||
@@ -1461,9 +1494,9 @@ au BufNewFile,BufRead squid.conf setf squid
|
||||
au BufNewFile,BufRead *.tyb,*.typ,*.tyc,*.pkb,*.pks setf sql
|
||||
|
||||
" SQL
|
||||
au BufNewFile,BufRead *.sql call SetFileTypeSQL()
|
||||
au BufNewFile,BufRead *.sql call s:SQL()
|
||||
|
||||
fun! SetFileTypeSQL()
|
||||
fun! s:SQL()
|
||||
if exists("g:filetype_sql")
|
||||
exe "setf " . g:filetype_sql
|
||||
else
|
||||
@@ -1494,7 +1527,7 @@ au BufNewFile,BufRead /etc/sudoers,sudoers.tmp setf sudoers
|
||||
|
||||
" Tads (or Nroff)
|
||||
au BufNewFile,BufRead *.t
|
||||
\ if !<SID>FTnroff() | setf tads | endif
|
||||
\ if !s:FTnroff() | setf tads | endif
|
||||
|
||||
" Tags
|
||||
au BufNewFile,BufRead tags setf tags
|
||||
@@ -1551,7 +1584,8 @@ au BufNewFile,BufRead *.uc setf uc
|
||||
au BufNewFile,BufRead *.v setf verilog
|
||||
|
||||
" VHDL
|
||||
au BufNewFile,BufRead *.hdl,*.vhd,*.vhdl,*.vhdl_[0-9]*,*.vbe,*.vst setf vhdl
|
||||
au BufNewFile,BufRead *.hdl,*.vhd,*.vhdl,*.vbe,*.vst setf vhdl
|
||||
au BufNewFile,BufRead *.vhdl_[0-9]* call s:StarSetf('vhdl')
|
||||
|
||||
" Vim script
|
||||
au BufNewFile,BufRead *.vim,.exrc,_exrc setf vim
|
||||
@@ -1563,7 +1597,7 @@ au BufNewFile,BufRead .viminfo,_viminfo setf viminfo
|
||||
au BufRead,BufNewFile *.hw,*.module,*.pkg setf virata
|
||||
|
||||
" Visual Basic (also uses *.bas) or FORM
|
||||
au BufNewFile,BufRead *.frm call <SID>FTVB("form")
|
||||
au BufNewFile,BufRead *.frm call s:FTVB("form")
|
||||
|
||||
" SaxBasic is close to Visual Basic
|
||||
au BufNewFile,BufRead *.sba setf vb
|
||||
@@ -1635,7 +1669,7 @@ au BufNewFile,BufRead .Xdefaults,.Xpdefaults,.Xresources,xdm-config,*.ad setf xd
|
||||
" Xmath
|
||||
au BufNewFile,BufRead *.msc,*.msf setf xmath
|
||||
au BufNewFile,BufRead *.ms
|
||||
\ if !<SID>FTnroff() | setf xmath | endif
|
||||
\ if !s:FTnroff() | setf xmath | endif
|
||||
|
||||
" XML
|
||||
au BufNewFile,BufRead *.xml
|
||||
@@ -1675,7 +1709,7 @@ augroup END
|
||||
|
||||
" Source the user-specified filetype file, for backwards compatibility with
|
||||
" Vim 5.x.
|
||||
if exists("myfiletypefile") && file_readable(expand(myfiletypefile))
|
||||
if exists("myfiletypefile") && filereadable(expand(myfiletypefile))
|
||||
execute "source " . myfiletypefile
|
||||
endif
|
||||
|
||||
@@ -1693,80 +1727,93 @@ au StdinReadPost * if !did_filetype() | runtime! scripts.vim | endif
|
||||
" Extra checks for when no filetype has been detected now. Mostly used for
|
||||
" patterns that end in "*". E.g., "zsh*" matches "zsh.vim", but that's a Vim
|
||||
" script file.
|
||||
" Most of these should call s:StarSetf() to avoid names ending in .gz and the
|
||||
" like are used.
|
||||
|
||||
" BIND zone
|
||||
au BufNewFile,BufRead /var/named/* setf bindzone
|
||||
au BufNewFile,BufRead /var/named/* call s:StarSetf('bindzone')
|
||||
|
||||
" Changelog
|
||||
au BufNewFile,BufRead [cC]hange[lL]og* if getline(1) =~ '; urgency='
|
||||
\| setf debchangelog | else | setf changelog | endif
|
||||
au BufNewFile,BufRead [cC]hange[lL]og*
|
||||
\ if getline(1) =~ '; urgency='
|
||||
\| call s:StarSetf('debchangelog')
|
||||
\|else
|
||||
\| call s:StarSetf('changelog')
|
||||
\|endif
|
||||
|
||||
" Crontab
|
||||
au BufNewFile,BufRead crontab,crontab.* setf crontab
|
||||
au BufNewFile,BufRead crontab,crontab.* call s:StarSetf('crontab')
|
||||
|
||||
" Dracula
|
||||
au BufNewFile,BufRead drac.* setf dracula
|
||||
au BufNewFile,BufRead drac.* call s:StarSetf('dracula')
|
||||
|
||||
" Fvwm
|
||||
au BufNewFile,BufRead *fvwmrc*,*fvwm95*.hook
|
||||
\ let b:fvwm_version = 1 | setf fvwm
|
||||
\ let b:fvwm_version = 1 | call s:StarSetf('fvwm')
|
||||
au BufNewFile,BufRead *fvwm2rc*
|
||||
\ if expand("<afile>:e") == "m4" | setf fvwm2m4 | else |
|
||||
\ let b:fvwm_version = 2 | setf fvwm | endif
|
||||
\ if expand("<afile>:e") == "m4"
|
||||
\| call s:StarSetf('fvwm2m4')
|
||||
\|else
|
||||
\| let b:fvwm_version = 2 | call s:StarSetf('fvwm')
|
||||
\|endif
|
||||
|
||||
" GTK RC
|
||||
au BufNewFile,BufRead .gtkrc*,gtkrc* setf gtkrc
|
||||
au BufNewFile,BufRead .gtkrc*,gtkrc* call s:StarSetf('gtkrc')
|
||||
|
||||
" Jam
|
||||
au BufNewFile,BufRead Prl*.*,JAM*.* setf jam
|
||||
au BufNewFile,BufRead Prl*.*,JAM*.* call s:StarSetf('jam')
|
||||
|
||||
" Jargon
|
||||
au! BufNewFile,BufRead *jarg*
|
||||
\ if getline(1).getline(2).getline(3).getline(4).getline(5) =~? 'THIS IS THE JARGON FILE' |
|
||||
\ setf jargon |
|
||||
\ endif
|
||||
\ if getline(1).getline(2).getline(3).getline(4).getline(5) =~? 'THIS IS THE JARGON FILE'
|
||||
\| call s:StarSetf('jargon')
|
||||
\|endif
|
||||
|
||||
" Makefile
|
||||
au BufNewFile,BufRead [mM]akefile* setf make
|
||||
au BufNewFile,BufRead [mM]akefile* call s:StarSetf('make')
|
||||
|
||||
" Ruby Makefile
|
||||
au BufNewFile,BufRead [rR]akefile* setf ruby
|
||||
au BufNewFile,BufRead [rR]akefile* call s:StarSetf('ruby')
|
||||
|
||||
" Mutt setup file
|
||||
au BufNewFile,BufRead muttrc*,Muttrc* setf muttrc
|
||||
au BufNewFile,BufRead muttrc*,Muttrc* call s:StarSetf('muttrc')
|
||||
|
||||
" Nroff macros
|
||||
au BufNewFile,BufRead tmac.* setf nroff
|
||||
au BufNewFile,BufRead tmac.* call s:StarSetf('nroff')
|
||||
|
||||
" Printcap and Termcap
|
||||
au BufNewFile,BufRead *printcap*
|
||||
\ if !did_filetype() | let b:ptcap_type = "print" | setf ptcap | endif
|
||||
\ if !did_filetype()
|
||||
\| let b:ptcap_type = "print" | call s:StarSetf('ptcap')
|
||||
\|endif
|
||||
au BufNewFile,BufRead *termcap*
|
||||
\ if !did_filetype() | let b:ptcap_type = "term" | setf ptcap | endif
|
||||
\ if !did_filetype()
|
||||
\| let b:ptcap_type = "term" | call s:StarSetf('ptcap')
|
||||
\|endif
|
||||
|
||||
" Vim script
|
||||
au BufNewFile,BufRead *vimrc* setf vim
|
||||
au BufNewFile,BufRead *vimrc* call s:StarSetf('vim')
|
||||
|
||||
" Subversion commit file
|
||||
au BufNewFile,BufRead svn-commit*.tmp setf svn
|
||||
|
||||
" X resources file
|
||||
au BufNewFile,BufRead Xresources*,*/app-defaults/*,*/Xresources/* setf xdefaults
|
||||
au BufNewFile,BufRead Xresources*,*/app-defaults/*,*/Xresources/* call s:StarSetf('xdefaults')
|
||||
|
||||
" XFree86 config
|
||||
au BufNewFile,BufRead XF86Config-4*
|
||||
\ let b:xf86c_xfree86_version = 4 | setf xf86conf
|
||||
\ let b:xf86c_xfree86_version = 4 | call s:StarSetf('xf86conf')
|
||||
au BufNewFile,BufRead XF86Config*
|
||||
\ if getline(1) =~ '\<XConfigurator\>' |
|
||||
\ let b:xf86c_xfree86_version = 3 |
|
||||
\ endif |
|
||||
\ setf xf86conf
|
||||
\ if getline(1) =~ '\<XConfigurator\>'
|
||||
\| let b:xf86c_xfree86_version = 3
|
||||
\|endif
|
||||
\|call s:StarSetf('xf86conf')
|
||||
|
||||
" X11 xmodmap
|
||||
au BufNewFile,BufRead *xmodmap* setf xmodmap
|
||||
au BufNewFile,BufRead *xmodmap* call s:StarSetf('xmodmap')
|
||||
|
||||
" Z-Shell script
|
||||
au BufNewFile,BufRead zsh*,zlog* setf zsh
|
||||
au BufNewFile,BufRead zsh*,zlog* call s:StarSetf('zsh')
|
||||
|
||||
|
||||
" Generic configuration file (check this last, it's just guessing!)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Vim support file to switch on loading plugins for file types
|
||||
"
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last change: 2004 Nov 22
|
||||
" Last change: 2005 Mar 25
|
||||
|
||||
if exists("did_load_ftplugin")
|
||||
finish
|
||||
@@ -11,11 +11,11 @@ let did_load_ftplugin = 1
|
||||
augroup filetypeplugin
|
||||
au FileType * call s:LoadFTPlugin()
|
||||
func! s:LoadFTPlugin()
|
||||
if exists("b:undo_ftplugin")
|
||||
exe b:undo_ftplugin
|
||||
unlet! b:undo_ftplugin b:did_ftplugin
|
||||
endif
|
||||
if expand("<amatch>") != ""
|
||||
if exists("b:undo_ftplugin")
|
||||
exe b:undo_ftplugin
|
||||
unlet! b:undo_ftplugin b:did_ftplugin
|
||||
endif
|
||||
if &cpo =~# "S" && exists("b:did_ftplugin")
|
||||
" In compatible mode options are reset to the global values, need to
|
||||
" set the local values also when a plugin was already used.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: C
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last Change: 2004 Sep 01
|
||||
" Last Change: 2005 Mar 27
|
||||
|
||||
" Only do this when not done yet for this buffer
|
||||
if exists("b:did_ftplugin")
|
||||
@@ -11,12 +11,10 @@ endif
|
||||
" Don't load another plugin for this buffer
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
" Using line continuation here.
|
||||
set cpo-=C
|
||||
|
||||
let b:undo_ftplugin = "setl cin< fo< com<"
|
||||
\ . "| if has('vms') | setl isk< | endif"
|
||||
|
||||
setlocal cindent
|
||||
let b:undo_ftplugin = "setl fo< com< | if has('vms') | setl isk< | endif"
|
||||
|
||||
" Set 'formatoptions' to break comment lines but not other lines,
|
||||
" and insert the comment leader when hitting <CR> or using "o".
|
||||
|
||||
@@ -216,7 +216,7 @@ if &filetype == "changelog"
|
||||
command! -nargs=0 NewChangelogEntry call s:new_changelog_entry()
|
||||
endif
|
||||
|
||||
let b:undo_ftplugin = "setl com< tw< fo< et< ai<"
|
||||
let b:undo_ftplugin = "setl com< tw< fo< et<"
|
||||
|
||||
if &textwidth == 0
|
||||
setlocal textwidth=78
|
||||
@@ -224,7 +224,7 @@ if &filetype == "changelog"
|
||||
setlocal comments=
|
||||
setlocal formatoptions+=t
|
||||
setlocal noexpandtab
|
||||
setlocal autoindent
|
||||
" setlocal autoindent now in indent file
|
||||
|
||||
let &cpo = cpo_save
|
||||
else
|
||||
|
||||
@@ -11,8 +11,6 @@ endif
|
||||
" Don't load another plugin for this buffer
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
setlocal cindent
|
||||
|
||||
" Set 'formatoptions' to break comment lines but not other lines,
|
||||
" and insert the comment leader when hitting <CR> or using "o".
|
||||
setlocal fo-=t fo+=croql
|
||||
|
||||
@@ -6,8 +6,6 @@
|
||||
if exists("b:did_ftplugin") | finish | endif
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
setlocal nocindent
|
||||
setlocal autoindent
|
||||
setlocal foldmethod=syntax
|
||||
|
||||
set cpo-=C
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: Java
|
||||
" Maintainer: Dan Sharp <dwsharp at hotmail dot com>
|
||||
" Last Change: 2004 May 16
|
||||
" Last Change: 2005 Mar 28
|
||||
" URL: http://mywebpage.netscape.com/sharppeople/vim/ftplugin
|
||||
|
||||
if exists("b:did_ftplugin") | finish | endif
|
||||
@@ -12,19 +12,6 @@ let b:did_ftplugin = 1
|
||||
let s:save_cpo = &cpo
|
||||
set cpo-=C
|
||||
|
||||
" Go ahead and set this to get decent indenting even if the indent files
|
||||
" aren't being used. For people who really don't want any indentation,
|
||||
" let them turn it off.
|
||||
if !exists("g:ftplugin_java_no_indent")
|
||||
setlocal cindent
|
||||
|
||||
"---------------------
|
||||
" Correctly indent anonymous classes
|
||||
" From Johannes Zellner <johannes@zellner.org>
|
||||
setlocal cinoptions+=j1
|
||||
"---------------------
|
||||
endif
|
||||
|
||||
" For filename completion, prefer the .java extension over the .class
|
||||
" extension.
|
||||
set suffixes+=.class
|
||||
@@ -55,7 +42,7 @@ if has("gui_win32")
|
||||
endif
|
||||
|
||||
" Undo the stuff we changed.
|
||||
let b:undo_ftplugin = "setlocal cindent< cinoptions< suffixes< suffixesadd<" .
|
||||
let b:undo_ftplugin = "setlocal suffixes< suffixesadd<" .
|
||||
\ " formatoptions< comments< commentstring< path< includeexpr<" .
|
||||
\ " | unlet! b:browsefilter"
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ endif
|
||||
" Don't load another plugin for this buffer
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
setl autoindent
|
||||
setl comments=:;
|
||||
setl define=^\\s*(def\\k*
|
||||
setl formatoptions-=t
|
||||
@@ -25,6 +24,3 @@ setl lisp
|
||||
" e.g. insertion of ;;; and ;; on normal "O" or "o" when staying in comment
|
||||
setl comments^=:;;;,:;;,sr:#\|,mb:\|,ex:\|#
|
||||
setl formatoptions+=croql
|
||||
" with smartindent # cause left alignment
|
||||
setl nosmartindent
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: RPL/2
|
||||
" Maintainer: Jo<4A>l BERTRAND <rpl2@free.fr>
|
||||
" Last Change: 2002 Feb 07
|
||||
" Last Change: 2005 Mar 28
|
||||
" Version: 0.1
|
||||
|
||||
" Only do this when not done yet for this buffer
|
||||
@@ -12,8 +12,6 @@ endif
|
||||
" Don't load another plugin for this buffer
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
setlocal autoindent
|
||||
|
||||
" Set 'formatoptions' to break comment lines but not other lines,
|
||||
" and insert the comment leader when hitting <CR> or using "o".
|
||||
setlocal fo-=t fo+=croql
|
||||
|
||||
@@ -1,35 +1,198 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: SQL (Common for Oracle, Microsoft SQL Server, Sybase)
|
||||
" Version: 0.02
|
||||
" Maintainer: David Fishburn <fishburn@ianywhere.com>
|
||||
" Last Change: Tue May 27 2003 09:33:31
|
||||
" SQL filetype plugin file
|
||||
" Language: SQL (Common for Oracle, Microsoft SQL Server, Sybase)
|
||||
" Version: 0.08
|
||||
" Maintainer: David Fishburn <fishburn at ianywhere dot com>
|
||||
" Last Change: Mon Feb 21 2005 7:27:36 AM
|
||||
" Download: http://vim.sourceforge.net/script.php?script_id=454
|
||||
|
||||
" This file should only contain values that are common to all SQL languages
|
||||
" Oracle, Microsoft SQL Server, Sybase ASA/ASE, MySQL, and so on
|
||||
" If additional features are required create:
|
||||
" vimfiles/after/ftplugin/sql.vim
|
||||
" to override and add any of your own settings
|
||||
" vimfiles/after/ftplugin/sql.vim (Windows)
|
||||
" .vim/after/ftplugin/sql.vim (Unix)
|
||||
" to override and add any of your own settings.
|
||||
|
||||
" Only do this when not done yet for this buffer
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
|
||||
let s:save_cpo = &cpo
|
||||
set cpo=
|
||||
|
||||
" Don't load another plugin for this buffer
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
" Some standard expressions for use with the matchit strings
|
||||
let s:notend = '\%(\<end\s\+\)\@<!'
|
||||
let s:when_no_matched_or_others = '\%(\<when\>\%(\s\+\%(\%(\<not\>\s\+\)\?<matched\>\)\|\<others\>\)\@!\)'
|
||||
let s:or_replace = '\%(or\s\+replace\s\+\)\?'
|
||||
|
||||
" Define patterns for the matchit macro
|
||||
if !exists("b:match_words")
|
||||
" SQL is generally case insensitive
|
||||
let b:match_ignorecase = 1
|
||||
|
||||
" Handle the following:
|
||||
" if
|
||||
" elseif | elsif
|
||||
" else [if]
|
||||
" end if
|
||||
"
|
||||
" [while condition] loop
|
||||
" leave
|
||||
" break
|
||||
" continue
|
||||
" exit
|
||||
" end loop
|
||||
"
|
||||
" for
|
||||
" leave
|
||||
" break
|
||||
" continue
|
||||
" exit
|
||||
" end loop
|
||||
"
|
||||
" do
|
||||
" statements
|
||||
" doend
|
||||
"
|
||||
" case
|
||||
" when
|
||||
" when
|
||||
" default
|
||||
" end case
|
||||
"
|
||||
" merge
|
||||
" when not matched
|
||||
" when matched
|
||||
"
|
||||
" EXCEPTION
|
||||
" WHEN column_not_found THEN
|
||||
" WHEN OTHERS THEN
|
||||
"
|
||||
" create[ or replace] procedure|function|event
|
||||
|
||||
let b:match_words =
|
||||
\ '\<begin\>:\<end\>\(;\)\?$,'.
|
||||
\ '\<if\>:\<elsif\>:\<elseif\>:\<else\>:'.
|
||||
\ '\%(\<end\s\+\)\@<!' . '\<if\>:\<end\s\+if\>,'.
|
||||
\ '\<loop\>:\<break\>:\<continue\>:'.
|
||||
\ '\%(\<end\s\+\)\@<!' . '\<loop\>:\<end\s\+loop\>,'.
|
||||
\ '\<for\>:\<break\>:\<continue\>:'.
|
||||
\ '\%(\<end\s\+\)\@<!' . '\<for\>:\<end\s\+for\>,'.
|
||||
\ '\<case\>:\<when\>:\<default\>:'.
|
||||
\ '\%(\<end\s\+\)\@<!' . '\<case\>:\<end\s\+case\>'
|
||||
\ '\<begin\>:\<end\>\W*$,'.
|
||||
\
|
||||
\ s:notend . '\<if\>:'.
|
||||
\ '\<elsif\>\|\<elseif\>\|\<else\>:'.
|
||||
\ '\<end\s\+if\>,'.
|
||||
\
|
||||
\ '\<do\>\|'.
|
||||
\ '\<while\>\|'.
|
||||
\ '\%(' . s:notend . '\<loop\>\)\|'.
|
||||
\ '\%(' . s:notend . '\<for\>\):'.
|
||||
\ '\<exit\>\|\<leave\>\|\<break\>\|\<continue\>:'.
|
||||
\ '\%(\<end\s\+\%(for\|loop\>\)\)\|\<doend\>,'.
|
||||
\
|
||||
\ '\%('. s:notend . '\<case\>\):'.
|
||||
\ '\%('.s:when_no_matched_or_others.'\):'.
|
||||
\ '\%(\<when\s\+others\>\|\<end\s\+case\>\),' .
|
||||
\
|
||||
\ '\<merge\>:' .
|
||||
\ '\<when\s\+not\s\+matched\>:' .
|
||||
\ '\<when\s\+matched\>,' .
|
||||
\
|
||||
\ '\%(\<create\s\+' . s:or_replace . '\)\?'.
|
||||
\ '\%(function\|procedure\|event\):'.
|
||||
\ '\<returns\?\>'
|
||||
" \ '\<begin\>\|\<returns\?\>:'.
|
||||
" \ '\<end\>\(;\)\?\s*$'
|
||||
" \ '\<exception\>:'.s:when_no_matched_or_others.
|
||||
" \ ':\<when\s\+others\>,'.
|
||||
"
|
||||
" \ '\%(\<exception\>\|\%('. s:notend . '\<case\>\)\):'.
|
||||
" \ '\%(\<default\>\|'.s:when_no_matched_or_others.'\):'.
|
||||
" \ '\%(\%(\<when\s\+others\>\)\|\<end\s\+case\>\),' .
|
||||
endif
|
||||
|
||||
" Define how to find the macro definition of a variable using the various
|
||||
" [d, [D, [_CTRL_D and so on features
|
||||
" Match these values ignoring case
|
||||
" ie DECLARE varname INTEGER
|
||||
let &l:define = '\c\(DECLARE\|IN\|OUT\|INOUT\)\s*'
|
||||
|
||||
|
||||
" Mappings to move to the next BEGIN ... END block
|
||||
" \W - no characters or digits
|
||||
nmap <buffer> <silent> ]] :call search('\c^\s*begin\>', 'W' )<CR>
|
||||
nmap <buffer> <silent> [[ :call search('\c^\s*begin\>', 'bW' )<CR>
|
||||
nmap <buffer> <silent> ][ :call search('\c^\s*end\W*$', 'W' )<CR>
|
||||
nmap <buffer> <silent> [] :call search('\c^\s*end\W*$', 'bW' )<CR>
|
||||
vmap <buffer> <silent> ]] /\c^\s*begin\><CR>
|
||||
vmap <buffer> <silent> [[ ?\c^\s*begin<CR>
|
||||
vmap <buffer> <silent> ][ /\c^\s*end\W*$<CR>
|
||||
vmap <buffer> <silent> [] ?\c^\s*end\W*$<CR>
|
||||
|
||||
|
||||
" Predefined SQL objects what are used by the below mappings using
|
||||
" the ]} style maps.
|
||||
" This global variable allows the users to override it's value
|
||||
" from within their vimrc.
|
||||
if !exists('g:ftplugin_sql_objects')
|
||||
let g:ftplugin_sql_objects = 'function,procedure,event,' .
|
||||
\ '\(existing\\|global\s\+temporary\s\+\)\?table,trigger' .
|
||||
\ ',schema,service,publication,database,datatype,domain' .
|
||||
\ ',index,subscription,synchronization,view,variable'
|
||||
endif
|
||||
|
||||
let s:ftplugin_sql_objects =
|
||||
\ '\c^\s*' .
|
||||
\ '\(create\s\+\(or\s\+replace\s\+\)\?\)\?' .
|
||||
\ '\<\(' .
|
||||
\ substitute(g:ftplugin_sql_objects, ',', '\\\\|', 'g') .
|
||||
\ '\)\>'
|
||||
|
||||
" Mappings to move to the next CREATE ... block
|
||||
" map <buffer> <silent> ]} :call search(g:ftplugin_sql_objects, 'W' )<CR>
|
||||
" nmap <buffer> <silent> [{ :call search('\c^\s*\(create\s\+\(or\s\+replace\s\+\)\?\)\?\<\(function\\|procedure\\|event\\|table\\|trigger\\|schema\)\>', 'bW' )<CR>
|
||||
" exec 'nmap <buffer> <silent> ]} /'.s:ftplugin_sql_objects.'<CR>'
|
||||
exec "nmap <buffer> <silent> ]} :call search('".s:ftplugin_sql_objects."', 'W')<CR>"
|
||||
exec "nmap <buffer> <silent> [{ :call search('".s:ftplugin_sql_objects."', 'bW')<CR>"
|
||||
" Could not figure out how to use a :call search() string in visual mode
|
||||
" without it ending visual mode
|
||||
exec 'vmap <buffer> <silent> ]} /'.s:ftplugin_sql_objects.'<CR>'
|
||||
exec 'vmap <buffer> <silent> [{ ?'.s:ftplugin_sql_objects.'<CR>'
|
||||
" vmap <buffer> <silent> ]} /\c^\s*\(create\s\+\(or\s\+replace\s\+\)\?\)\?\<\(function\\|procedure\\|event\\|table\\|trigger\\|schema\)\><CR>
|
||||
" vmap <buffer> <silent> [{ ?\c^\s*\(create\s\+\(or\s\+replace\s\+\)\?\)\?\<\(function\\|procedure\\|event\\|table\\|trigger\\|schema\)\><CR>
|
||||
|
||||
" Mappings to move to the next COMMENT
|
||||
"
|
||||
" Had to double the \ for the \| separator since this has a special
|
||||
" meaning on maps
|
||||
let b:comment_leader = '\(--\\|\/\/\\|\*\\|\/\*\\|\*\/\)'
|
||||
" Find the start of the next comment
|
||||
let b:comment_start = '^\(\s*'.b:comment_leader.'.*\n\)\@<!'.
|
||||
\ '\(\s*'.b:comment_leader.'\)'
|
||||
" Find the end of the previous comment
|
||||
let b:comment_end = '\(^\s*'.b:comment_leader.'.*\n\)'.
|
||||
\ '\(^\s*'.b:comment_leader.'\)\@!'
|
||||
" Skip over the comment
|
||||
let b:comment_jump_over = "call search('".
|
||||
\ '^\(\s*'.b:comment_leader.'.*\n\)\@<!'.
|
||||
\ "', 'W')"
|
||||
let b:comment_skip_back = "call search('".
|
||||
\ '^\(\s*'.b:comment_leader.'.*\n\)\@<!'.
|
||||
\ "', 'bW')"
|
||||
" Move to the start and end of comments
|
||||
exec 'nnoremap <silent><buffer> ]" /'.b:comment_start.'<CR>'
|
||||
exec 'nnoremap <silent><buffer> [" /'.b:comment_end.'<CR>'
|
||||
exec 'vnoremap <silent><buffer> ]" /'.b:comment_start.'<CR>'
|
||||
exec 'vnoremap <silent><buffer> [" /'.b:comment_end.'<CR>'
|
||||
|
||||
" Comments can be of the form:
|
||||
" /*
|
||||
" *
|
||||
" */
|
||||
" or
|
||||
" //
|
||||
" or
|
||||
" --
|
||||
setlocal comments=s1:/*,mb:*,ex:*/,:--,://
|
||||
|
||||
let &cpo = s:save_cpo
|
||||
|
||||
" vim:sw=4:ff=unix:
|
||||
|
||||
|
||||
@@ -6,8 +6,6 @@
|
||||
if exists("b:did_ftplugin") | finish | endif
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
setlocal nocindent
|
||||
setlocal autoindent
|
||||
setlocal com=sr:'\ -,mb:'\ \ ,el:'\ \ ,:'
|
||||
|
||||
" we need this wrapper, as call doesn't allow a count
|
||||
|
||||
41
runtime/ftplugin/vhdl.vim
Normal file
41
runtime/ftplugin/vhdl.vim
Normal file
@@ -0,0 +1,41 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: VHDL
|
||||
" Maintainer: R.Shankar (shankar at txc.stpn.soft.net)
|
||||
" Last Change: Tue Oct 8
|
||||
|
||||
|
||||
" Only do this when not done yet for this buffer
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
|
||||
" Don't load another plugin for this buffer
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
" Set 'formatoptions' to break comment lines but not other lines,
|
||||
" and insert the comment leader when hitting <CR> or using "o".
|
||||
"setlocal fo-=t fo+=croqlm1
|
||||
|
||||
" Set 'comments' to format dashed lists in comments.
|
||||
"setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
|
||||
|
||||
" Format comments to be up to 78 characters long
|
||||
setlocal tw=75
|
||||
|
||||
set cpo-=C
|
||||
|
||||
" Win32 can filter files in the browse dialog
|
||||
"if has("gui_win32") && !exists("b:browsefilter")
|
||||
" let b:browsefilter = "Verilog Source Files (*.v)\t*.v\n" .
|
||||
" \ "All Files (*.*)\t*.*\n"
|
||||
"endif
|
||||
|
||||
" Let the matchit plugin know what items can be matched.
|
||||
if ! exists("b:match_words") && exists("loaded_matchit")
|
||||
let b:match_ignorecase=1
|
||||
let s:notend = '\%(\<end\s\+\)\@<!'
|
||||
let b:match_words=
|
||||
\ s:notend . '\<if\>:\<elsif\>:\<else\>:\<end\>\s\+\<if\>,' .
|
||||
\ s:notend . '\<case\>:\<when\>:\<end\>\s\+\<case\>,' .
|
||||
\ s:notend . '\<process\>:\<end\>\s\+\<process\>'
|
||||
endif
|
||||
@@ -1,7 +1,7 @@
|
||||
" Vim filetype plugin
|
||||
" Language: Vim
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last Change: 2004 Sep 13
|
||||
" Last Change: 2005 Feb 14
|
||||
|
||||
" Only do this when not done yet for this buffer
|
||||
if exists("b:did_ftplugin")
|
||||
@@ -58,4 +58,6 @@ if exists("loaded_matchit")
|
||||
endif
|
||||
|
||||
let &cpo = cpo_save
|
||||
setlocal cpo+=M " makes \%( match \)
|
||||
|
||||
" removed this, because 'cpoptions' is a global option.
|
||||
" setlocal cpo+=M " makes \%( match \)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Vim support file to switch on loading indent files for file types
|
||||
"
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last Change: 2001 Sep 12
|
||||
" Last Change: 2005 Mar 28
|
||||
|
||||
if exists("did_indent_on")
|
||||
finish
|
||||
@@ -9,5 +9,17 @@ endif
|
||||
let did_indent_on = 1
|
||||
|
||||
augroup filetypeindent
|
||||
au FileType * if expand("<amatch>") != "" | if exists("b:did_indent") | unlet b:did_indent | endif | runtime! indent/<amatch>.vim | endif
|
||||
au FileType * call s:LoadIndent()
|
||||
func! s:LoadIndent()
|
||||
if exists("b:undo_indent")
|
||||
exe b:undo_indent
|
||||
unlet! b:undo_indent b:did_indent
|
||||
endif
|
||||
if expand("<amatch>") != ""
|
||||
if exists("b:did_indent")
|
||||
unlet b:did_indent
|
||||
endif
|
||||
runtime! indent/<amatch>.vim
|
||||
endif
|
||||
endfunc
|
||||
augroup END
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
" Vim filetype plugin
|
||||
" Vim indent file
|
||||
" Language: BibTeX
|
||||
" Maintainer: Dorai Sitaram <ds26@gte.com>
|
||||
" URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html
|
||||
" Last Change: May 21, 2003
|
||||
" Last Change: 2005 Mar 28
|
||||
|
||||
" Only do this when not done yet for this buffer
|
||||
if exists("b:did_ftplugin")
|
||||
if exists("b:did_indent")
|
||||
finish
|
||||
endif
|
||||
let b:did_indent = 1
|
||||
|
||||
" Don't load another plugin for this buffer
|
||||
let b:did_ftplugin = 1
|
||||
setlocal cindent
|
||||
|
||||
setl cindent
|
||||
let b:undo_indent = "setl cin<"
|
||||
@@ -1,7 +1,7 @@
|
||||
" Vim indent file
|
||||
" Language: C
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last Change: 2001 Jun 12
|
||||
" Last Change: 2005 Mar 27
|
||||
|
||||
" Only load this indent file when no other was loaded.
|
||||
if exists("b:did_indent")
|
||||
@@ -11,3 +11,5 @@ let b:did_indent = 1
|
||||
|
||||
" C indenting is built-in, thus this is very simple
|
||||
setlocal cindent
|
||||
|
||||
let b:undo_indent = "setl cin<"
|
||||
|
||||
15
runtime/indent/changelog.vim
Normal file
15
runtime/indent/changelog.vim
Normal file
@@ -0,0 +1,15 @@
|
||||
" Vim indent file
|
||||
" Language: generic Changelog file
|
||||
" Language: C
|
||||
" Maintainer: noone
|
||||
" Last Change: 2005 Mar 28
|
||||
|
||||
" Only load this indent file when no other was loaded.
|
||||
if exists("b:did_indent")
|
||||
finish
|
||||
endif
|
||||
let b:did_indent = 1
|
||||
|
||||
setlocal ai
|
||||
|
||||
let b:undo_indent = "setl ai<"
|
||||
@@ -11,3 +11,5 @@ let b:did_indent = 1
|
||||
|
||||
" C# is like indenting C
|
||||
setlocal cindent
|
||||
|
||||
let b:undo_indent = "setl cin<"
|
||||
|
||||
@@ -8,11 +8,14 @@ if exists("b:did_indent")
|
||||
endif
|
||||
let b:did_indent = 1
|
||||
|
||||
setlocal autoindent
|
||||
setlocal indentexpr=GetIshdIndent(v:lnum)
|
||||
setlocal indentkeys&
|
||||
setlocal indentkeys+==else,=elseif,=endif,=end,=begin,<:>
|
||||
" setlocal indentkeys-=0#
|
||||
|
||||
let b:undo_indent = "setl ai< indentexpr< indentkeys<"
|
||||
|
||||
" Only define the function once.
|
||||
if exists("*GetIshdIndent")
|
||||
finish
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user