@@ -19,7 +19,7 @@ CHANGELOG |scratch-buffer-changelog|
19
19
INTRODUCTION *scratch-buffer-introduction*
20
20
21
21
**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.
23
23
24
24
Supercharge with vim-quickrun!
25
25
Combine it with [vim-quickrun] (https://github.com/thinca/vim-quickrun )
@@ -33,7 +33,7 @@ to execute code instantly!
33
33
" ...and run it immediately!
34
34
:QuickRun
35
35
<
36
- Please see the`scratch- buffer - usage` section for usage of`:ScratchBufferOpen` .
36
+ Please see the `scratch- buffer - usage` section for usage of `:ScratchBufferOpen` .
37
37
38
38
Newer Version:
39
39
https://github.com/aiya000/vim-scratch-buffer
@@ -47,10 +47,10 @@ Open a scratch buffer. Please specify a file extension you want:
47
47
" Open a markdown buffer
48
48
:ScratchBufferOpen md
49
49
50
- " Open a markdown buffer by :sp
50
+ " Open a markdown buffer with :sp
51
51
:ScratchBufferOpen md sp
52
52
53
- " Open a markdown buffer by :sp with 3 lines
53
+ " Open a markdown buffer with :sp and 3 lines
54
54
:ScratchBufferOpen md sp 3
55
55
<
56
56
Of course, you can open other file types too:
@@ -69,9 +69,9 @@ VARIABLES *scratch-buffer-variables*
69
69
Default: '/tmp/vim-scratch-buffer-%d'
70
70
71
71
When `ScratchBufferOpen` opens a scratch buffer, it will make a
72
- decision based on this.
72
+ decision based on this pattern .
73
73
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` .
75
75
`count ` is the number of currently open scratch buffers +1.
76
76
77
77
------------------------------------------------------------------------------
@@ -82,38 +82,38 @@ COMMANDS *scratch-buffer-commands*
82
82
Open a scratch buffer with a random file name.
83
83
84
84
This opens buffers by the rule
85
- described in`g: scratch_buffer_tmp_file_pattern ` .
85
+ described in `g: scratch_buffer_tmp_file_pattern ` .
86
86
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 .
89
89
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' ` .
95
95
96
96
[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 ,
98
98
or doesn't resize if this is omitted.
99
99
100
100
101
101
*:ScratchBufferCleanAllOf*
102
102
:ScratchBufferCleanAllOf [file-extension]
103
103
Delete all scratch files and buffers that
104
- is opened by`:ScratchBufferOpen` .
104
+ were opened by `:ScratchBufferOpen` .
105
105
106
106
107
107
==============================================================================
108
108
FUNCTIONS *scratch-buffer-functions*
109
109
110
110
*scratch_buffer#open()*
111
111
scratch_buffer#open({file-extension} [, open-method][, buffer-size])
112
- Same as`:ScratchBufferOpen` .
112
+ Same as `:ScratchBufferOpen` .
113
113
114
114
*scratch_buffer#clean_all_of()*
115
115
scratch_buffer#clean_all_of({file-extension} )
116
- Same as`:ScratchBufferCleanAllOf` .
116
+ Same as `:ScratchBufferCleanAllOf` .
117
117
118
118
119
119
==============================================================================
0 commit comments