pi-vim 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.ts +2 -6
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -1372,14 +1372,10 @@ export class ModalEditor extends CustomEditor {
|
|
|
1372
1372
|
const count = this.pendingCount;
|
|
1373
1373
|
|
|
1374
1374
|
if (this.pendingOperator && this.pendingMotion) {
|
|
1375
|
-
|
|
1376
|
-
const opCount = this.pendingCountKind === "operator" ? count : "";
|
|
1377
|
-
return ` NORMAL ${prefix}${this.pendingOperator}${opCount}${this.pendingMotion}_ `;
|
|
1375
|
+
return ` NORMAL ${this.pendingOperator}${count}${this.pendingMotion}_ `;
|
|
1378
1376
|
}
|
|
1379
1377
|
if (this.pendingOperator) {
|
|
1380
|
-
|
|
1381
|
-
const opCount = this.pendingCountKind === "operator" ? count : "";
|
|
1382
|
-
return ` NORMAL ${prefix}${this.pendingOperator}${opCount}_ `;
|
|
1378
|
+
return ` NORMAL ${count}${this.pendingOperator}_ `;
|
|
1383
1379
|
}
|
|
1384
1380
|
if (this.pendingMotion) return ` NORMAL ${this.pendingMotion}_ `;
|
|
1385
1381
|
if (this.pendingG) return " NORMAL g_ ";
|