1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-08-04 15:59:04 +02:00

Added support for { and } commands

This commit is contained in:
rmaddy 2003-12-29 06:28:11 +00:00
parent 9427955cb6
commit 0e65ddb64f

View File

@ -605,6 +605,10 @@ public class RegisterActions
new Shortcut('W'),
new Shortcut(KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, KeyEvent.CTRL_MASK))
});
parser.registerAction(KeyParser.MAPPING_NVO, "VimMotionParagraphPrevious", Command.MOTION, Command.FLAG_MOT_EXCLUSIVE,
new Shortcut('{'));
parser.registerAction(KeyParser.MAPPING_NVO, "VimMotionParagraphNext", Command.MOTION, Command.FLAG_MOT_EXCLUSIVE,
new Shortcut('}'));
// Misc Actions
parser.registerAction(KeyParser.MAPPING_NVO, "VimSearchEntry", Command.OTHER_READONLY, Command.FLAG_SEARCH_FWD | Command.FLAG_SAVE_JUMP,