From a3b97584bb6849956d482745db5dce840a392800 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 9 Nov 2014 10:29:42 -0500 Subject: autoload/auditory.vim: Enable scrolling mappings with FIXMEs This way the sounds on scoll commands acutally work. They no longer support counts :( and the command for some reason needs to be entered twice in order for it to work. Enable these for now just so we can get the sounds but add FIXMEs so we know that these are borked. --- autoload/auditory.vim | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/autoload/auditory.vim b/autoload/auditory.vim index 31ae18b..08e6b0b 100644 --- a/autoload/auditory.vim +++ b/autoload/auditory.vim @@ -168,11 +168,15 @@ function! auditory#NormalModeMappings() nnoremap z. :call auditory#Play('/Resources/Normal_Mode/Jump.wav')z. nnoremap zz :call auditory#Play('/Resources/Normal_Mode/Jump.wav')zz nnoremap zb :call auditory#Play('/Resources/Normal_Mode/Jump.wav')zb - " nnoremap :call auditory#Play('/Resources/Normal_Mode/Jump.wav') \| exec 'normal!' v:count1 . '' - " nnoremap :call auditory#Play('/Resources/Normal_Mode/Jump.wav') \| exec 'normal!' v:count1 . '' - " nnoremap :call auditory#Play('/Resources/Normal_Mode/Jump.wav') \| exec 'normal!' v:count1 . 'cr> - " nnoremap :call auditory#Play('/Resources/Normal_Mode/Jump.wav') \| exec 'normal!' v:count1 . '' + " FIXME: Allow these scrolling commands to support counts. Was getting errors constructing them the other way + nnoremap :call auditory#Play('/Resources/Normal_Mode/Jump.wav') + nnoremap :call auditory#Play('/Resources/Normal_Mode/Jump.wav') + nnoremap :call auditory#Play('/Resources/Normal_Mode/Jump.wav') + + " FIXME: need to press twice in order for it to work + nnoremap :call auditory#Play('/Resources/Normal_Mode/Jump.wav') + nnoremap H :call auditory#Play('/Resources/Normal_Mode/Jump.wav')H nnoremap M :call auditory#Play('/Resources/Normal_Mode/Jump.wav')M nnoremap L :call auditory#Play('/Resources/Normal_Mode/Jump.wav')L -- cgit v1.2.3