mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-02-28 02:45:59 +01:00
Allow comment line action in insert/repeat mode
This commit is contained in:
parent
f3185f2d80
commit
1b2157fc57
@ -737,7 +737,8 @@ public class RegisterActions {
|
||||
});
|
||||
|
||||
// ********************** Various Mode Actions ************************
|
||||
parser.registerAction(KeyParser.MAPPING_NORMAL | KeyParser.MAPPING_VISUAL, "VimCommentByLineComment", Command.CHANGE,
|
||||
parser.registerAction(KeyParser.MAPPING_NORMAL | KeyParser.MAPPING_INSERT | KeyParser.MAPPING_VISUAL,
|
||||
"VimCommentByLineComment", Command.CHANGE,
|
||||
Command.FLAG_MOT_LINEWISE | Command.FLAG_KEEP_VISUAL);
|
||||
parser.registerAction(KeyParser.MAPPING_NORMAL | KeyParser.MAPPING_VISUAL, "VimCommentByBlockComment", Command.CHANGE,
|
||||
Command.FLAG_MOT_LINEWISE);
|
||||
|
Loading…
Reference in New Issue
Block a user