I would like to play sounds for accessibility reasons. Do I need to patch and compile (neo)vim to provide some sort of OnError autocmd?

edit: more generically I'm looking for a way to hook into console dialog so that speech synthesis can be used. confirm()'s optional {type} argument could also be of better use by playing an appropriate sound for error,info,warning or generic messages.

  • 4
    not possible. I made a patch a couple of years ago, but Bram did not like to include it, although this topic has come up several times in the past before Feb 12, 2018 at 21:00
  • 1
    and a further discussion on that patch on vim-dev with I think a newer patch Feb 12, 2018 at 22:01
  • thanks for the links. (it's not quite the easiest keyword to google)
    – Bart
    Feb 12, 2018 at 22:29


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.