mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
vim-patch:partial:a01148d: runtime(doc): Expand docs on :! vs. :term (#31321)
fixes: vim/vim#16071
closes: vim/vim#16089
a01148d2cb
Co-authored-by: matveyt <matthewtarasov@yandex.ru>
This commit is contained in:
parent
46d124a933
commit
d9b08c58c3
@ -282,6 +282,16 @@ gx Opens the current filepath or URL (decided by
|
||||
requires using the call operator (&). >
|
||||
:!Write-Output "1`n2" | & "C:\Windows\System32\sort.exe" /r
|
||||
<
|
||||
Vim builds command line using options 'shell', 'shcf',
|
||||
'sxq' and 'shq' in the following order:
|
||||
`&sh &shcf &sxq &shq {cmd} &shq &sxq`
|
||||
So setting both 'sxq' and 'shq' is possible but rarely
|
||||
useful. Additional escaping inside `{cmd}` may also
|
||||
be due to 'sxe' option.
|
||||
|
||||
Also, all |cmdline-special| characters in {cmd} are
|
||||
replaced by Vim before passing them to shell.
|
||||
|
||||
*E34*
|
||||
Any "!" in {cmd} is replaced with the previous
|
||||
external command (see also 'cpoptions'), unless
|
||||
|
Loading…
Reference in New Issue
Block a user