However, when I add this autocommand to my config, my Neotree will always open to the right of the first buffer instead of to the left. My Neotree config is all default. I’m not sure whether I need a better autocommand or a better neotree config (or both). Any help is appreciated!
And about NeoTree, there should be a setting to choose which side it will open on by default (although I don’t use it so you should check their docs/ask the devs)