Skip to content

Instantly share code, notes, and snippets.

@JakeGinnivan
Created November 12, 2012 13:20
Show Gist options
  • Select an option

  • Save JakeGinnivan/4059355 to your computer and use it in GitHub Desktop.

Select an option

Save JakeGinnivan/4059355 to your computer and use it in GitHub Desktop.
<Window.InputBindings>
<KeyBinding Modifiers="Ctrl" Key="S" Command="{Binding SaveDocumentCommand}" />
<KeyBinding Modifiers="Ctrl+Shift" Key="S" Command="{Binding SaveAllDocumentsCommand}" />
<KeyBinding Modifiers="Ctrl" Key="N" Command="{Binding NewDocumentCommand}" />
<KeyBinding Modifiers="Ctrl+Shift" Key="P" Command="{Binding PublishDocumentCommand}" />
<KeyBinding Modifiers="Ctrl" Key="O" Command="{Binding OpenDocumentCommand}" />
<KeyBinding Modifiers="Ctrl+Shift" Key="O" Command="{Binding OpenFromWebCommand}" />
<KeyBinding Modifiers="Ctrl" Key="W" Command="{Binding CloseDocumentCommand}" />
<KeyBinding Key="Escape" Command="commands:ShellCommands.Esc" />
<KeyBinding Key="F" Command="commands:ShellCommands.Search" Modifiers="Control" />
</Window.InputBindings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment