Remove keymap.bindDefaultKeys

No longer needed since default keys are handled in AtomApplication
This commit is contained in:
probablycorey
2013-08-16 14:26:43 -07:00
committed by Corey Johnson & Nathan Sobo
parent afd1a7419d
commit 9a156c8629
2 changed files with 0 additions and 8 deletions

View File

@@ -29,12 +29,6 @@ class Keymap
@bindingSets = []
@bindingSetsByFirstKeystroke = {}
bindDefaultKeys: ->
$(document).command 'new-window', => atom.newWindow()
$(document).command 'open', => atom.open()
$(document).command 'open-dev', => atom.openDev()
$(document).command 'toggle-dev-tools', => atom.toggleDevTools()
loadBundledKeymaps: ->
@loadDirectory(config.bundledKeymapsDirPath)

View File

@@ -34,8 +34,6 @@ window.setUpEnvironment = (windowMode) ->
window.syntax = deserialize(atom.getWindowState('syntax')) ? new Syntax
window.pasteboard = new Pasteboard
window.keymap = new Keymap()
keymap.bindDefaultKeys()
requireStylesheet 'atom'