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 the shellopen command #706

Closed doxnit closed 2 years ago

doxnit commented 2 years ago

Adds a new feature - the shellopen command. Shellopen takes a shell command as an argument and opens an URI returned by it

cdlscpmv commented 2 years ago

Some time ago I was thinking about a similar feature. In my opinion, it would be more useful to be able to return an Ex command from a user script instead of just an URI and have vimb execute it (similar to what Vim's :exe does). This would provide a quite useful IPC mechanism without any unix domain sockets or named pipes.

With this feature, opening a new URI from a user script is just a matter of prefixing the returned URI with open or tabopen.

doxnit commented 2 years ago

@cdlscpmv, this is very good idea, I'll try to implement it