Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian217103 committed Nov 4, 2021
1 parent 2eab4e9 commit 90d7899
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion README.md
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.

0 comments on commit 90d7899

Please sign in to comment.