Find function corresponding to menu item


#1

How do I find the function corresponding to a menu item?

I’d prefer to hide the Tree View by default. There’s a menu item to toggle it, so I figure if I could just find the function that gets called for that menu item, I could just add this to my init.coffee.