From a612f8fb835df92648401606dec6c2d07fa3ae4b Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 16 Aug 2015 02:19:58 -0400 Subject: Unmap insert mode sounds from `auditory#Unmap()` * Move the insert mode autocommand definition into a new function that turns on insert mode sounds * Create a function to turn off insert mode sounds * Call these from our normal `AssignMappings` and `Unmap` functions so we can turn all our sounds on and off in one fell swoop --- plugin/auditory.vim | 6 ------ 1 file changed, 6 deletions(-) (limited to 'plugin') diff --git a/plugin/auditory.vim b/plugin/auditory.vim index 21082f0..e8ceeba 100644 --- a/plugin/auditory.vim +++ b/plugin/auditory.vim @@ -11,12 +11,6 @@ if !executable('mplayer') endif -augroup auditory#insert_mode - autocmd! - autocmd CursorMovedI * call auditory#PlayScale() -augroup END - - command! AuditoryToggleGalaxyFarFarAway call auditory#ToggleGalaxyFarFarAway() command! AuditoryOff call auditory#Unmap() -- cgit v1.2.3