aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2014-11-09 10:33:10 -0500
committerTeddy Wing2014-11-09 10:36:18 -0500
commit23a373ea7cbee061252dd127f9c88b101ab0a3dc (patch)
treea9d3338815f171359cdc879bc46fc520d25fe209
parenta3b97584bb6849956d482745db5dce840a392800 (diff)
downloadauditory.vim-23a373ea7cbee061252dd127f9c88b101ab0a3dc.tar.bz2
autoload/auditory.vim: Enable <space> & <backspace> mappings with FIXME
Uncomment the space and delete mappings. Note that I had to remove count support on the delete key because it's another one of those that was giving me errors for that.
-rw-r--r--autoload/auditory.vim6
1 files changed, 4 insertions, 2 deletions
diff --git a/autoload/auditory.vim b/autoload/auditory.vim
index 08e6b0b..9433d74 100644
--- a/autoload/auditory.vim
+++ b/autoload/auditory.vim
@@ -138,8 +138,10 @@ function! auditory#NormalModeMappings()
nnoremap <silent> gj :<c-u>call auditory#Play('/Resources/Normal_Mode/Down.wav') \| exec 'normal!' v:count1 . 'gj'<cr>
nnoremap <silent> gk :<c-u>call auditory#Play('/Resources/Normal_Mode/Up.wav') \| exec 'normal!' v:count1 . 'gk'<cr>
- " nnoremap <silent> <space> :<c-u>call auditory#Play('/Resources/Normal_Mode/Down.wav') \| exec 'normal!' v:count1 . '<space>'<cr>
- " nnoremap <silent> <bs> :<c-u>call auditory#Play('/Resources/Normal_Mode/Up.wav') \| exec 'normal!' v:count1 . '<bs>'<cr>
+ nnoremap <silent> <space> :<c-u>call auditory#Play('/Resources/Normal_Mode/Right.wav') \| exec 'normal!' v:count1 . '<space>'<cr>
+
+ " FIXME: allow counts on the delete key
+ nnoremap <silent> <bs> :<c-u>call auditory#Play('/Resources/Normal_Mode/Left.wav')<cr><bs>
nnoremap <silent> 0 :<c-u>call auditory#Play('/Resources/Normal_Mode/Left.wav')<cr>0
nnoremap <silent> ^ :<c-u>call auditory#Play('/Resources/Normal_Mode/Left.wav') \| exec 'normal!' v:count1 . '^'<cr>