Import of the original scratch plugin by Yegappan Lakshmanan.
Renamed some small things, updated meta information.
Added toggle function and command.
Introduced option that lets you define the height of a scratch window.
Added license from Yegappan Lakshmanan and documented my changes.
Optionally saving scratch buffer content between sessions.
Also save scratch buffer when closing it with :bdelete.
Saving file more often and loading it whenever scratch window is opened,
so it can be shared between several Vim sessions running at the same time.
Version 1.0: Converted the plugin file format to unix from dos.
Added functionality to set an option in .vimrc to specify the filename that is displayed for the scratch buffer
New option (g:scratch_bufclose) and new command to open scratch in a new tab.
Sscratch now opens a vsplit
Sscratch now opens a vsplit
Merge branch 'vertsplit'
Added :Vscratch and :VscratchToggle commands and doc

Now you can split horizontally or vertically with these
two new commands, also I moved the doc in its own file
and tweaked the README => README.md
Removed old README
sw=2 for all the code
Merge branch 'ikirudennis'

Conflicts:
	README.md
	plugin/scratch.vim

merged ikirudennis branch, added :Tscratch and user options

With this merge we add the :Tscratch command (open in a tab) and we add
a couple of user options g:scratch_filename (to choose the name of the
scratch buffer) and g:scratch_bufclose (to choose if the buffer gets deleted
when closed or not)
Merge branch 'jkramer'
added opt scratch_{height,width} and scratch_persistent removed scratch_bufclose

Merged options by jkramer, now we can keep the file between sessions setting
g:scratch_persistent = 2

Removed scratch_bufclose which is superseded by scratch_persistent = 0 (delete)
and scratch_persistent = 1 (hide)

There are also new options scratch_{height,width} useful to set the height/width
of the split buffer.