Example #1
0
 /// <summary>
 /// Returns the list of commands that were previously removed by the user and are no longer currently active.
 /// </summary>
 internal List <CommandKeyBinding> FindRemovedKeyBindings(CommandsSnapshot commandsSnapshot)
 {
     return(_legacySettings
            .FindKeyBindingsMarkedAsRemoved(commandsSnapshot)
            .Where(x => !commandsSnapshot.IsKeyBindingActive(x.KeyBinding))
            .ToList());
 }
Example #2
0
 /// <summary>
 /// Returns the list of commands that were previously removed by the user and are no longer currently active.
 /// </summary>
 internal List <CommandKeyBinding> FindRemovedKeyBindings(CommandsSnapshot commandsSnapshot)
 {
     return(_vimApplicationSettings
            .RemovedBindings
            .Where(x => !commandsSnapshot.IsKeyBindingActive(x.KeyBinding))
            .ToList());
 }
Example #3
0
 /// <summary>
 /// Returns the list of commands that were previously removed by the user and are no longer currently active.
 /// </summary>
 internal List<CommandKeyBinding> FindRemovedKeyBindings(CommandsSnapshot commandsSnapshot)
 {
     return _legacySettings.FindKeyBindingsMarkedAsRemoved().Where(x => !commandsSnapshot.IsKeyBindingActive(x.KeyBinding)).ToList();
 }
Example #4
0
 /// <summary>
 /// Returns the list of commands that were previously removed by the user and are no longer currently active.
 /// </summary>
 internal List<CommandKeyBinding> FindRemovedKeyBindings(CommandsSnapshot commandsSnapshot)
 {
     return _vimApplicationSettings
         .RemovedBindings
         .Where(x => !commandsSnapshot.IsKeyBindingActive(x.KeyBinding))
         .ToList();
 }