commit 0413e943ae8cc944e39c5dec7f094e4eda0dfb46
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2016-04-16T11:20:14Z |
| subject | Enter act as j |
commit 0413e943ae8cc944e39c5dec7f094e4eda0dfb46
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2016-04-16T11:20:14Z
Enter act as j
---
botanjs/src/Components/Vim/Controls.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/botanjs/src/Components/Vim/Controls.js b/botanjs/src/Components/Vim/Controls.js
index 1173343..4f982d6 100644
--- a/botanjs/src/Components/Vim/Controls.js
+++ b/botanjs/src/Components/Vim/Controls.js
@@ -415,6 +415,7 @@
case H: this.__cMoveX( -1 ); break; // Left
case L: this.__cMoveX( 1 ); break; // Right
case K: this.__cMoveY( -1 ); break; // Up
+ case ENTER:
case J: this.__cMoveY( 1 ); break; // Down
case CTRL + F: // Page Down
@@ -650,6 +651,7 @@
this.__divedCCmd.dispose();
this.__cMovement = false;
this.__divedCCmd = null;
+ return;
}
if( e.canceled ) return;