Skip to content

Commit 23edaf1

Browse files
committed
plugin: Refactor
1 parent 719fc6e commit 23edaf1

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

plugin/scratch_buffer.vim

-12
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,10 @@ if exists('g:loaded_scratch_buffer')
55
endif
66
let g:loaded_scratch_buffer = v:true
77

8-
" Example:
9-
" `:ScratchBufferOpen`
10-
" `:ScratchBufferOpen --no-file-ext`
11-
" `:ScratchBufferOpen sh`
12-
" `:ScratchBufferOpen ts vsp`
13-
" `:ScratchBufferOpen md sp 5`
148
command! -bar -nargs=* ScratchBufferOpen call scratch_buffer#open(v:false, <f-args>)
15-
" Example:
16-
" `:ScratchBufferOpenFile md`
17-
" `:ScratchBufferOpenFile ts vsp`
189
command! -bar -nargs=* ScratchBufferOpenFile call scratch_buffer#open_file(v:false, <f-args>)
19-
2010
command! -bar -nargs=* ScratchBufferOpenNext call scratch_buffer#open(v:true, <f-args>)
2111
command! -bar -nargs=* ScratchBufferOpenFileNext call scratch_buffer#open_file(v:true, <f-args>)
22-
23-
2412
command! -bar ScratchBufferClean call scratch_buffer#clean()
2513

2614
let g:scratch_buffer_tmp_file_pattern = get(g:, 'scratch_buffer_tmp_file_pattern', '/tmp/vim-scratch-buffer-%d')

0 commit comments

Comments
 (0)