I was troubleshooting a script when I discovered that the BufWinEnter
event was occurring even though there is no buffer being displayed in
a window.
$ vim -N -X -u NONE -i NONE -E -V1 --cmd 'au BufWinEnter * echo "hello"' -c q
hello
Why is this?
Maybe as far as Vim's internal logic is concerned, every buffer is
always initially displayed in a window, even in ex mode where no
window is actually displayed.
Regards,
Gary
--
You received this message from the "vim_use" 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
No comments:
Post a Comment