ex-mode icon indicating copy to clipboard operation
ex-mode copied to clipboard

::! and :r! support?

Open acrosby opened this issue 7 years ago • 5 comments

I know this isn't being actively developed, but if someone takes it on again vim-like shelling out support with :! <command> and :r! <command> would be a nice addition.

acrosby avatar Jun 09 '17 21:06 acrosby

This could be implemented for instance by just passing the command to spawn a new process. @acrosby What is :r! exactly? Can you link to some vim docs? :)

hultberg avatar Jul 29 '17 10:07 hultberg

:r! is just like :! but returns the command that follows it to the text buffer if there is stdin or stout.

Here is an overview that I found by googling that describes this behavior.

https://www.linux.com/learn/vim-tips-working-external-commands

acrosby avatar Jul 31 '17 15:07 acrosby

@acrosby Thanks for this, I have taken notes.

hultberg avatar Aug 01 '17 12:08 hultberg

+1 for this enhancement.

ysaereve avatar Apr 10 '21 11:04 ysaereve

Before this feature is available, the alternative is ... shell-it https://atom.io/packages/shell-it

ysaereve avatar Apr 10 '21 12:04 ysaereve