aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2014-11-09 04:45:29 -0500
committerTeddy Wing2014-11-09 04:45:29 -0500
commitc3f903f11cf7b6ea7b5587c86ef7dd3374409a57 (patch)
treebf53d62e3a252f55e9c7a64df49f6d8a484a8903
parent684c0208de9745cd9eee0e878af0ece547c17e95 (diff)
downloadauditory.vim-c3f903f11cf7b6ea7b5587c86ef7dd3374409a57.tar.bz2
plugin/auditory.vim: Add additional jump mappings
Add Jump sound mappings for: * gg * G * <C-i> * <C-o>
-rw-r--r--plugin/auditory.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugin/auditory.vim b/plugin/auditory.vim
index 961ee22..be68cfc 100644
--- a/plugin/auditory.vim
+++ b/plugin/auditory.vim
@@ -133,6 +133,12 @@ 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-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>
+
+ nnoremap <silent> gg :<c-u>call auditory#Play('./Resources/Normal_Mode/Jump.wav') \| exec 'normal!' v:count1 . 'gg'<cr>
+ nnoremap <silent> G :<c-u>call auditory#Play('./Resources/Normal_Mode/Jump.wav') \| exec 'normal!' v:count . 'G'<cr>
+
nnoremap <silent> x :<c-u>call auditory#Play('./Resources/Normal_Mode/Delete.wav') \| exec 'normal!' v:count1 . 'x'<cr>
vnoremap <silent> x :<c-u>call auditory#Play('./Resources/Normal_Mode/Delete.wav') \| exec 'normal!' v:count1 . 'x'<cr>
endfunction