mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Reset key bindings in AtomEnvironment::reset
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
"electronVersion": "0.30.7",
|
||||
"dependencies": {
|
||||
"async": "0.2.6",
|
||||
"atom-keymap": "^6.0.0",
|
||||
"atom-keymap": "^6.1.0",
|
||||
"babel-core": "^5.8.21",
|
||||
"bootstrap": "^3.3.4",
|
||||
"clear-cut": "^2.0.1",
|
||||
|
||||
@@ -96,7 +96,6 @@ beforeEach ->
|
||||
assert: atom.assert.bind(atom)
|
||||
})
|
||||
atom.themes.workspace = atom.workspace
|
||||
atom.keymaps.keyBindings = _.clone(keyBindingsToRestore)
|
||||
atom.commands.restoreSnapshot(commandsToRestore)
|
||||
atom.styles.restoreSnapshot(styleElementsToRestore)
|
||||
atom.views.clearDocumentRequests()
|
||||
|
||||
@@ -227,6 +227,9 @@ class AtomEnvironment extends Model
|
||||
@config.reset()
|
||||
@setConfigSchema()
|
||||
|
||||
@keymaps.clear()
|
||||
@keymaps.loadBundledKeymaps()
|
||||
|
||||
###
|
||||
Section: Event Subscription
|
||||
###
|
||||
|
||||
Reference in New Issue
Block a user