Fix #347 register explorer autocmds if necessary