fanglingsu / vimb

Vimb - the vim like browser is a webkit based web browser that behaves like the vimperator plugin for the firefox and usage paradigms from the great editor vim. The goal of vimb is to build a completely keyboard-driven, efficient and pleasurable browsing-experience.
https://fanglingsu.github.io/vimb/
GNU General Public License v3.0
1.34k stars 99 forks source link

Add shellex command #707

Open doxnit opened 2 years ago

doxnit commented 2 years ago

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[bot] commented 2 years ago

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

fanglingsu commented 2 years ago

@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.