aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/auditory.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugin/auditory.vim b/plugin/auditory.vim
index f8b1bac..193e6b0 100644
--- a/plugin/auditory.vim
+++ b/plugin/auditory.vim
@@ -52,6 +52,18 @@ endfunction
" auditory#InsertGalaxyFarFarAway()
+" Normal mode
+function! s:NormalModeMappings()
+ nnoremap <silent> h :<c-u>call auditory#Play('./Resources/Normal_Mode/Left.wav') \| exec 'normal!' v:count1 . 'h'<cr>
+ nnoremap <silent> j :<c-u>call auditory#Play('./Resources/Normal_Mode/Down.wav') \| exec 'normal!' v:count1 . 'j'<cr>
+ nnoremap <silent> k :<c-u>call auditory#Play('./Resources/Normal_Mode/Up.wav') \| exec 'normal!' v:count1 . 'k'<cr>
+ nnoremap <silent> l :<c-u>call auditory#Play('./Resources/Normal_Mode/Right.wav') \| exec 'normal!' v:count1 . 'l'<cr>
+endfunction
+
+call s:NormalModeMappings()
+
+
+
augroup auditory#insert_mode
autocmd!
" autocmd InsertEnter * call s:PlayInsertEnter()