diff options
| author | Teddy Wing | 2014-11-09 10:29:42 -0500 |
|---|---|---|
| committer | Teddy Wing | 2014-11-09 10:29:42 -0500 |
| commit | a3b97584bb6849956d482745db5dce840a392800 (patch) | |
| tree | f093c7ec11f1fb878cba127a8757fd4b19875908 /autoload | |
| parent | 58fc8cf24f62e43a9b5621e186848a6d1c108462 (diff) | |
| download | auditory.vim-a3b97584bb6849956d482745db5dce840a392800.tar.bz2 | |
autoload/auditory.vim: Enable scrolling mappings with FIXMEs
This way the sounds on scoll commands acutally work. They no longer
support counts :( and the <c-b> 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.
Diffstat (limited to 'autoload')
| -rw-r--r-- | autoload/auditory.vim | 12 |
1 files 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 <silent> z. :<c-u>call auditory#Play('/Resources/Normal_Mode/Jump.wav')<cr>z. nnoremap <silent> zz :<c-u>call auditory#Play('/Resources/Normal_Mode/Jump.wav')<cr>zz nnoremap <silent> zb :<c-u>call auditory#Play('/Resources/Normal_Mode/Jump.wav')<cr>zb - " nnoremap <silent> <c-d> :<c-u>call auditory#Play('/Resources/Normal_Mode/Jump.wav') \| exec 'normal!' v:count1 . '<c-d>'<cr> - " nnoremap <silent> <c-u> :<c-u>call auditory#Play('/Resources/Normal_Mode/Jump.wav') \| exec 'normal!' v:count1 . '<c-u>'<cr> - " nnoremap <silent> <c-f> :<c-u>call auditory#Play('/Resources/Normal_Mode/Jump.wav') \| exec 'normal!' v:count1 . '<c-f>cr> - " nnoremap <silent> <c-b> :<c-u>call auditory#Play('/Resources/Normal_Mode/Jump.wav') \| exec 'normal!' v:count1 . '<c-b>'<cr> + " FIXME: Allow these scrolling commands to support counts. Was getting errors constructing them the other way + nnoremap <silent> <c-d> :<c-u>call auditory#Play('/Resources/Normal_Mode/Jump.wav')<cr><c-d> + nnoremap <silent> <c-u> :<c-u>call auditory#Play('/Resources/Normal_Mode/Jump.wav')<cr><c-u> + nnoremap <silent> <c-f> :<c-u>call auditory#Play('/Resources/Normal_Mode/Jump.wav')<cr><c-f> + + " FIXME: need to press <c-b> twice in order for it to work + nnoremap <silent> <c-b> :<c-u>call auditory#Play('/Resources/Normal_Mode/Jump.wav')<cr><c-b> + nnoremap <silent> H :<c-u>call auditory#Play('/Resources/Normal_Mode/Jump.wav')<cr>H nnoremap <silent> M :<c-u>call auditory#Play('/Resources/Normal_Mode/Jump.wav')<cr>M nnoremap <silent> L :<c-u>call auditory#Play('/Resources/Normal_Mode/Jump.wav')<cr>L |
