Skip to content

Commit 930b7df

Browse files
committed
Fix grammar mistakes in the doc
1 parent 8f4db8e commit 930b7df

1 file changed

Lines changed: 17 additions & 18 deletions

File tree

doc/vim-extract.txt

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ COMMANDS *vim-extract-commands*
5555

5656
:[range]Extr[!] {position} {buffer-name}
5757

58-
In Visual mode - extract selection to a new buffer, in Normal mode - open
59-
the extract buffer.
60-
If ! is given buffer will be cleared before selection insert.
61-
Without 'position' argument the extract buffer will be opened with the last
58+
In the Visual mode - extracts selection to a new buffer, in the Normal
59+
mode - opens an extract buffer.
60+
If `!` is given buffer will be cleared before selection insert.
61+
Without 'position' argument an extract buffer will be opened with the last
6262
or default position.
6363

6464
Positions: -top, -bottom, -left, -right, -tab
@@ -76,16 +76,15 @@ Default extract buffer position.
7676

7777
*g:extract_buffer_name*
7878

79-
Extract buffer name pattern. {filename} will be replaced with the
80-
current file name. This option will be used if :Extr command was called
81-
without 'name' argument.
79+
Extract buffer name pattern. {filename} string replaces with the current filename
80+
name. This option uses if :Extr command called without 'name' argument.
8281

8382
Default value: '_{filename}'
8483

8584
*g:extract_append*
8685

8786
Append selection to the end of the extract buffer (1) or clear the extract
88-
buffer before insertation (0).
87+
buffer before insert (0).
8988

9089
Default value: 1
9190

@@ -102,30 +101,30 @@ CHANGELOG *vim-extract-changelog*
102101

103102
Changes
104103
* option g:extract_name renamed to g:extract_buffer_name
105-
* clear buffer before selection insert if command called with bang
106-
* restore buffer content if buffer closed without save
104+
* clear buffer before insert if command called with `!`
105+
* restore buffer content if buffer closed without saving
107106

108107
0.4.0 (2016-09-19)~
109108

110109
Changes
111-
* extract selection without opening the extract buffer option was added
110+
* extract selection without opening a buffer option added
112111

113112
0.3.0 (2016-03-27)~
114113

115114
vim-buffr plugin version 0.3 required
116115

117116
Changes
118-
* position and buffer name arguments were added to command
119-
* range for command was added
120-
* buffr#open_or_create arguments were changed to dictionary
121-
* command VExtract was renamed to Extr
122-
* g:extract_position option was removed
117+
* position and buffer name arguments added to the command
118+
* a range for the command added
119+
* buffr#open_or_create arguments changed to a dictionary
120+
* VExtract command renamed to Extr
121+
* g:extract_position option removed
123122

124123
0.2.0 (2016-02-05)~
125124

126125
Changes
127-
* buffr#open function name was changed to buffr#open_or_create
128-
* Extract command was renamed to VExtract (vim-rails plugin conflict)
126+
* buffr#open function name changed to buffr#open_or_create
127+
* Extract command renamed to VExtract (vim-rails plugin conflict)
129128

130129
0.1.0 (2015-12-06)~
131130

0 commit comments

Comments
 (0)