@@ -13,71 +13,89 @@ For the latest version please see https://github.com/mattn/gist-vim.
1313==============================================================================
1414USAGE *gist-vim-usage*
1515
16- :Gist~
17- Post current buffer to gist, using default privacy option.
16+ - Post current buffer to gist, using default privacy option. >
1817
19- :'<,'>Gist~
20- Post selected text to gist, using defualt privacy option.
21- This applies to all permutations listed below (except multi).
18+ :Gist
19+ <
20+ - Post selected text to gist, using defualt privacy option.
21+ This applies to all permutations listed below (except multi). >
2222
23- :Gist -p~
24- Create a private gist.
23+ :'<,'>Gist
24+ <
25+ - Create a private gist. >
2526
26- :Gist -P~
27- Create a public gist.
28- (Only relevant if you've set gists to be private by default.)
27+ :Gist -p
28+ <
29+ - Create a public gist.
30+ (Only relevant if you've set gists to be private by default.) >
2931
30- :Gist -P~
31- Post whole text to gist as public.
32- This is only relevant if you've set gists to be private by default;
33- if you get an empty gist list, try ":Gist --abandon".
32+ :Gist -P
33+ <
34+ - Post whole text to gist as public.
35+ This is only relevant if you've set gists to be private by default;
36+ if you get an empty gist list, try ":Gist --abandon". >
3437
35- :Gist -P~
36- Post whole text to gist as public.
37- This is only relevant if you've set gists to be private by default.
38- If you get an empty gist list, try ":Gist --abandon".
38+ :Gist -P
39+ <
40+ - Post whole text to gist as public.
41+ This is only relevant if you've set gists to be private by default.
42+ If you get an empty gist list, try ":Gist --abandon". >
3943
40- :Gist -a~
41- Create a gist anonymously.
44+ :Gist -P
45+ <
46+ - Create a gist anonymously. >
4247
43- :Gist -m~
44- Create a gist with all open buffers.
48+ :Gist -a
49+ <
50+ - Create a gist with all open buffers. >
4551
46- :Gist -e~
47- Edit the gist (you need to have opened the gist buffer first).
48- You can update the gist with the {:w} command within the gist buffer.
52+ :Gist -m
53+ <
54+ - Edit the gist (you need to have opened the gist buffer first).
55+ You can update the gist with the {:w} command within the gist buffer. >
4956
50- :Gist -e foo.js~
51- Edit the gist with name "foo.js" (you need to have opened the gist buffer
52- first).
57+ :Gist -e
58+ <
59+ - Edit the gist with name "foo.js" (you need to have opened the gist buffer
60+ first). >
5361
54- :Gist -d~
55- Delete the gist (you need to have opened the gist buffer first).
56- Password authentication is needed.
62+ :Gist -e foo.js
63+ <
64+ - Delete the gist (you need to have opened the gist buffer first).
65+ Password authentication is needed. >
5766
58- :Gist -f~
59- Fork the gist (you need to have opened the gist buffer first).
60- Password authentication is needed.
61-
62- :Gist XXXXX~
63- Get gist XXXXX.
67+ :Gist -d
68+ <
69+ - Fork the gist (you need to have opened the gist buffer first).
70+ Password authentication is needed. >
6471
65- :Gist -c XXXXX~
66- Get gist XXXXX and add to clipboard.
72+ :Gist -f
73+ <
74+ - Get gist XXXXX. >
6775
68- :Gist -l~
69- List your public gists.
76+ :Gist XXXXX
77+ <
78+ - Get gist XXXXX and add to clipboard. >
7079
71- :Gist -l mattn~
72- List gists from user "mattn".
80+ :Gist -c XXXXX
81+ <
82+ - List your public gists. >
7383
74- :Gist -la~
75- List all (public and private) of your gists.
84+ :Gist -l
85+ <
86+ - List gists from user "mattn". >
87+
88+ :Gist -l mattn
89+ <
90+ - List all (public and private) of your gists. >
91+
92+ :Gist -la
93+ <
7694
7795==============================================================================
7896TIPS *gist-vim-tips*
7997
80- If you set { g:gist_clip_command} , gist.vim will copy the gist code with option
98+ If you set " g:gist_clip_command" , gist.vim will copy the gist code with option
8199"-c".
82100
83101 - Mac: >
@@ -89,7 +107,6 @@ If you set {g:gist_clip_command}, gist.vim will copy the gist code with option
89107 - Others (cygwin?): >
90108 let g:gist_clip_command = 'putclip'
91109<
92-
93110If you want to detect filetype from the filename: >
94111
95112 let g:gist_detect_filetype = 1
@@ -114,7 +131,7 @@ If you want to show your private gists with ":Gist -l": >
114131<
115132If you get problems when creating gists try: >
116133
117- :Gist --abandon
134+ :Gist --abandon
118135<
119136
120137==============================================================================
@@ -127,27 +144,27 @@ REQUIREMENTS *gist-vim-requirements*
127144LICENSE *gist-vim-license*
128145
129146
130- Copyright 2010 by Yasuhiro Matsumoto
131- modification, are permitted provided that the following conditions are met:
132-
133- 1. Redistributions of source code must retain the above copyright notice,
134- this list of conditions and the following disclaimer.
135- 2. Redistributions in binary form must reproduce the above copyright notice,
136- this list of conditions and the following disclaimer in the documentation
137- and/or other materials provided with the distribution.
138-
139- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
140- ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
141- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
142- FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
143- REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
144- INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
145- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
146- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
147- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
148- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
149- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
150- OF THE POSSIBILITY OF SUCH DAMAGE.
147+ Copyright 2010 by Yasuhiro Matsumoto
148+ modification, are permitted provided that the following conditions are met:
149+
150+ 1. Redistributions of source code must retain the above copyright notice,
151+ this list of conditions and the following disclaimer.
152+ 2. Redistributions in binary form must reproduce the above copyright notice,
153+ this list of conditions and the following disclaimer in the documentation
154+ and/or other materials provided with the distribution.
155+
156+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
157+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
158+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
159+ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
160+ REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
161+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
162+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
163+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
164+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
165+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
166+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
167+ OF THE POSSIBILITY OF SUCH DAMAGE.
151168
152169==============================================================================
153170INSTALL *gist-vim-install*
0 commit comments