Created
March 22, 2013 10:18
-
-
Save metalefty/5220307 to your computer and use it in GitHub Desktop.
IdeaVimでgt/gTが使い物にならないのを修正するには、これでいいのかなと思ったら違った。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/com/maddyhome/idea/vim/key/RegisterActions.java b/src/com/maddyhome/idea/vim/key/RegisterActions.java | |
index 5b8334a..cd24703 100644 | |
--- a/src/com/maddyhome/idea/vim/key/RegisterActions.java | |
+++ b/src/com/maddyhome/idea/vim/key/RegisterActions.java | |
@@ -433,9 +433,9 @@ public class RegisterActions { | |
// TODO - add zj | |
// TODO - add zk | |
- parser.registerAction(KeyParser.MAPPING_NVO, "VimMotionNextTab", Command.Type.MOTION, Command.FLAG_MOT_INCLUSIVE, | |
+ parser.registerAction(KeyParser.MAPPING_NVO, "VimMotionNextTab", Command.Type.MOTION, Command.FLAG_MOT_INCLUSIVE | Command.FLAG_SAVE_JUMP, | |
new Shortcut("gt")); | |
- parser.registerAction(KeyParser.MAPPING_NVO, "VimMotionPreviousTab", Command.Type.MOTION, Command.FLAG_MOT_INCLUSIVE, | |
+ parser.registerAction(KeyParser.MAPPING_NVO, "VimMotionPreviousTab", Command.Type.MOTION, Command.FLAG_MOT_INCLUSIVE | Command.FLAG_SAVE_JUMP, | |
new Shortcut("gT")); | |
parser.registerAction(KeyParser.MAPPING_NVO, "VimMotionCamelEndLeft", Command.Type.MOTION, Command.FLAG_MOT_INCLUSIVE, | |
new Shortcut("]b")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment