Editors

Control Neovim from your phone

Drive your fully-configured IDE-in-a-terminal, plugins and LSP and all, from the smallest screen you own.

$ onlytty -- nvim

Neovim on your phone

Neovim is a hyperextensible, Lua-powered fork of Vim. OnlyTTY runs it on your own machine and hands you a private link to drive it from your phone — the terminal stays live where you launched it; your phone is just a second screen and keyboard.

  • End-to-end encrypted — the relay only ever forwards ciphertext, never your keystrokes.
  • View-only by default — but the link is the key: anyone with it can take control with a tap. Lock it to watching with --control view-only.
  • Nothing stored — sessions are in-memory and vanish when you exit; no account, no inbound ports.

New to OnlyTTY? See how it works · read the FAQ.

Edit a file in Neovim from your phone

Install Neovim and OnlyTTY on the machine that holds your files. Your configuration, plugins and language servers run there; the phone opens the terminal in its browser.

From the project directory, try a scratch file first:

$ onlytty -- nvim phone-check.txt
  1. Open the printed link or scan its QR code on your phone. Check that it shows the file you launched.
  2. Tap Take control, then press i to enter Insert mode. Type a short line and press Esc to return to Normal mode.
  3. Use ZZ to save and exit. To discard this scratch edit instead, type :q! and press Enter. Ending Neovim ends this shared command.

A phone screen is useful for a small edit, not a replacement for reviewing a large diff. Keep the host awake and connected. OnlyTTY starts the command you give it; it does not attach to an arbitrary editor process that was already running.

For the editor's own commands, see Neovim's first-steps guide. To let someone watch without typing, launch with onlytty --control view-only -- nvim phone-check.txt.

Get started

Run Neovim from your phone in about 30 seconds

Install + share Neovim
$ curl -fsSL https://onlytty.com/install.sh | sh -s -- nvim
Share Neovim
$ onlytty -- nvim

It prints a link and a QR — scan it and you're live. More ways to run it →