aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorTeddy Wing2014-11-09 04:29:35 -0500
committerTeddy Wing2014-11-09 04:29:35 -0500
commitc5f0842c45c9e6204eb368e8a11c19aaa76db1c5 (patch)
tree6107f72ee42761a2fd87c2adb0284f31337af5fc /plugin
parent416d7bec227415336fbf561fd41a87c9321fd7e6 (diff)
downloadauditory.vim-c5f0842c45c9e6204eb368e8a11c19aaa76db1c5.tar.bz2
plugin/auditory.vim: Add 'x' mapping
Use the Delete sound.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/auditory.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/auditory.vim b/plugin/auditory.vim
index 6de2684..ec121c3 100644
--- a/plugin/auditory.vim
+++ b/plugin/auditory.vim
@@ -130,6 +130,9 @@ function! s: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> 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
call s:NormalModeMappings()