Skip to content

Instantly share code, notes, and snippets.

@BenQuigley
Created November 16, 2024 21:31
Show Gist options
  • Save BenQuigley/bde5e34798d8683eb0b3e24565656705 to your computer and use it in GitHub Desktop.
Save BenQuigley/bde5e34798d8683eb0b3e24565656705 to your computer and use it in GitHub Desktop.
vim-features.txt
| feature | importance points | leetcode | neetcode | codesignal | repl.it | coderpad.io | hackerrank | codewars.com | pycharm + ideavim | vs code + vscodevim |
| "deleting something pops it into your ""paste"" buffer " | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
| jumping from a parenthesis to its partner with % | 1 | 1 | 1 | 1 | 1 | 0 (only works forwards!) | 1 | 1 | 1 | 1 |
| visually selecting inside parentheses with `v i (` | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
| repeating a recent action with `.` | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 |
| doing {number} {action} does {action} that many times | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
| visual block mode | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 1 |
| `/` searches | 4 | 4 | 4 | 4 | 4 | 4 | 4 | 4 | 4 | 4 |
| :%s and :s find and replace | 2 | 2 | 2 | 2 | 2 | 2 | 1 (%s only) | 2 | 2 | 2 |
| interactive find and replace (e.g. `s/foo/bar/gc`) | 2 | 0 | 2 | 1 (opened the correct dialog, but did not work on my machine, editor entered broken state) | 2 | 0 (same as codesignal, but did not break site) | 0 (doesn't exactly work, but searches, and not broken) | 2 | 2 | 2 |
| find and replace with regex (`s/^/- `) | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
| find and replace with capture groups (e.g. `s/”\(.*\)”/\1/`) | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
| command history (e.g. find and replace, search) | 2 | 0 | 0 | 0 | 2 | 0 | 0 | 2 | 2 | 2 |
| misc special actions, e.g. `g g`, `c f :`, `z z` | 3 | 2 (1, 1, 0) | 2 (1, 1, 0) | 2 (1, 1, 0) | 3 | 2 (1, 1, 0) | 2 | 3 | 3 | 3 |
| macros (with e.g. `q q`) | 2 | 0 (does not work with entering text) | 2 | 0 (does not work) | 2 | 0 (does not work with entering text) | 0 | 2 | 2 | 2 |
| total | 30 | 22 | 23.5 | 23 | 27 | 21 | 18 | 27 | 28 | 27 |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment