diff options
| -rw-r--r-- | autoload/auditory.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/autoload/auditory.vim b/autoload/auditory.vim index fdd262a..31ae18b 100644 --- a/autoload/auditory.vim +++ b/autoload/auditory.vim @@ -195,4 +195,9 @@ function! auditory#NormalModeMappings() " inoremap <silent> <c-p> <esc>:<c-u>call auditory#Play('/Resources/auto_complete.wav')<cr>a<c-p><c-p> " inoremap <silent> <c-n> <esc>:<c-u>call auditory#Play('/Resources/auto_complete.wav')<cr>a<c-n><c-n> + + nnoremap <silent> u :<c-u>call auditory#Play('/Resources/Normal_Mode/Undo.wav') \| exec 'normal!' v:count1 . 'u'<cr> + + " Note: redo doesn't currently support a count because the `v:count1` was giving me an error + nnoremap <silent> <c-r> :<c-u>call auditory#Play('/Resources/Normal_Mode/Redo.wav')<cr><c-r> endfunction |
