aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorTeddy Wing2015-08-16 00:11:05 -0400
committerTeddy Wing2015-08-16 00:11:05 -0400
commit099eb5c4209c7db737e3cf76b616fea98ca78a3e (patch)
tree68af3a8e142d2b0655a25ac13d045dc9f2e6a505 /plugin
parente11e2c45ae3efa36233aa39132f3f8515334b32a (diff)
downloadauditory.vim-099eb5c4209c7db737e3cf76b616fea98ca78a3e.tar.bz2
autoload/auditory.vim: Move `d` mappings to `s:mappings`
Put our `d`, `v_d`, and `dd` mappings in the `s:mappings` dictionary so that they get automatically activated and deactivated when our map and unmap functions go through the dict. This required some modifications to `auditory#AssignMappings()` to allow it to accept `map_to` commands that don't have a preceding `auditory#Play()` call (because in the case of our `d` mappings, the audio is played inside the function they call. Also ensure we're not adding a pipe to the command if there's no preceding audio part.
Diffstat (limited to 'plugin')
0 files changed, 0 insertions, 0 deletions