Skip to content

Commit ae152c1

Browse files
committed
Update doc
1 parent ff18978 commit ae152c1

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

doc/vim-scratch-buffer.txt

+18-18
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ CHANGELOG |scratch-buffer-changelog|
1919
INTRODUCTION *scratch-buffer-introduction*
2020

2121
**No more hassle with file paths!**
22-
A fastest way to open a instant scratch buffer.
22+
The fastest way to open an instant scratch buffer.
2323

2424
Supercharge with vim-quickrun!
2525
Combine it with [vim-quickrun](https://github.com/thinca/vim-quickrun)
@@ -33,7 +33,7 @@ to execute code instantly!
3333
" ...and run it immediately!
3434
:QuickRun
3535
<
36-
Please see the`scratch-buffer-usage`section for usage of`:ScratchBufferOpen`.
36+
Please see the `scratch-buffer-usage` section for usage of `:ScratchBufferOpen`.
3737

3838
Newer Version:
3939
https://github.com/aiya000/vim-scratch-buffer
@@ -47,10 +47,10 @@ Open a scratch buffer. Please specify a file extension you want:
4747
" Open a markdown buffer
4848
:ScratchBufferOpen md
4949
50-
" Open a markdown buffer by :sp
50+
" Open a markdown buffer with :sp
5151
:ScratchBufferOpen md sp
5252
53-
" Open a markdown buffer by :sp with 3 lines
53+
" Open a markdown buffer with :sp and 3 lines
5454
:ScratchBufferOpen md sp 3
5555
<
5656
Of course, you can open other file types too:
@@ -69,9 +69,9 @@ VARIABLES *scratch-buffer-variables*
6969
Default: '/tmp/vim-scratch-buffer-%d'
7070

7171
When `ScratchBufferOpen` opens a scratch buffer, it will make a
72-
decision based on this.
72+
decision based on this pattern.
7373
Specifically, `printf($'/tmp/vim-scratch-buffer-%d.{ext}', count)` will
74-
opened. `ext` is the first argument of `ScratchBufferOpen`.
74+
be opened. `ext` is the first argument of `ScratchBufferOpen`.
7575
`count` is the number of currently open scratch buffers +1.
7676

7777
------------------------------------------------------------------------------
@@ -82,38 +82,38 @@ COMMANDS *scratch-buffer-commands*
8282
Open a scratch buffer with a random file name.
8383

8484
This opens buffers by the rule
85-
described in`g:scratch_buffer_tmp_file_pattern`.
85+
described in `g:scratch_buffer_tmp_file_pattern`.
8686

87-
The opened buffers doesn't`:write`automatically.
88-
You can select do`:write`or don't.
87+
The opened buffers don't `:write` automatically.
88+
You can choose whether to `:write` or not.
8989

90-
[open-method] is an optional argument, should be`'sp'`or`'vsp'`.
91-
Open the buffer onto top if `'sp'`,
92-
or open the buffer onto left if`'vsp'`.
93-
Please also see`:split`and`:vsplit`.
94-
Default value is`'vsp'`.
90+
[open-method] is an optional argument, should be `'sp'` or `'vsp'`.
91+
Open the buffer on top if `'sp'`,
92+
or open the buffer on the left if `'vsp'`.
93+
Please also see `:split` and `:vsplit`.
94+
Default value is `'vsp'`.
9595

9696
[buffer-size] is an optional argument, should be a positive number.
97-
`:ScratchBufferOpen`resizes the opened buffer on opened,
97+
`:ScratchBufferOpen` resizes the opened buffer upon opening,
9898
or doesn't resize if this is omitted.
9999

100100

101101
*:ScratchBufferCleanAllOf*
102102
:ScratchBufferCleanAllOf [file-extension]
103103
Delete all scratch files and buffers that
104-
is opened by`:ScratchBufferOpen`.
104+
were opened by `:ScratchBufferOpen`.
105105

106106

107107
==============================================================================
108108
FUNCTIONS *scratch-buffer-functions*
109109

110110
*scratch_buffer#open()*
111111
scratch_buffer#open({file-extension}[, open-method][, buffer-size])
112-
Same as`:ScratchBufferOpen`.
112+
Same as `:ScratchBufferOpen`.
113113

114114
*scratch_buffer#clean_all_of()*
115115
scratch_buffer#clean_all_of({file-extension})
116-
Same as`:ScratchBufferCleanAllOf`.
116+
Same as `:ScratchBufferCleanAllOf`.
117117

118118

119119
==============================================================================

0 commit comments

Comments
 (0)