-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2eab4e9
commit 90d7899
Showing
1 changed file
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,23 @@ | ||
# openBrowser | ||
openBrowser is a Sublime Text Plug-in who generate a new key bidings. | ||
openBrowsser is a Sublime Text plug-in, which allows you to add a keyboard shortcut, to directly access a website from a selection. | ||
|
||
# Install packages | ||
... | ||
|
||
# Install key | ||
In Sublime Text, you go to `Preferences > Key Bindings`, and on the right you add : | ||
```JSON | ||
{ | ||
"keys" : ["ctrl+alt+g"], | ||
"command": "open_browser", | ||
"args": { | ||
"url": "https://docs.python.org/library/%s" | ||
} | ||
}, | ||
``` | ||
`ctral+alt+g` and `https://docs.python.org/library/%s` are examples, you can replace them. | ||
|
||
- %s : the selection | ||
|
||
# Use | ||
Now, if you select a text, a word... and that you do (with the example above) 'ctrl+alt+g', you will be redirected to the page https://docs.python.org/library/ plus the selection. |