Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (10 sloc) 302 Bytes
if exists('g:loaded_viceroy_update') || &cp
finish
endif
let g:loaded_viceroy_update = 1
" Update Viceroy system, sync it to the origin repo it was originally cloned
" from
function! viceroy#update()
exec "!cd ~/.vim && git pull origin"
endfunction
command! ViceroyUpdate :call viceroy#update()
Jump to Line
Something went wrong with that request. Please try again.