4
When I try to do this
:autocmd LocationChange .* echo document.title
the first page that gets displayed makes no echo. If I proceed to the next tab, the title of the last tab gets echoed.
Does anybody know how I can get for every landing on the page the title echoed instantly instead of when "leaving" the tab?
And it only works every two times. If I go through my tabs 1,2,3,4,5,6,7,8 (next tab) the output will be (being at 1 currently)
- _blank
- Title of 1
- _
- Title of 3
- _
- Title of 5
- _
- Title of 7
- _
(now being at tab 8)
But I want
- Title of 1
- Title of 2
- ...
Any ideas?