mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Keep .platform-<platform> rather than .workspace-<platform>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
'.workspace-darwin':
|
||||
'.platform-darwin':
|
||||
# Apple specific
|
||||
'meta-q': 'application:quit'
|
||||
'meta-h': 'application:hide'
|
||||
@@ -87,7 +87,7 @@
|
||||
'meta-8': 'pane:show-item-8'
|
||||
'meta-9': 'pane:show-item-9'
|
||||
|
||||
'.workspace-darwin .editor':
|
||||
'.platform-darwin .editor':
|
||||
# Apple Specific
|
||||
'meta-backspace': 'editor:backspace-to-beginning-of-line'
|
||||
'meta-delete': 'editor:backspace-to-beginning-of-line'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
'.workspace-win32':
|
||||
'.platform-win32':
|
||||
# Atom Specific
|
||||
'enter': 'core:confirm'
|
||||
'escape': 'core:cancel'
|
||||
@@ -50,6 +50,6 @@
|
||||
'ctrl-k meta-left': 'window:focus-previous-pane'
|
||||
'ctrl-k meta-right': 'window:focus-next-pane'
|
||||
|
||||
'.workspace-win32 .editor':
|
||||
'.platform-win32 .editor':
|
||||
# Windows specific
|
||||
'ctrl-delete': 'editor:backspace-to-beginning-of-word'
|
||||
|
||||
@@ -65,7 +65,7 @@ class Atom
|
||||
|
||||
# Private:
|
||||
setBodyPlatformClass: ->
|
||||
document.body.classList.add("workspace-#{process.platform}")
|
||||
document.body.classList.add("platform-#{process.platform}")
|
||||
|
||||
getCurrentWindow: ->
|
||||
remote.getCurrentWindow()
|
||||
|
||||
Reference in New Issue
Block a user