Skip to content
Browse files

Update Readme and keymaps

  • Loading branch information...
1 parent 214937c commit 56e9201efbed6259a09285a994737f386886ba94 @trico trico committed
Showing with 44 additions and 7 deletions.
  1. +2 −1 Default (Linux).sublime-keymap
  2. +2 −1 Default (OSX).sublime-keymap
  3. +2 −1 Default (Windows).sublime-keymap
  4. +9 −1 Main.sublime-menu
  5. +29 −3 README.md
View
3 Default (Linux).sublime-keymap
@@ -1,3 +1,4 @@
[
- { "keys": ["ctrl+k", "ctrl+i"], "command": "gist" }
+ { "keys": ["ctrl+k", "ctrl+i"], "command": "gist" },
+ { "keys": ["ctrl+shift+g"], "command": "gistlist" }
]
View
3 Default (OSX).sublime-keymap
@@ -1,3 +1,4 @@
[
- { "keys": ["super+k", "super+i"], "command": "gist" }
+ { "keys": ["super+k", "super+i"], "command": "gist" },
+ { "keys": ["ctrl+super+g"], "command": "gistlist" }
]
View
3 Default (Windows).sublime-keymap
@@ -1,3 +1,4 @@
[
- { "keys": ["ctrl+k", "ctrl+i"], "command": "gist" }
+ { "keys": ["ctrl+k", "ctrl+i"], "command": "gist" },
+ { "keys": ["ctrl+shift+g"], "command": "gistlist" }
]
View
10 Main.sublime-menu
@@ -5,7 +5,15 @@
"id": "tools",
"children":
[
- { "command": "gist", "caption": "Create Gist" }
+ {
+ "caption": "Gist",
+ "children":
+ [
+ { "command": "gist", "caption": "Create Gist" },
+ { "command": "gistlist", "caption": "Get Gist List" }
+ ]
+ }
+
]
}
]
View
32 README.md
@@ -1,7 +1,7 @@
Gist
====
-[Sublime Text 2](http://www.sublimetext.com/) plugin for creating new Gists from selected text.
+[Sublime Text 2](http://www.sublimetext.com/) plugin for creating new Gists from selected text and get the gist list
Installation
-----------
@@ -34,21 +34,47 @@ Under the Packages/Gist sub-directory, edit the `Gist.sublime-settings` file:
You need to enter your GitHub password here
+* `"use_proxy": true/false`
+
+ You need to enter proxy 'true' if you use a proxy
+
+* `"proxy": http://user:pass@proxy:port`
+
+ You need to enter your proxy if use_proxy is true
+
+
+
Usage
-----
+Create a gist:
From menu items:
-* Main menu: Tools -> "Create Gist"
+* Main menu: Tools -> Gist -> "Create Gist"
* Context menu: "Create Gist"
-By command called "Create Gist from Selected Text".
+By command called "Gist: Create Gist from Selected Text".
There is a key bindings:
* Windows and Linux: "ctrl+k", "ctrl+i"
* OS X: "super+k", "super+i"
+Get gist list:
+
+From menu items:
+
+* Main menu: Tools -> Gist -> "Create Gist"
+
+By command called "Gist: Get Gist List".
+
+There is a key bindings:
+
+* Windows and Linux: "ctrl+shift+g"
+* OS X: "super+super+g"
+
+**The content of your selected gist will be copied into the clipboard**
+
Information
-----------

0 comments on commit 56e9201

Please sign in to comment.
Something went wrong with that request. Please try again.