@username
を付けますjob_start({command} [, {options}]) *job_start()*
Start a job and return a Job object. Unlike |system()| and
|:!cmd| this does not wait for the job to finish.
{command} can be a String. This works best on MS-Windows. On
Unix it is split up in white-separated parts to be passed to
execvp(). Arguments in double quotes can contain white space.
{command} can be a List, where the first item is the executable
and further items are the arguments. All items are converted
to String. This works best on Unix.
On MS-Windows, job_start() makes a GUI application hidden. If
want to show it, Use |:!start| instead.
The command is executed directly, not through a shell, the
'shell' option is not used. To use the shell:
let job = job_start(["/bin/sh", "-c", "echo hello"])
Or:
let job = job_start('/bin/sh -c "echo hello"')
Note that this will start two processes, the shell and the
command it executes. If you don't want this use the "exec"
shell command.
On Unix $PATH is used to search for the executable only when
the command does not contain a slash.
The job will use the same terminal as Vim. If it reads from
stdin the job and Vim will be fighting over input, that
doesn't work. Redirect stdin and stdout to avoid problems:
let job = job_start(['sh', '-c', "myserver </dev/null >/dev/null"])
The returned Job object can be used to get the status with
|job_status()| and stop the job with |job_stop()|.
{options} must be a Dictionary. It can contain many optional
items, see |job-options|.
{only available when compiled with the |+job| feature}
@username
を付けます 26 | autocmd QuickFixCmdPost *
27 | \ cwindow | if len(getqflist()) > 0 | wincmd p | endif
*'viminfo'* *'vi'* *E526* *E527* *E528*
'viminfo' 'vi' 文字列 (Viの既定値は "", Vimの既定値は、
MS-DOS, WindowsとOS/2では: '100,<50,s10,h,rA:,rB:,
Amigaでは: '100,<50,s10,h,rdf0:,rdf1:,rdf2:
他のシステムでは: '100,<50,s10,h)
グローバル
{Vi にはない}
{Vimが |+viminfo| 機能付きでコンパイルされたときの
み有効}
値が空でないとき、viminfo ファイルが起動に先立って読み込まれ、また終了
時に書き出される (|viminfo-file| を参照)。値は指定部のコンマ区切りのリ
ストである。指定部には、効果を指定するフラグ1文字の次に、その値を指定
する数または文字列を指定する。指定されなかったものについては、既定値が
使われる。フラグとその動作の一覧は、以下の通りである。
フラグ 動作