message: feat: implement gn for operator-pending-mode
diff: @@ -799,20 +799,14 @@ export class ModeHandler implements vscode.Disposable {
  resultingCursors.push(resultingRange);
  }
  - if (vimState.recordedState.transformations.length > 0) {
  - await this.executeCommand(vimState);
  - } else {
  - // Keep track of all cursors (in the case of multi-cursor).
  -
  + // Keep track of all cursors
  resultVimState.allCursors = resultingCursors;
  + this.vimState.editor.selections = vimState.allCursors.map(
  + cursor => new vscode.Selection(cursor.start, cursor.stop)
  + );
  - const selections: vscode.Selection[] = [];
  -
  - for (const cursor of vimState.allCursors) {
  - selections.push(new vscode.Selection(cursor.start, cursor.stop));
  - }
  -
  - this.vimState.editor.selections = selections;
  + if (vimState.recordedState.transformations.length > 0) {
  + await this.executeCommand(vimState);
  }
  return resultVimState;
  