From 1142da1848c64d4e17c498ea761b123652dc6ea6 Mon Sep 17 00:00:00 2001 From: probablycorey Date: Tue, 21 Jan 2014 16:48:56 -0800 Subject: [PATCH] Use body instead of workspace so keymaps work inside spec window --- keymaps/darwin.cson | 4 ++-- keymaps/win32.cson | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/keymaps/darwin.cson b/keymaps/darwin.cson index 64e287b06..a112bfbf7 100644 --- a/keymaps/darwin.cson +++ b/keymaps/darwin.cson @@ -1,4 +1,4 @@ -'.workspace': +'body': # Apple specific 'cmd-q': 'application:quit' 'cmd-h': 'application:hide' @@ -148,7 +148,7 @@ 'cmd-k cmd-9': 'editor:fold-at-indent-level-9' # allow standard input fields to work correctly -'.workspace .native-key-bindings': +'body .native-key-bindings': 'cmd-z': 'native!' 'cmd-Z': 'native!' 'cmd-x': 'native!' diff --git a/keymaps/win32.cson b/keymaps/win32.cson index f80fd310d..3b6a230a5 100644 --- a/keymaps/win32.cson +++ b/keymaps/win32.cson @@ -1,4 +1,4 @@ -'.workspace': +'body': # Atom Specific 'enter': 'core:confirm' 'escape': 'core:cancel' @@ -94,7 +94,7 @@ 'ctrl-k ctrl-9': 'editor:fold-at-indent-level-9' # allow standard input fields to work correctly -'.workspace .native-key-bindings': +'body .native-key-bindings': 'ctrl-z': 'native!' 'ctrl-Z': 'native!' 'ctrl-x': 'native!'