> For the complete documentation index, see [llms.txt](https://j-osler.gitbook.io/wdid/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://j-osler.gitbook.io/wdid/working-with-items/editing-items.md).

# Editing Items

You can edit the description or the time of an item. For example, to change the description and set the time to the start of today, call the `edit` command with the item identifier,  new description and time.

```
$ wdid edit a9fi3q "my new description" -t day
```

If you do not provide a new description but just the [time](/wdid/advanced/time-format.md), wdid will just update that:

```
$ wdid edit a9f -t day
```

{% hint style="info" %}
Note here that we can use the item ID prefix, similarly to how we can [view](/wdid/working-with-items/viewing-items-1.md#show) with a prefix.
{% endhint %}

### Editing Longer Items

If you don't provide a time or a description, wdid will open the item in an editor, `$EDITOR` environment variable (default vim).

```
$ wdid edit a9fi3q
```
