Your own text

Paste a small piece of code or text, make an edit in Vim, then press Analyse. There's no target and no score. If a text object could have made the same edit with at least three fewer keys, you'll see both.

Analysis

Make an edit with Vim, then press Analyse.

0 edits

0keys

How it works

If a text object could have made exactly the same edit with at least three fewer keys, Analyse shows both side by side. Pasted text and mouse clicks aren't counted. It only looks at text objects, so it won't find every shorter way to do something in Vim, and it doesn't compare where your cursor or registers end up.

Your text is saved on this device and doesn't sync to your account. The analysis runs in your browser. The techniques it sees you use, and the text objects it found a shorter way for, go into your review schedule. You can undo Clear and Load example in the editor, and changing the text format keeps your text.

Keyboard shortcuts
Ctrl+Enter
Analyse
Ctrl+Alt+U
Undo the last change
Ctrl+Alt+R
Put your text back to how it was when you started
Ctrl+Alt+K⌃⌥K
Show the keyboard shortcuts
Ctrl+Alt+F⌃⌥F
Turn focus mode on or off
Ctrl+Alt+S⌃⌥S
Open the editor settings

The Ctrl+Alt shortcuts don't clash with Vim's own keys. On a Mac, use Control and Option.

Your textVim mode: Normal