diff options
| author | Teddy Wing | 2015-07-18 21:01:03 -0400 |
|---|---|---|
| committer | Teddy Wing | 2015-07-18 21:01:03 -0400 |
| commit | 9779b2cee0ab633cfdc7c71f3544aa9741957b7d (patch) | |
| tree | 05cd29a15d8b15e02d1453db2b4ddfe24c4c06e4 | |
| parent | 4bc277b212b75a62b233e494a86f27de49c8ff5b (diff) | |
| download | auditory.vim-9779b2cee0ab633cfdc7c71f3544aa9741957b7d.tar.bz2 | |
auditory.vim: Assign mappings with AssignNormalModeMappings()
Assign our normal mode mappings with our new function that uses the
mapping dictionary.
| -rw-r--r-- | autoload/auditory.vim | 2 | ||||
| -rw-r--r-- | plugin/auditory.vim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/autoload/auditory.vim b/autoload/auditory.vim index a0a97ec..2176a4c 100644 --- a/autoload/auditory.vim +++ b/autoload/auditory.vim @@ -438,7 +438,7 @@ function! auditory#AssignNormalModeMappings() " If this an `execute` mapping, add a pipe let l:pipe = match(value.map_to, 'exec') !=# -1 ? ' \| ' : '' - echom 'nmap <silent> ' . key . ' :<c-u>call auditory#Play("' . value.audio . '")' . l:pipe . value.map_to + execute 'nmap <silent> ' . key . ' :<c-u>call auditory#Play("' . value.audio . '")' . l:pipe . value.map_to endfor endfunction diff --git a/plugin/auditory.vim b/plugin/auditory.vim index 821c5ba..ba46fa2 100644 --- a/plugin/auditory.vim +++ b/plugin/auditory.vim @@ -20,4 +20,4 @@ augroup END command! AuditoryToggleGalaxyFarFarAway call auditory#ToggleGalaxyFarFarAway() -call auditory#NormalModeMappings() +call auditory#AssignNormalModeMappings() |
