Multi instance, tab handling
This commit is contained in:
@@ -47,19 +47,15 @@ public class MainConfiguration
|
||||
private static List<CommandBindingConfiguration> InitDefaultKeyBindings() =>
|
||||
new List<CommandBindingConfiguration>
|
||||
{
|
||||
//new CommandBindingConfiguration(ConfigCommand.AutoRefresh, new KeyConfig(Keys.R, shift: true)),
|
||||
//new CommandBindingConfiguration(ConfigCommand.ChangeTimelineMode, new[] { Keys.T, Keys.M }),
|
||||
new(CloseTabCommand.CommandName, Keys.Q),
|
||||
//new CommandBindingConfiguration(ConfigCommand.Compress, new[] { Keys.Y, Keys.C }),
|
||||
new(CopyBase64Command.CommandName, new[] {Keys.C, Keys.B}),
|
||||
new(CopyCommand.CommandName, new[] {Keys.Y, Keys.Y}),
|
||||
//new CommandBindingConfiguration(ConfigCommand.CopyHash, new[] { Keys.C, Keys.H }),
|
||||
new(CopyNativePathCommand.CommandName, new[] {Keys.C, Keys.P}),
|
||||
new(CopyFilesToClipboardCommand.CommandName, new[] {Keys.Y, Keys.C}),
|
||||
new(CreateContainer.CommandName, Keys.F7),
|
||||
new(CreateContainer.CommandName, new[] {Keys.C, Keys.C}),
|
||||
new(CreateElementCommand.CommandName, new[] {Keys.C, Keys.E}),
|
||||
//new CommandBindingConfiguration(ConfigCommand.Cut, new[] { Keys.D, Keys.D }),
|
||||
new(EditCommand.CommandName, new[] {Keys.F4}),
|
||||
new(EnterRapidTravelCommand.CommandName, new KeyConfig(Keys.Comma, shift: true)),
|
||||
new(EnterRapidTravelCommand.CommandName, new KeyConfig(Keys.Question, shift: true)),
|
||||
@@ -80,6 +76,7 @@ public class MainConfiguration
|
||||
new(MoveCursorDownCommand.CommandName, Keys.Down),
|
||||
new(MoveCursorUpPageCommand.CommandName, Keys.PageUp),
|
||||
new(MoveCursorDownPageCommand.CommandName, Keys.PageDown),
|
||||
new(IdentifiableNewTabCommand.CommandName, new[] {new KeyConfig(Keys.T, ctrl: true)}),
|
||||
//new CommandBindingConfiguration(ConfigCommand.NextTimelineBlock, Keys.L ),
|
||||
//new CommandBindingConfiguration(ConfigCommand.NextTimelineCommand, Keys.J ),
|
||||
new(OpenSelectedCommand.CommandName, Keys.Right),
|
||||
@@ -91,7 +88,6 @@ public class MainConfiguration
|
||||
new(PasteCommand.PasteSkipCommandName, new[] {Keys.P, Keys.S}),
|
||||
new(PasteFilesFromClipboardCommand.PasteMergeCommandName, new[] {new KeyConfig(Keys.V, ctrl: true)}),
|
||||
new(PasteFilesFromClipboardCommand.PasteOverwriteCommandName, new[] {new KeyConfig(Keys.V, ctrl: true, shift: true)}),
|
||||
//new CommandBindingConfiguration(ConfigCommand.PinFavorite, new[] { Keys.F, Keys.P }),
|
||||
//new CommandBindingConfiguration(ConfigCommand.PreviousTimelineBlock, Keys.H ),
|
||||
//new CommandBindingConfiguration(ConfigCommand.PreviousTimelineCommand, Keys.K ),
|
||||
new(RefreshCommand.CommandName, Keys.R),
|
||||
@@ -99,10 +95,10 @@ public class MainConfiguration
|
||||
new(RenameCommand.CommandName, new[] {Keys.C, Keys.W}),
|
||||
new(IdentifiableRunOrOpenCommand.CommandName, Keys.Enter),
|
||||
//new CommandBindingConfiguration(ConfigCommand.RunCommand, new KeyConfig(Keys.D4, shift: true)),
|
||||
//new CommandBindingConfiguration(ConfigCommand.ScanContainerSize, new[] { Keys.C, Keys.S }),
|
||||
//new CommandBindingConfiguration(ConfigCommand.ShowAllShortcut, Keys.F1),
|
||||
new(DeleteCommand.SoftDeleteCommandName, new[] {new KeyConfig(Keys.D), new KeyConfig(Keys.D, shift: true)}),
|
||||
new(IdentifiableSearchCommand.SearchByNameContainsCommandName, new[] {Keys.S, Keys.N}),
|
||||
new(SelectNextTabCommand.CommandName, new[] {new KeyConfig(Keys.Tab, ctrl: true)}),
|
||||
new(SelectPreviousTabCommand.CommandName, new[] {new KeyConfig(Keys.Tab, ctrl: true, shift: true)}),
|
||||
new(SwitchToTabCommand.SwitchToLastTabCommandName, new[] {new KeyConfig(Keys.Num9, alt: true)}),
|
||||
new(SwitchToTabCommand.SwitchToTab1CommandName, new[] {new KeyConfig(Keys.Num1, alt: true)}),
|
||||
new(SwitchToTabCommand.SwitchToTab2CommandName, new[] {new KeyConfig(Keys.Num2, alt: true)}),
|
||||
|
||||
Reference in New Issue
Block a user