Skip to content

Instantly share code, notes, and snippets.

@natlownes
Created August 23, 2012 21:08
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save natlownes/3441787 to your computer and use it in GitHub Desktop.
Save natlownes/3441787 to your computer and use it in GitHub Desktop.
# tiny success: http://bit.ly/RhpepU
# osx specific, mpg123 or the like for linux
nmap HH :silent ! afplay /Users/nat/.vim/audio/succ_horns01.mp3 1>&-2>&-&<CR><C-l>
@markchadwick
Copy link

mpg321 is a perfect substitute on LInux

@natlownes
Copy link
Author

fixed the command to not use "execute" and also to discard all output. also won't delete a line like regular old "!" will.

screen flashes during the redraw, which I'll consider a feature

God's work here, fighting the good fight.

HH

fuck, wrong focus..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment