Skip to content

Commit 1f3bb97

Browse files
committed
update README.md
1 parent 73abc1e commit 1f3bb97

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

README.md

+3-13
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ For the latest version please see https://github.com/mattn/gist-vim.
9999

100100
:Gist -b
101101

102-
## List Action
102+
## List Feature
103103

104-
- New mappings on the gist-listing buffer:
104+
- Useful mappings on the gist-listing buffer:
105105
- Both `o` or `Enter` open the gist file in a new buffer, and close the
106106
gist-vim listing one.
107107
- `b` opens the gist file in a browser; this is necessary because
@@ -111,6 +111,7 @@ For the latest version please see https://github.com/mattn/gist-vim.
111111
- `p` pastes the contents of the selected gist to the buffer from where
112112
gist-vim was called, and closes the gist-vim buffer.
113113
- Hitting `Escape` or `Tab` at the gist-vim buffer closes it.
114+
114115
- Gist listing has fixed-length columns now, more amenable to eye inspection.
115116
Every line on the gist-listing buffer contains the gist id, name and
116117
description, in that order. Columns are now padded and truncated to offer a
@@ -128,17 +129,6 @@ For the latest version please see https://github.com/mattn/gist-vim.
128129
- Note that the gist listing buffer now does not show the field 'code'
129130
(not sure what that did in the first place).
130131

131-
- Now the listing is complete (no need to select 'more' to see the following
132-
gists on the list), in this way the user can later perform a search (using vim's `/`,
133-
for instance) for the sought gist by name, description, etc.
134-
- The first line on the gist-listing states the number of gists listed and the
135-
user whose gists are being listed.
136-
- The height of the gist-listing buffer is now determined in the following way.
137-
If the number of gists listed equals or exceeds 10, then the height is fixed at 10. If
138-
it is smaller than 10, then the height is adjusted so that there are no empty
139-
lines displayed on the buffer. Note: right now this value (10) is fixed; I'm
140-
going to change it to a global plugin variable that defaults to 10.
141-
142132
## Tips:
143133

144134
If you set g:gist_clip_command, gist.vim will copy the gist code with option

0 commit comments

Comments
 (0)