Skip to content

Commit 3510b95

Browse files
committed
Add 'Comparison with scratch.vim' section to readme
1 parent 26691da commit 3510b95

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,21 @@ Of course, you can open other file types too!
5858
:QuickRun
5959
```
6060

61+
## :scales: Comparison with scratch.vim
62+
63+
[scratch.vim](https://github.com/mtth/scratch.vim) is a great plugin.
64+
However, vim-scratch-buffer adds more features.
65+
66+
Compared to scratch.vim, vim-scratch-buffer provides these additional features:
67+
68+
- Open multiple buffers with sequential numbering
69+
- When you want to take notes on different topics, scratch.vim only allows one buffer
70+
- See [`:ScratchBufferOpen`](https://github.com/aiya000/vim-scratch-buffer/blob/736eef08b531b91c95497917ddb97ffbc2047c73/doc/vim-scratch-buffer.txt#L86)
71+
- Choose between writeable buffers or temporary buffers
72+
- See [`:ScratchBufferOpen`](https://github.com/aiya000/vim-scratch-buffer/blob/736eef08b531b91c95497917ddb97ffbc2047c73/doc/vim-scratch-buffer.txt#L86) and [`:ScratchBufferOpenFile`](https://github.com/aiya000/vim-scratch-buffer/blob/736eef08b531b91c95497917ddb97ffbc2047c73/doc/vim-scratch-buffer.txt#L120)
73+
- Specify filetype, opening method (`:split` or `:vsplit`), and buffer height (width)
74+
- Filetype specification enables syntax highlighting
75+
6176
## :gear: Other Features
6277

6378
```vim

0 commit comments

Comments
 (0)