Move the cursor the count times back to start of member function
[m
Example
Normal 0 / 1Normal 1 / 1class Demo {
void first() {
one;
}
void next() {
two;
}
}Cursor on line 6, column 5class Demo {
void first() {
one;
}
void next() {
two;
}
}Cursor on line 5, column 15Move the cursor the count times back to start of member function.
Command applied
Before & after
class Demo {
void first() {
one;
}
void next() {
two;
}
}Cursor on line 6, column 5class Demo {
void first() {
one;
}
void next() {
two;
}
}Cursor on line 5, column 15Start in Normal mode. Java-like methods are enclosed by a class brace pair. Start inside the displayed method body.
Details & Vim help
Example replayed in Vim
Move the cursor the count times back to start of member function. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.