Keymode is a keyboard-driven text and code editor for iPhone. It follows Vim's way of working: normal mode to move and change, insert mode to type, visual mode to select. Your hands stay on the keys, and a few keystrokes do what would otherwise take many taps.
KEYMODE IS AN EDITOR
Keymode edits text and code and saves them. It does not run, compile or debug anything; use it alongside the tools that do.
THE COMMANDS YOU KNOW
• Motions such as w, b, e, f, t, %, gg and G, with counts: 3j, d2w, 50G.
• Operators and text objects: ciw, daw, di(, yap, gUiw.
• Visual mode by character, by line and by block, with typing on every selected line.
• Registers, macros (qa … q, @a), the dot command, undo and redo.
• Search with /, n and N; replace with :s and :%s, with or without asking at each match.
• Marks, folding, :set number and relativenumber, a guide at any column.
• Commands such as :w, :wq, :e, :saveas, :rename, :bn, :bp, :b and Ctrl-6 for your open files.
• A start-up file, .keymoderc, for your own :set lines and key mappings.
Keymode is not Vim itself, and not every Vim command is there. Help lists everything that is, and can be saved as a file.
A KEYBOARD MADE FOR IT
Keymode has its own on-screen keyboard with Esc and Ctrl, and a row of keys that changes with the mode. In normal mode the row starts with the digits for counts, and each swipe stops in the same place, so the keys are where your thumb expects them. With a Bluetooth keyboard, put Keymode's keyboard away and type. The iPhone's own keyboard can be chosen in Settings.
YOUR FILES, WHERE THEY LIVE
Keymode works on ordinary files. Its own folder is in the Files app, under On My iPhone. Files from iCloud Drive or from other apps, such as Working Copy for Git, are edited where they live and saved back there; nothing is copied. Unsaved changes are kept as drafts, so closing Keymode loses nothing, and Keymode warns you before saving over a file that another app has changed.
FOR CODE AND FOR WRITING
• Syntax colours for 28 languages, including C, Python, JavaScript, TypeScript, Rust, Go, Swift, Java, PHP, SQL, HTML, CSS, shell, YAML and Markdown.
• Find and replace across all your files.
• Word completion, as with Ctrl-N and Ctrl-P, from the words in the file.
• A formatted preview of Markdown.
• Six colour themes, light and dark, and six monospaced fonts. Help, Settings and the file list follow the iPhone's Text Size.
• VoiceOver speaks the mode as it changes.
TRY IT, THEN BUY IT ONCE
Every feature works free for 14 days. After that, your files can still be opened, read, searched, copied and shared, and editing and saving need the unlock: a single purchase, not a subscription. Keymode has no account, no adverts and no tracking, and collects no data.
Questions and answers: robertfb.com/keymode/support
Show more