Skip to main content

Remote Editor

When a program running in your terminal needs a text editor — for example git commit, crontab -e, or an AI agent editing a file — Mobitty can open the file in your browser instead of launching a terminal-based editor like vim or nano. This is especially useful on mobile, where terminal editors are difficult to use.

Enabling

Toggle Remote Editor in Settings. The setting applies to new sessions only — existing sessions keep their current setting.

When enabled, Mobitty sets the $EDITOR and $VISUAL environment variables in your shell so that programs automatically use the browser editor.

How it works

  1. A program calls $EDITOR (e.g. git commit opens the commit message file)
  2. Mobitty intercepts this and opens a full-screen editor panel in your browser
  3. Edit the file, then press Save or Ctrl+S / Cmd+S
  4. The file is sent back to the server and the program continues

To discard your changes, press Cancel — the program sees an empty edit, as if you closed the editor without saving.