Vim in every text field on your Mac.
Try it on this email.
In the app, you press Meh+Esc wherever you type, and your keys become Vim commands. Esc takes you back to typing. Here, plain Esc does the same.
One look at the window tells you the Mode.
Insert
No frame. Keys type, as they always have.
Normal
A green frame. Keys are commands now: w jumps a word, ciw changes it.
Visual
A violet frame. Motions grow the selection, then d, y or c act on it.
Browse
A teal frame round a web page with nothing to type in. j and k scroll it, gg goes to the top.
Here it is in TextEdit.
Switch from Normal to Visual to Visual Line like you'd do in Vim, with v, V, Esc and i.
- Meh+EscNORMAL
- veeVISUAL
- VjVISUAL LINE
- escNORMAL
- iINSERT
vee, V, j, then Esc and i.
Outside a text field, the keys move the page.
In a browser, press Meh+Esc anywhere on a web page that isn't a text field. The page gets a teal frame with BROWSE on its tab: that's Browse mode. Its keys let you read the page, act on it and navigate to another tab. Every other key still goes to the page.
- jk scroll
- du{} half a page
- ggG top, bottom
- zz reading focus
- f labels to click
- esc leaves
This page works the same way. Press j to scroll it. Esc leaves Browse mode, and Esc again comes back.
jj, } }, G,
gg, then Esc. The Mode guide at the bottom shows on your first three times in Browse mode.
Some sites have their own keys, like Gmail's j and k. Browse mode leaves those to the
site. Each time you enter Browse mode on one, a note names them.
It says "may" because Gmail's shortcuts only work once you turn them on in Gmail's settings. The app knows the keys of Gmail, Google Calendar, Outlook, GitHub, YouTube, Jira, Linear and HEY.
A video player can take j, k, d and u for its volume.
{ and } still scroll there.
Browse mode works in browsers only, for now, and is checked in Zen, Chrome, Helium and Ardia. Apps built on web pages, like Slack, don't get it.
Read one thing at a time.
Press zz in Browse mode and the paragraph you're reading stays bright while the rest of the page
dims. That's Reading focus. An image stays lit with its caption, and code blocks and tables light whole.
Press j and the light moves on to the next paragraph. Scroll with your trackpad and it picks up
wherever you stop. Press zz again when you're done.
Nothing on the page changes. The dim sits on top, so the layout and images stay as they were.
Try it here. Press zz, then j.
zz, j j onto an image and its caption, a slow
trackpad scroll, then zz off.
Click without the mouse.
Press f in Browse mode, or Meh+F anywhere on a web page, and every link, button and field you can see gets a short
label. Type a label and the app clicks it. That's Follow labels.
The labels come back after each click, so you can keep going, and j and k still
scroll. Press Esc when you're done.
In a text field, Meh+F shows the labels too, and Esc puts you back where you were typing.
Try it here. Press Esc for Browse mode, then f, and type the label on where to go next.
y opens the link to vi, the labels come back on the new page, then
Esc.
Switch tabs without the mouse.
Press t in Browse mode, or Meh+T anywhere in a browser, and each tab you can see gets a short
label. Type a label and the browser switches to that tab. That's Tab labels.
It reaches past the ninth tab, where ⌘1 to ⌘9 stop, in a tab strip or a list down the side. Press Esc to leave the tabs as they are.
t, a switches to Lighthouse, j
j, then Esc.
Press ? to see the keys.
Press ? in Browse mode, or Meh+? anywhere, and the Mode guide names the keys that work right now. It
shows by itself your first three times in Browse mode, and stays while you try them.
With labels on the page or on your tabs, ? names their keys instead, in their colour. Its last line
in Normal and Visual points to Vim commands in the menu bar, which opens
the list of every command.
Try it here. Press Esc for Browse mode, then ?.
It reaches each app's text its own way.
A Family is how Vim My Mac works with an app's text. Each app is in one of four, and in a browser one site can have its own. Only you move an app, from the menu: when a command fails in a way that suggests the wrong Family, Vim My Mac offers the move.
So mail.google.com can run on Keystroke while the rest of Chrome runs on Hybrid.
mail.google.com has its own Site on Keystroke.
Accessibility
- What it does
- Reads the text and edits it in place through macOS Accessibility, the way VoiceOver reads it. Nothing is typed into the app.
- What you lose
- Nothing, where the app takes the edit. Some apps show their text correctly but get direct edits wrong or drop them.
- Use it for
- Native Mac apps. An app that isn't in the catalog starts here.
Hybrid
- What it does
- Reads the text over Accessibility, then edits as you would: it selects the text and types, deletes or pastes over it.
- What you lose
- A moment per edit.
pborrows the clipboard for an instant, then puts it back. - Use it for
- Browsers, and apps whose text reads well but won't take a direct edit.
Keystroke
- What it does
- Can't see the text, so it turns each command into macOS editing keys, like ⌥→ for the next word or ⇧⌘← to select to the start of the line.
- What you lose
f,t,%and most text objects.wstops where macOS thinks a word ends.- Use it for
- Apps that report their text wrongly, as many Electron apps do, or one site that keeps failing.
Off
- What it does
- Leaves the app alone. Meh+Esc shows a small toast saying the app is Off, instead of starting Normal mode.
- What you lose
- Vim My Mac, in that app.
- Use it for
- Apps with their own Vim mode, like terminals and code editors, and apps whose keys belong elsewhere, like a remote desktop.
Recorded on a real Mac.
kk, dd, p. In Normal mode the caret is a block on the letter
your next command starts from. Notes draws it in its own yellow.
yiw on a bold word, then P on the next line. It's still bold.Checked in six apps so far.
- Checked
- Zen, Chrome, Helium, Ardia, KeePassXC, TextEdit, Notes
- Should work, not checked yet
- Firefox and Chromium, which share Zen's and Chrome's engines; native Mac apps
- Off from the start
- Terminals (Ghostty, WezTerm, Terminal, iTerm2, kitty, Alacritty, Warp), MacVim, Neovide, VimR, and editors with their own Vim mode (VS Code, Cursor, Zed, Sublime Text, the JetBrains IDEs)
It knows about 200 apps. For many of them, like Slack, Notion, Brave and Arc, the menu suggests a Family and you decide. You can move any app from the menu bar.
0ww, ciw, then "Friday".Questions.
Do I need to know Vim?
Yes, mostly. Vim My Mac gives you Vim's keys, but it won't teach them. If dd and ciw
are new to you, the demo above covers the basics, and vimtutor in Terminal covers the rest.
What's Meh+Esc? My keyboard has no Meh key.
Meh is control, option and shift held together. Many custom keyboards have one key that sends all three, which makes Meh+Esc two keys instead of four. No app uses Meh+Esc for anything else, so it never gets in the way. If it doesn't suit you, choose another shortcut in the config file, like ⌃[ or F13.
Which Vim commands work?
Motions like w, e, f, gg, % and
}. The operators d, c and y, with motions and text objects
like iw, i" and ap. Counts, ., p,
u, ⌃R, x, r, J and ~. Visual and
Visual Line modes. It doesn't do macros, marks, / search, named registers, : commands
or block selection with ⌃V. In apps on the Keystroke Family, some commands don't work,
f and % among them.
What does Meh+Esc do on a web page?
Outside a text field, it puts the page in Browse mode, and j, k and a few other keys
move the page. zz dims everything but what you're reading. Browse mode has the rest.
Why does it need Accessibility permission?
It's the only permission it asks for. It lets the app see your keys and read and edit the text field you're in. The app has no network code, so nothing you type leaves your Mac. While you're typing normally, your keys go straight to the app you're in.
What about password fields?
It can't see them, and that's how it should be. A password field turns on macOS's Secure Event Input, which hides your keys from every other app. Vim My Mac goes back to typing, and its menu names the app that's holding Secure Event Input.
Does it work in my terminal or code editor?
It leaves them alone. Terminals, MacVim, Neovide, VimR and editors with their own Vim mode start Off. Use their
Vim mode, or set -o vi in your shell. You can turn any of them on from the menu.
What happens to my clipboard?
Vim's register is your Mac's clipboard. y, d and c write to it, so ⌘V
anywhere pastes what you yanked, and p pastes what you copied with ⌘C. Bold text and images
survive the trip where the app accepts them. A clipboard manager will see every yank and every delete.
x, s and r leave the clipboard alone. In Hybrid apps, p
borrows the clipboard for an instant and then puts it back.
What does it need?
macOS 26 on a Mac with Apple silicon.
Can I get it?
Not yet. For now it runs on its maker's Mac. Join the waitlist to hear when it's ready for yours.
Is this kindaVim?
No. Vim My Mac is its own app, inspired by kindaVim. I was intrigued by kindaVim, and I thought it would be a fun project to tackle.
Coming to more Macs.
For now it runs on its maker's Mac. Leave your email and you'll hear once, when it's ready for yours.