aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-07-24 12:28:05 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-07-24 12:28:27 +1200
commitdefddaf75cf8b49fdd67824e72f9bf3b24b9ac4f (patch)
treeee6ff285304a6d9e97830fabf7d09624336c3e36 /vim
parentRemove an implemented idea from the list (diff)
downloaddotfiles-defddaf75cf8b49fdd67824e72f9bf3b24b9ac4f.tar.gz
dotfiles-defddaf75cf8b49fdd67824e72f9bf3b24b9ac4f.zip
Spin scratch_buffer.vim plugin into a dist
Diffstat (limited to 'vim')
-rw-r--r--vim/autoload/scratch_buffer.vim11
m---------vim/bundle/scratch_buffer0
-rw-r--r--vim/plugin/scratch_buffer.vim2
3 files changed, 0 insertions, 13 deletions
diff --git a/vim/autoload/scratch_buffer.vim b/vim/autoload/scratch_buffer.vim
deleted file mode 100644
index c0ef7cfc..00000000
--- a/vim/autoload/scratch_buffer.vim
+++ /dev/null
@@ -1,11 +0,0 @@
-function! scratch_buffer#(mods, count, ...) abort
- let command = []
- call add(command, a:mods)
- if a:count
- call add(command, a:count)
- endif
- call add(command, 'new')
- call extend(command, a:000)
- execute join(command)
- set buftype=nofile
-endfunction
diff --git a/vim/bundle/scratch_buffer b/vim/bundle/scratch_buffer
new file mode 160000
+Subproject f312e23a3fe5094b79127d8485737fe4438a864
diff --git a/vim/plugin/scratch_buffer.vim b/vim/plugin/scratch_buffer.vim
deleted file mode 100644
index c209c8b1..00000000
--- a/vim/plugin/scratch_buffer.vim
+++ /dev/null
@@ -1,2 +0,0 @@
-command! -bar -count=0 -nargs=* ScratchBuffer
- \ call scratch_buffer#(<q-mods>, <q-count>, <f-args>)