Add command to open user keymap in an editor

This commit is contained in:
Kevin Sawicki
2014-01-17 14:19:31 -08:00
parent 3114efbf9c
commit 52e999fc11
2 changed files with 5 additions and 0 deletions

View File

@@ -42,6 +42,10 @@ class Workspace extends Model
openUserStylesheet: ->
@open(atom.themes.getUserStylesheetPath())
# Private: Open ~/.atom/keymap.cson or ~/.atom/keymap.json
openUserKeymap: ->
@open(atom.keymap.getUserKeymapPath())
# Public: Asynchronously opens a given a filepath in Atom.
#
# * filePath: A file path