summaryrefslogtreecommitdiff
path: root/docs/reference
diff options
context:
space:
mode:
Diffstat (limited to 'docs/reference')
-rw-r--r--docs/reference/mpremote.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/reference/mpremote.rst b/docs/reference/mpremote.rst
index 3927c9bad..eb0233bdd 100644
--- a/docs/reference/mpremote.rst
+++ b/docs/reference/mpremote.rst
@@ -133,6 +133,17 @@ The full list of supported commands are:
- ``rmdir <dirs...>`` to remove directories on the device
- ``touch <file..>`` to create the files (if they don't already exist)
+- edit a file on the device:
+
+ .. code-block:: bash
+
+ $ mpremote edit <files...>
+
+ The ``edit`` command will copy each file from the device to a local temporary
+ directory and then launch your editor for each file (defined by the environment
+ variable ``$EDITOR``). If the editor exits successfully, the updated file will
+ be copied back to the device.
+
- mount the local directory on the remote device:
.. code-block:: bash