Comments (3)
Hi,
first of all, thanks for answering the StackExchange questions!
And yes, it is possible, the complete syntax here:
https://github.com/vimperator/vimperator-labs/blob/master/common/locale/en-US/starting.xml
So try that:
firefox -vimperator "+c 'js alert("from commandline");'"
would show an prompt after starting firefox or
firefox -vimperator "+c 'open "from commandline"'"
should open the url or search the web.
If it is really required to put that content into the command line, you can
try the normal command:
firefox -vimperator "+c 'normal ":open this is a search"'"
Hope that helps,
Martin
On Sat, Oct 4, 2014 at 3:13 PM, Sam Mingo [email protected] wrote:
Is something like this possible with either Firefox or Chrome + Vimperator?
$ firefox open "this is a search"
The open command would be passed to to the vimperator command line. This Q
was asked on the U&L stackexchange site where I'm one of the mods.β
Reply to this email directly or view it on GitHub
#48.
from vimperator-labs.
I just saw, that if the user really just wants to search for something
(with :open), he'll have to do it delayed as there is a race condition with
the firefox loading code.
Use something like:
firefox -vimperator "+c 'js liberator.sleep(1000) && liberator.open("this
is a search");'"
On Sat, Oct 4, 2014 at 8:10 PM, Martin Stubenschrott <
[email protected]> wrote:
Hi,
first of all, thanks for answering the StackExchange questions!
And yes, it is possible, the complete syntax here:
https://github.com/vimperator/vimperator-labs/blob/master/common/locale/en-US/starting.xml
So try that:
firefox -vimperator "+c 'js alert("from commandline");'"
would show an prompt after starting firefox or
firefox -vimperator "+c 'open "from commandline"'"
should open the url or search the web.
If it is really required to put that content into the command line, you
can try the normal command:firefox -vimperator "+c 'normal ":open this is a search"'"
Hope that helps,
MartinOn Sat, Oct 4, 2014 at 3:13 PM, Sam Mingo [email protected]
wrote:Is something like this possible with either Firefox or Chrome +
Vimperator?$ firefox open "this is a search"
The open command would be passed to to the vimperator command line. This
Q was asked on the U&L stackexchange site where I'm one of the mods.β
Reply to this email directly or view it on GitHub
#48.
from vimperator-labs.
I saw that you responded to the OP, thanks for taking care of this quickly and efficiently. He had also asked for an example of how to roll what you gave him into a function, so I provided him those details on your answer there as well. I'm going to close this issue since it seems as though it's been resolved on the vimperator end. Thanks again for a wonderful addon. I use it too 8-).
from vimperator-labs.
Related Issues (20)
- Favicon (site icons in search) are not resized correctly HOT 4
- Hide scrollbars stopped working on Firefox 56 HOT 1
- styles.removeSheet not working
- Bookmark indicator not updated automatically HOT 1
- Can't change colourscheme, firefox error returned HOT 1
- vim vixen is good for ff-57+ HOT 4
- Can I emulate the action of clicking on the icon for "Add-ons"? Or, say, to have an extension run through a shortcut? HOT 1
- Support for basilisk browser HOT 3
- hlsearch documentation has incorrect default and should be updated
- Muttator Edit message Insert-Link via "Ctrl-K" is broken HOT 2
- Muttator on Thunderbird 52.5.2 broken? HOT 2
- Surfingkeys- a remarkable vimperator alternative for firefox 57+
- Compatibility issue with Waterfox 56.0.4 HOT 13
- open popup renders wrong HOT 3
- Muttator does not work in thunderbird-54.0a1.en-US.win64 HOT 4
- FF 60 HOT 3
- the Native / vim window does not follow UI scaling on Gnome3 HOT 1
- Can we config to make the hint stand behind the link?
- Vimperator is not deadΒ :Β use the browser Waterfox-classic HOT 12
- Some issues on PaleMoon 28.6 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vimperator-labs.