KeyChords.cs
 1  // Copyright (c) Microsoft Corporation
 2  // The Microsoft Corporation licenses this file to you under the MIT license.
 3  // See the LICENSE file in the project root for more information.
 4  
 5  using Microsoft.CmdPal.Core.Common.Helpers;
 6  using Microsoft.CommandPalette.Extensions;
 7  using Microsoft.CommandPalette.Extensions.Toolkit;
 8  using Windows.System;
 9  
10  namespace Microsoft.CmdPal.Ext.Indexer;
11  
12  internal static class KeyChords
13  {
14      internal static KeyChord OpenFileLocation { get; } = WellKnownKeyChords.OpenFileLocation;
15  
16      internal static KeyChord CopyFilePath { get; } = WellKnownKeyChords.CopyFilePath;
17  
18      internal static KeyChord OpenInConsole { get; } = WellKnownKeyChords.OpenInConsole;
19  
20      internal static KeyChord Peek { get; } = KeyChordHelpers.FromModifiers(ctrl: true, vkey: (int)VirtualKey.Space);
21  }