diff options
Diffstat (limited to 'vim/bundle/vim-addon-mw-utils/autoload/tiny_cmd.vim')
m--------- | vim/bundle/vim-addon-mw-utils | 0 | ||||
-rw-r--r-- | vim/bundle/vim-addon-mw-utils/autoload/tiny_cmd.vim | 19 |
2 files changed, 0 insertions, 19 deletions
diff --git a/vim/bundle/vim-addon-mw-utils b/vim/bundle/vim-addon-mw-utils new file mode 160000 +Subproject 0c5612fa31ee434ba055e21c76f456244b3b510 diff --git a/vim/bundle/vim-addon-mw-utils/autoload/tiny_cmd.vim b/vim/bundle/vim-addon-mw-utils/autoload/tiny_cmd.vim deleted file mode 100644 index 052bbe0..0000000 --- a/vim/bundle/vim-addon-mw-utils/autoload/tiny_cmd.vim +++ /dev/null @@ -1,19 +0,0 @@ -" vim suffers: - -exec vam#DefineAndBind('s:c','g:vim_tiny_cmd', '{}') - -fun! tiny_cmd#Put(a) - let new = get(s:c,'next',0) +1 - let s:c['next'] = new - let s:c[new] = a:a - return new -endf - -fun! tiny_cmd#Get(nr) - return s:c[a:nr] -endf - -" Get and remove item -fun! tiny_cmd#Pop(nr) - let r = s:c[a:nr] | unlet s:c[a:nr] | return r -endf |