VimDojo
Lessons
Challenges
Editor Demo
Login
Get Started
← Back to Challenges
intermediate
Time limit: 1:00
Move a Function Up
Move a function block above another.
Commands
V
d
P
Move a Function Up
Move a function block above another.
Time
0:00
/ 1:00
Editor
0 keys
1
f
unction second() {
2
return 2;
3
}
4
5
function first() {
6
return 1;
7
}
-- NORMAL --
move-function-up
Target
1
function first() {
2
return 1;
3
}
4
5
function second() {
6
return 2;
7
}
-- NORMAL --
move-function-up
Hints (0/4)
Reset
⚠ Guest mode —
Sign in
to save your progress and score