[BRLTTY] Collision of speech output between Brltty and a Vim script

Eric Scheibler email at eric-scheibler.de
Mon Jun 18 18:47:15 EDT 2012


Hello Dave,

Dave Mielke <dave at mielke.cc> schrieb am 18.06.2012, 14:25 -0400:
>Why not use autocmd BufEnter, which wouldn't enter anything on the command 
>line?

Thanks a lot, great tip.

Now I use:
if !exists("autocommands_loaded")
    let autocommands_loaded = 1
    autocmd BufEnter * :call GetBufferName()
endif

With that, I can prevent, that the autocmd is loaded more than once. Now everything 
is working very well.

Regards
Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://mielke.cc/pipermail/brltty/attachments/20120619/745781e5/attachment.sig>


More information about the BRLTTY mailing list