private static CommandKeyBinding CreateCommandKeyBinding(KeyInput input, KeyModifiers modifiers = KeyModifiers.None, string name = "again", string scope = "Global") { var stroke = new KeyStroke(input, modifiers); var key = new VsVim.KeyBinding(scope, stroke); return(new CommandKeyBinding(name, key)); }
private static CommandKeyBinding CreateCommandKeyBinding(KeyInput input, KeyModifiers modifiers = KeyModifiers.None, string name = "again", string scope = "Global") { var stroke = new KeyStroke(input, modifiers); var key = new VsVim.KeyBinding(scope, stroke); return new CommandKeyBinding(name, key); }