aboutsummaryrefslogtreecommitdiff
path: root/plugin/scratch_buffer.vim
blob: e2a7aa6107239e4dc5368e4d2a5beec4f6afc9d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"
" scratch_buffer.vim: User command to open a scratch buffer.
"
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
if exists('loaded_scratch_buffer') || &compatible || v:version < 700
  finish
endif
let loaded_scratch_buffer = 1

" Command to open scratch buffer
command! -bar -count=0 -nargs=* ScratchBuffer
      \ call scratch_buffer#(<q-mods>, <q-count>, <f-args>)