Load user keymaps after packages

This allows user keymaps to override the default
bindings provided by packages.

Refs #261
This commit is contained in:
Kevin Sawicki
2013-02-12 20:35:28 -08:00
parent 8395b47c4e
commit 449e4f5ac7
2 changed files with 1 additions and 1 deletions

View File

@@ -34,6 +34,7 @@ class Config
@requireUserInitScript()
atom.loadThemes()
atom.loadPackages()
keymap.loadUserKeymaps()
loadUserConfig: ->
if fs.exists(@configFilePath)

View File

@@ -63,7 +63,6 @@ windowAdditions =
@keymap = new Keymap()
@keymap.bindDefaultKeys()
@keymap.loadBundledKeymaps()
@keymap.loadUserKeymaps()
@_handleKeyEvent = (e) => @keymap.handleKeyEvent(e)
$(document).on 'keydown', @_handleKeyEvent