aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2014-11-09 05:18:59 -0500
committerTeddy Wing2014-11-09 05:18:59 -0500
commit8d5a91ee2b485c8e95a60c8c0399706ead197713 (patch)
tree53409b0a077d38e18545ed0155801e502304de67
parent1c21151bbb002798cf7899b84e469c3c810156fd (diff)
downloadauditory.vim-8d5a91ee2b485c8e95a60c8c0399706ead197713.tar.bz2
plugin/auditory.vim: Add (){} movement sounds
Use the Jump sound for sentence & paragraph movement.
-rw-r--r--plugin/auditory.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/auditory.vim b/plugin/auditory.vim
index 7305f1d..dd9b636 100644
--- a/plugin/auditory.vim
+++ b/plugin/auditory.vim
@@ -134,6 +134,11 @@ function! s:NormalModeMappings()
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-u>call auditory#Play('./Resources/Normal_Mode/Jump.wav') \| exec 'normal!' v:count1 . '('<cr>
+ nnoremap <silent> ) :<c-u>call auditory#Play('./Resources/Normal_Mode/Jump.wav') \| exec 'normal!' v:count1 . ')'<cr>
+ nnoremap <silent> { :<c-u>call auditory#Play('./Resources/Normal_Mode/Jump.wav') \| exec 'normal!' v:count1 . '{'<cr>
+ nnoremap <silent> } :<c-u>call auditory#Play('./Resources/Normal_Mode/Jump.wav') \| exec 'normal!' v:count1 . '}'<cr>
+
nnoremap <silent> <c-i> :<c-u>call auditory#Play('./Resources/Normal_Mode/Jump.wav') \| exec 'normal!' v:count1 . '<c-i>'<cr>
nnoremap <silent> <c-o> :<c-u>call auditory#Play('./Resources/Normal_Mode/Jump.wav') \| exec 'normal!' v:count1 . '<c-o>'<cr>