Vim Recall繁體中文

Move the cursor the count times back to start of member function

[m

Example

Normal 0 / 1
class Demo {
  void first() {
    one;
  }
  void next() {
    two;
  }
}
Cursor on line 6, column 5

Move the cursor the count times back to start of member function.

Before & after
Before
class Demo {
  void first() {
    one;
  }
  void next() {
    two;
  }
}
Cursor on line 6, column 5
After
class Demo {
  void first() {
    one;
  }
  void next() {
    two;
  }
}
Cursor on line 5, column 15

Start 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.