Search code examples
javascriptvimperator

What is the command to manually switch to "Hints" mode in vimperator ?


I am looking for way to automatically switch to "Hints" mode in vimperator on page load without having to press "f".

in .vimperatorrc

autocmd PageLoad  .*  js <what goes here ? > 

Solution

  • hints.show("o")
    

    is what the key f calls per default, so you would want to use

    autocmd PageLoad  .*  js hints.show("o")