Esempio n. 1
0
        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));
        }
Esempio n. 2
0
 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);
 }