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

120 Views Asked by At

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 ? > 
2

There are 2 best solutions below

2
On BEST ANSWER
hints.show("o")

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

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

Another option for a case like this (if you don't want to consult the source to find the JS), is to use the :normal command, which executes the normal-mode command corresponding to the given key sequence.

autocmd PageLoad  .* normal f