aboutsummaryrefslogtreecommitdiffstats
path: root/autoload
diff options
context:
space:
mode:
authorTeddy Wing2015-07-18 21:01:03 -0400
committerTeddy Wing2015-07-18 21:01:03 -0400
commit9779b2cee0ab633cfdc7c71f3544aa9741957b7d (patch)
tree05cd29a15d8b15e02d1453db2b4ddfe24c4c06e4 /autoload
parent4bc277b212b75a62b233e494a86f27de49c8ff5b (diff)
downloadauditory.vim-9779b2cee0ab633cfdc7c71f3544aa9741957b7d.tar.bz2
auditory.vim: Assign mappings with AssignNormalModeMappings()
Assign our normal mode mappings with our new function that uses the mapping dictionary.
Diffstat (limited to 'autoload')
-rw-r--r--autoload/auditory.vim2
1 files changed, 1 insertions, 1 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