From 9779b2cee0ab633cfdc7c71f3544aa9741957b7d Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 18 Jul 2015 21:01:03 -0400 Subject: auditory.vim: Assign mappings with AssignNormalModeMappings() Assign our normal mode mappings with our new function that uses the mapping dictionary. --- autoload/auditory.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoload') 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 ' . key . ' :call auditory#Play("' . value.audio . '")' . l:pipe . value.map_to + execute 'nmap ' . key . ' :call auditory#Play("' . value.audio . '")' . l:pipe . value.map_to endfor endfunction -- cgit v1.2.3