Comment #4 on issue 319 by [email protected]: New option to not
beep with 'showmatch'
https://code.google.com/p/vim/issues/detail?id=319
Anything wrong with this approach? Simply reset the bell setting when
Entering Insert mode and reset it when returning. I don't think, we want to
add another setting for that...
augroup NoError
au!
au InsertEnter * :call SetBell(1)
au InsertLeave * :call SetBell(0)
augroup END
func! SetBell(disable)
if a:disable
let s:mybell = [&eb, &vb, &t_vb]
" need to set visualbell, else bell will still be called.
set noeb vb t_vb=
else
let [&eb, &vb, &t_vb] = s:mybell
endif
endfu
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.