mkschreder123/vim-headless-mastery
vim-headless-mastery: vim: Harbor dataset on Hugging Face with 168 tasks. A training ground for agents that must master your tool For teams building agents that must operate a specific tool (an editor, a CLI, an internal system) and that have no reliable way to practise or measure that skill…
Tasks
- Create a file containing Hello, Vim! .
- Append world to the starter line.
- Prefix // to a code line.
- Add beta below alpha .
- Put a header above the first line.
- Correct cot to cat .
- Remove the extra x .
- Make a temporary mistake, undo it, then append version to the line.
- Delete the first character, undo the deletion, then redo it.
- Append ! , explicitly write, and exit.
- Append and sound and save it with :write , then insert BAD and discard that edit.
- Prefix and suffix the starter line.
- Change the fourth character of abczef to d .
- Replace the first character of the third line.
- Change the first character on line two.
- Change the final X to ! on line two.
- Replace the v after indentation with V .
- Capitalize gamma using a word motion.
- From the end, capitalize beta .
- Go to the second space-separated chunk and change p to P .
- Replace character 6 with Z .
- Find = and replace it with : .
- Replace the character before ; with X .
- Find the last : and change it to = .
- Change the second comma to a semicolon.
- Starting on the opening parenthesis, replace the closing one with .
- Change X to ! without removing trailing spaces.
- Remove the first line.
- Remove the first three lines.
- Keep only key .
- Remove old from the start.
- Remove old while retaining the space.
- Delete abcd while leaving ef .
- Change slow to fast .
- Replace a wrong line.
- Replace old after value= with new .
- Replace ? with yes .
- Replace the first line with PASS .
- Duplicate the first line immediately below it.
- Copy line two and paste above line one.
- Join the two words.
- Join two fragments to form an identifier.
- Indent one line four spaces.
- Remove four spaces.
- Add ! to both lines using the dot repeat.
- Remove one two while preserving the final word.
- Delete the middle word, leave spaces.
- Remove the middle word and one separating space.
- Replace debug with release .
- Change the quoted text.
- Replace the quoted string with an identifier.
- Clear arguments, keep parentheses.
- Replace an expression in braces.
- Replace 3, 4 with index .
- Copy firmware , append a space, then paste the yanked word.
- Remove the first paragraph and its separation.
- Remove the leading parenthesized part.
- Uppercase ready only.
- Toggle the casing of FiLe .
- Replace the first sentence, keeping the next.
- Find DEBUG in a later line and change it to INFO .
- Start on the final line, search backwards for error and uppercase it.
- Replace the second TODO with DONE .
- Find last tag then search backwards to change the previous one.
- Go to the second code and uppercase it.
- Replace only the first bad .
- Replace every bad on line one only.
- Rename DEBUG to TRACE everywhere.
- Unify all case variants to ready .
- Rename count without modifying counter .
- Swap the two colon-separated fields.
- Replace /tmp/old with /var/new .
- Replace just 100 after port= .
- Wrap each integer in square brackets.
- Remove trailing spaces and tabs, but keep indentation.
- Remove all DEBUG lines.
- Keep only TODO entries.
- Replace old only on middle lines.
- Change off to on only between markers.
- Delete lines 2–4.
- Repeat the header at the bottom.
- Move the first entry to the bottom.
- Make one phrase.
- Sort these entries.
- Deduplicate and alphabetize.
- Sort increasing integer values.
- Sort entries in reverse order.
- Prefix only the first three lines with // .
- Prefix TODO lines with // .
- Only change off to on starting at line 3.
- Insert generated between the two lines.
- Copy line one into register a and paste below line two.
- Yank first line, delete second without replacing the yank, paste first below the third.
- Yank first and second lines into a; put after line three.
- Mark an X , edit line three, then return to change X to Y .
- Mark line two, edit line three, then edit line two.
- Append ; to each of three lines using a macro that moves down between runs.
- Use a macro on the first line and repeat it for the second.
- Number-independent indentation: prefix three lines with - .
- Turn name:value into name = value on three lines.
- Record a macro that appends ! and moves down, then replay it on the second line.
- Record prefixing // on the first line and replay the macro on the next two lines.
- Edit the first and third lines, move away, then jump back to the third edit with g; .
- Uppercase the first word by visual selection.
- Remove first two whole lines.
- Replace red with blue .
- Uppercase the selected first word, then reselect it, yank it and put the copy on a new line below.
- Indent the first two lines four spaces.
- Change x only on lines two and three.
- Indent first three lines four spaces.
- Insert X then leave insert mode, and append ! using a single headless command.
- Prefix the first three lines with // in a single block edit.
- Replace the first character of three lines with X .
- Delete the first column of the first three lines.
- Convert one leading tab into four spaces.
- Wrap text at 25 columns (Vim may break before the limit).
- Uppercase the identifier line.
- Lowercase the entire line.
- Reindent one C statement within braces.
- Prefix three lines with their known list labels.
- Convert the file to Unix line endings, preserving contents.
- Change value to result but keep the absence of final newline.
- Enable line numbers, then use them to delete line 3.
- Write a copy named copy.txt , preserve source.txt .
- Create renamed.txt from original.txt .
- Insert part.txt after the first line of main.txt .
- Change two.txt , then modify one.txt .
- Rename pending to done in both files.
- Replace each TODO occurrence in two files with DONE .
- Replace stale everywhere in files containing ALERT .
- Change right.txt in a split, then left.txt .
- Edit b.txt and then a.txt .
- Replace old with new in two loaded buffers.
- Put six after the first line using string concatenation.
- Uppercase the second line through a Vimscript expression.
- Convert three line entries into 1: a , 2: b , 3: c .
- Only replace a line if it contains FAIL .
- Replace the third character with X using a computed count.
- Use a macro to insert ! and move to the next line, twice.
- Define :Bang to append ! to the current line, and invoke it twice.
- Map Q to append ! and activate it on two lines.
- Register an automatic whitespace cleaner, add a line c with trailing spaces at the end, then save.
- Enable expansion of tabs locally, then retab the file.
- Rename old flag to ready and remove trailing whitespace on every line.
- Rename exact hw start identifier to device start in both files.
- Keep TODO lines and remove the TODO: prefix.
- Convert name,score,status records to status name score , leaving the header out.
- Change TODO to REVIEW wherever it appears.
- Find BUG in a C file and replace only its first occurrence.
- Find first XXX and replace it.
18 more tasks.