mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Remove keymap.bindDefaultKeys
No longer needed since default keys are handled in AtomApplication
This commit is contained in:
committed by
Corey Johnson & Nathan Sobo
parent
afd1a7419d
commit
9a156c8629
@@ -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)
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user