mirror of
https://github.com/amix/vimrc
synced 2025-07-09 10:45:00 +08:00
Use sources_non_forked folder for pathogen path, with sources_non_forked_fallback folder as fallback.
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user