Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 59 lines (39 sloc) 1.63 kb
131b73e @defunkt README police
defunkt authored
1 gist.el -- Emacs integration for gist.github.com
2 ================================================
3
4 Uses your local GitHub config if it can find it.
5 See <http://github.com/blog/180-local-github-config>
6
7 Install
8 =======
9
10 $ cd ~/.emacs.d/vendor
11 $ git clone git://github.com/defunkt/gist.el.git
12
13 In your emacs config:
14
15 (add-to-list 'load-path "~/.emacs.d/vendor/gist.el")
16 (require 'gist)
17
18 Functions
19 =========
20
94d06c9 @defunkt gist-list in readme
defunkt authored
21 gist-list - Lists your gists in a new buffer. Use arrow keys
22 to browse, RET to open one in the other buffer.
23
131b73e @defunkt README police
defunkt authored
24 gist-region - Copies Gist URL into the kill ring.
25 With a prefix argument, makes a private gist.
26
27 gist-region-private - Explicitly create a private gist.
28
29 gist-buffer - Copies Gist URL into the kill ring.
30 With a prefix argument, makes a private gist.
31
32 gist-buffer-private - Explicitly create a private gist.
33
34 gist-region-or-buffer - Post either the current region, or if mark
35 is not set, the current buffer as a new paste at gist.github.com .
36 Copies the URL into the kill ring.
37 With a prefix argument, makes a private paste.
38
39 gist-region-or-buffer-private - Explicitly create a gist from the
40 region or buffer.
41
42 Config
43 ======
44
45 Set `gist-view-gist` to non-nil if you want to view your Gist using
46 `browse-url` after it is created.
47
48 Set `github-user` and `github-token` to your GitHub credentials to
49 avoid checking `git-config`.
50
51 See <http://github.com/blog/180-local-github-config>
52
53 Meta
54 ====
55
56 * Code: `git clone git://github.com/defunkt/gist.el.git`
57 * Home: <http://github.com/defunkt/gist.el>
58 * Bugs: <http://github.com/defunkt/gist.el/issues>
Something went wrong with that request. Please try again.