2
2
3
3
Author: Alexander Skachko <
[email protected] >
4
4
Homepage: https://github.com/lucerion/vim-extract
5
- Version: 0.2
6
- Licence: MIT
5
+ Version: 0.3
6
+ Licence: MIT (see LICENSE)
7
7
8
8
===============================================================================
9
9
CONTENTS *vim-extract*
@@ -17,25 +17,26 @@ License |vim-extract-license|
17
17
===============================================================================
18
18
INSTALL *vim-extract-install*
19
19
20
- vim-extract dependending on vim-buffr plugin
20
+ This plugin depends on vim-buffr (https://github.com/lucerion/vim-buffr )
21
+ plugin
21
22
22
- Vundle https://github.com/VundleVim/Vundle.vim
23
+ Vundle https://github.com/VundleVim/Vundle.vim
23
24
>
24
25
Plugin 'lucerion/vim-extract'
25
26
Plugin 'lucerion/vim-buffr'
26
27
<
27
- Pathogen https://github.com/tpope/vim-pathogen
28
+ Pathogen https://github.com/tpope/vim-pathogen
28
29
>
29
30
cd ~/.vim/bundle
30
31
git clone https://github.com/lucerion/vim-extract
31
32
git clone https://github.com/lucerion/vim-buffr
32
33
<
33
- NeoBundle https://github.com/Shougo/neobundle.vim
34
+ NeoBundle https://github.com/Shougo/neobundle.vim
34
35
>
35
36
NeoBundle 'lucerion/vim-extract'
36
37
NeoBundle 'lucerion/vim-buffr'
37
38
<
38
- vim-plug https://github.com/junegunn/vim-plug
39
+ vim-plug https://github.com/junegunn/vim-plug
39
40
>
40
41
Plug 'lucerion/vim-extract'
41
42
Plug 'lucerion/vim-buffr'
@@ -50,41 +51,53 @@ Manual
50
51
===============================================================================
51
52
COMMANDS *vim-extract-commands*
52
53
53
- *:VExtract*
54
- :VExtract In Visual mode - extract selection to a buffer,
55
- in Normal mode - open the extract buffer.
54
+ *:Extr*
55
+ :[range] Extr {name} {position} or :[range] Extr {position} {name}
56
+
57
+ In Visual mode - extract selection to a buffer, in Normal mode - open
58
+ the extract buffer. Buffer will be opened with {name} at {position}
59
+ 'name' and 'position' arguments are optional
60
+ Without 'position' argument buffer will open with last opened position or
61
+ will be opened with default position
62
+ Possible {position} values: -top, -bottom, -left, -right, -tab
63
+ Default {position} value: -top
56
64
57
65
===============================================================================
58
66
OPTIONS *vim-extract-options*
59
67
60
68
*g:extract_name*
61
69
62
- The name of the extract buffer. {filename} pattern will be replaced with
63
- the current file name.
70
+ Pattern of the extract buffer name . {filename} will be replaced with current
71
+ file name. Will be used if :Extr command was called without 'name' argument
64
72
65
73
Default: '_{filename} '
66
74
67
- *g:extract_position*
68
-
69
- The extract buffer position.
70
-
71
- Possible values: 'top' , 'bottom' , 'left' , 'right' , 'tab'
72
- Default: 'top'
73
-
74
75
*g:extract_append*
75
76
76
- Append selected text to the end of the extract buffer or clear the extract
77
- buffer before insert.
77
+ Append selected text to the end of the extract buffer (1) or clear the extract
78
+ buffer and insert selection (0)
78
79
79
80
Default: 1
80
81
81
82
===============================================================================
82
83
CHANGELOG *vim-extract-changelog*
83
84
85
+ 0.3.0 (2016-03-27)~
86
+ vim-buffr plugin version 0.3 required
87
+
88
+ Features
89
+ * position and buffer name arguments were added to command
90
+ * allow range
91
+ Fixes
92
+ * buffr#open_or_create arguments were changed to dictionary
93
+ * command VExtract was renamed to Extr
94
+ * g:extract_position option was removed
95
+
84
96
0.2.0 (2016-02-05)~
85
97
Fixes
86
- Change buffr#open to buffr#open_or_create
87
- Rename Extract to VExtract command (vim-rails plugin conflict)
98
+ * buffr#open to buffr#open_or_create was changed
99
+ * command Extract was renamed to VExtract (vim-rails plugin conflict)
100
+
88
101
0.1.0 (2015-12-06)~
89
102
First release
90
103
0 commit comments