mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 02:34:59 -07:00
feat(editor): :read reads the output of an Ex command into the buffer
This commit is contained in:
parent
c792dbc013
commit
5b410d1e49
@ -2017,13 +2017,13 @@ NOTE: These commands cannot be used with |:global| or |:vglobal|.
|
||||
save the output of the command, which can be set to
|
||||
include stderr or not. {cmd} is executed like with
|
||||
":!{cmd}", any '!' is replaced with the previous
|
||||
command |:!|. See |++opt| for the possible values of
|
||||
[++opt].
|
||||
command |:!|.
|
||||
See |++opt| for the possible values of [++opt].
|
||||
|
||||
*:r:* *:read:*
|
||||
:[range]r[ead] :{cmd}
|
||||
Execute Ex command {cmd} and insert its output below
|
||||
the cursor or the specified line
|
||||
the cursor or the specified line.
|
||||
|
||||
These commands insert the contents of a file, or the output of a command,
|
||||
into the buffer. They can be undone. They cannot be repeated with the "."
|
||||
|
@ -212,8 +212,8 @@ EDITOR
|
||||
"~/" are now expanded to the user's profile directory, not a relative path
|
||||
to a literal "~" directory.
|
||||
• |hl-PmenuMatch| and |hl-PmenuMatchSel| show matched text in completion popup.
|
||||
• |:read:| reads the output of an Ex command into the buffer. Example:> :read
|
||||
:ls
|
||||
• |:read:| reads the output of an Ex command into the buffer. Example:>
|
||||
:read :ls
|
||||
|
||||
EVENTS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user