Commit
Create and document :ScratchBuffer
Daniel Moch committed 4 years ago
(
Tree)
Diffstat
doc/smartsplit.vim | 5 +++++
plugin/smartsplit.vim | 1 +
doc/smartsplit.vim
60 |
60 |
vertical splitting is determined as described in |
61 |
61 |
|:Split|. |
62 |
62 |
|
|
63 |
+ *smartsplit-ScratchBuffer* *:ScratchBuffer* |
|
64 |
+ScratchBuffer Open a scratch buffer (see |special-buffers|). |
|
65 |
+ Horizontal versus vertical splitting is determined |
|
66 |
+ as described in |:Split|. |
|
67 |
+ |
63 |
68 |
============================================================================= |
64 |
69 |
2. ABOUT *smartsplit-about* |
65 |
70 |
|
plugin/smartsplit.vim
85 |
85 |
command! -complete=buffer -nargs=1 Buffer call <sid>Buffer(<f-args>) |
86 |
86 |
command! -complete=command -nargs=1 CmdSplit call <sid>CmdSplit(<f-args>) |
87 |
87 |
command! Split call <sid>Buffer() |
|
88 |
+command! ScratchBuffer call <sid>ScratchBuffer() |
88 |
89 |
|
89 |
90 |
let &cpo = s:save_cpo |
90 |
91 |
unlet s:save_cpo |