Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add shellex command #707

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add shellex command #707

wants to merge 2 commits into from

Conversation

doxnit
Copy link

@doxnit doxnit commented Jan 28, 2022

Adds a new feature - the shellex command. Shellex takes a shell command as an argument, reads its output line by line, and executes those lines as vimb commands.

Thanks @cdlscpmv for idea.

@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had activity within the last 60 days.

@stale stale bot added the stale label Apr 16, 2022
@fanglingsu
Copy link
Owner

fanglingsu commented Jul 17, 2022

@doxnit Thank you for the patch and sorry for the late response. For which tasks do you use the :shellex? Yould you please update the manpage under doc/vimb.1.
Could you please reuse existing code of ex_shellcmd. Your ex_shellex looks nearly the same so I assume you could restructure the code so that it can handle :shell and :shellex without replicating the code.

@stale stale bot removed the stale label Jul 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants