Skip to content

Instantly share code, notes, and snippets.

@basyura
Created November 2, 2011 08:23
Show Gist options
  • Save basyura/1333168 to your computer and use it in GitHub Desktop.
Save basyura/1333168 to your computer and use it in GitHub Desktop.
progress bar
"***************************************************
try
:0d | call append(0 , '"*')
for val in range(50)
sleep 10m
:0
let bar = expand("<cword>") . '*'
:0d
call append(0, bar)
redraw
endfor
:0
$
catch
echo v:exception
endtry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment