mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Load all keymaps found in ~/.atom/keymaps
This commit is contained in:
@@ -60,7 +60,8 @@ windowAdditions =
|
||||
|
||||
@keymap = new Keymap()
|
||||
@keymap.bindDefaultKeys()
|
||||
@keymap.loadDirectory(require.resolve('keymaps'))
|
||||
@keymap.loadBundledKeymaps()
|
||||
@keymap.loadUserKeymaps()
|
||||
|
||||
@_handleKeyEvent = (e) => @keymap.handleKeyEvent(e)
|
||||
$(document).on 'keydown', @_handleKeyEvent
|
||||
|
||||
Reference in New Issue
Block a user