# mt go

Open a task in your editor, set by `[go] editor`

`mt go` finds the task’s file and opens it with `[go] editor`, or `$VISUAL`, or `$EDITOR`. If you set none of them, it fails and asks you to set `[go] editor`. `mt` replaces a `{task}` token in the command with the path, or appends the path when there’s no token. A project’s `[go] editor` waits for [`mt allow`](https://mlavrinenko.github.io/mindtape/cli/allow/index.md) until then `mt go` tries `$VISUAL`, then `$EDITOR`, and fails with neither.

Runs on one project and refuses a [set](https://mlavrinenko.github.io/mindtape/read-many-projects/index.md).

- `<TASK>`: The task: its stem, its hash, or the path to its file

Every command also takes the [global flags](https://mlavrinenko.github.io/mindtape/cli/index.md#global-flags).
