diff options
| -rw-r--r-- | TODO | 2 | ||||
| -rw-r--r-- | plugin/auditory.vim | 7 | 
2 files changed, 8 insertions, 1 deletions
| @@ -12,7 +12,7 @@ v Add pathogen instructions to README (2014.11.15)  2014.11.10:  v Make `dd` work to delete a line -- Checking whether mplayer is installed and send an error if not +v Checking whether mplayer is installed and send an error if not  - Adding some docs  - Global setting for Galaxy Far Far Away mode  - Add an easy way to turn the plugin on and off without having to disable it manually diff --git a/plugin/auditory.vim b/plugin/auditory.vim index 87585a3..3ada40e 100644 --- a/plugin/auditory.vim +++ b/plugin/auditory.vim @@ -1,3 +1,10 @@ +" Require mplayer otherwise fail +if !executable('mplayer') +	echomsg 'Auditory.vim requires `mplayer` to be installed' +	finish +endif + +  augroup auditory#insert_mode  	autocmd!  	autocmd CursorMovedI * call auditory#PlayScale() | 
