diff options
| author | Teddy Wing | 2015-08-16 02:26:56 -0400 |
|---|---|---|
| committer | Teddy Wing | 2015-08-16 02:26:56 -0400 |
| commit | f3444f5dcfa269eee62b8daf552b3ed29a43aa04 (patch) | |
| tree | d60023affc58e6cd8b0fea78031af718050231df /plugin | |
| parent | a612f8fb835df92648401606dec6c2d07fa3ae4b (diff) | |
| download | auditory.vim-f3444f5dcfa269eee62b8daf552b3ed29a43aa04.tar.bz2 | |
plugin/auditory.vim: Add `:AuditoryOn` command
Create a new command to match `:AuditoryOff` that turns on mappings and
sounds. We'll need this because I'm going to make the plugin not enable
sounds by default. That will be controlled by a global variable. You'll
be able to turn the sounds on and off as you wish.
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/auditory.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/auditory.vim b/plugin/auditory.vim index e8ceeba..e0a764a 100644 --- a/plugin/auditory.vim +++ b/plugin/auditory.vim @@ -11,8 +11,9 @@ if !executable('mplayer') endif -command! AuditoryToggleGalaxyFarFarAway call auditory#ToggleGalaxyFarFarAway() +command! AuditoryOn call auditory#AssignMappings() command! AuditoryOff call auditory#Unmap() +command! AuditoryToggleGalaxyFarFarAway call auditory#ToggleGalaxyFarFarAway() call auditory#AssignMappings() |
