mirror of
https://github.com/atom/atom.git
synced 2026-02-17 10:01:25 -05:00
Add command to open user config in an editor
This commit is contained in:
@@ -46,6 +46,10 @@ class Workspace extends Model
|
||||
openUserKeymap: ->
|
||||
@open(atom.keymap.getUserKeymapPath())
|
||||
|
||||
# Private: Open ~/.atom/config.cson or ~/.atom/config.json
|
||||
openUserConfig: ->
|
||||
@open(atom.config.getUserConfigPath())
|
||||
|
||||
# Public: Asynchronously opens a given a filepath in Atom.
|
||||
#
|
||||
# * filePath: A file path
|
||||
|
||||
Reference in New Issue
Block a user