Change keymap scheme for tool panels.

meta-p        toggle event palette (use this to figure out what we changed)
meta-\        toggle treeview
meta-shift-\  focus current file in treeview
meta-;        command panel
meta-:		  command panel (focus results list)
meta-m		  markdown preview
meta-j		  jump to symbol (outline view)

escape        always closes a tool panel
meta-escape   restore focus to active editor
This commit is contained in:
Corey Johnson & Nathan Sobo 2012-11-29 15:18:07 -08:00
parent 395acaf069
commit 290fbfadf8
6 changed files with 11 additions and 11 deletions

View File

@ -30,4 +30,5 @@ window.keymap.bindKeys 'body'
'alt-meta-i': 'toggle-dev-tools'
window.keymap.bindKeys '.tool-panel'
'escape': 'tool-panel:unfocus'
'meta-escape': 'tool-panel:unfocus'
'escape': 'core:close'

View File

@ -1,7 +1,6 @@
window.keymap.bindKeys '*'
'ctrl-0': 'command-panel:toggle'
'ctrl-2': 'command-panel:toggle-preview'
'meta-:': 'command-panel:toggle'
'meta-:': 'command-panel:toggle-preview'
'meta-;': 'command-panel:toggle'
'meta-F': 'command-panel:find-in-project'
window.keymap.bindKeys '.command-panel .preview-list, .command-panel .editor input',

View File

@ -1,5 +1,5 @@
window.keymap.bindKeys 'body, .event-palette .editor'
'ctrl-enter': 'event-palette:toggle'
'meta-p': 'event-palette:toggle'
window.keymap.bindKeys '.event-palette .editor'
'ctrl-enter': 'event-palette:toggle'
'meta-p': 'event-palette:toggle'

View File

@ -1,5 +1,5 @@
window.keymap.bindKeys '.editor',
'meta-P': 'markdown-preview:toggle'
'meta-m': 'markdown-preview:toggle'
window.keymap.bindKeys '.markdown-preview',
'meta-P': 'markdown-preview:toggle'
'meta-m': 'markdown-preview:toggle'

View File

@ -1,2 +1,2 @@
window.keymap.bindKeys '.editor'
'ctrl-o': 'outline-view:toggle'
'meta-j': 'outline-view:toggle'

View File

@ -1,6 +1,6 @@
window.keymap.bindKeys '#root-view'
'ctrl-1': 'tree-view:toggle'
'ctrl-meta-1': 'tree-view:reveal-active-file'
'meta-\\': 'tree-view:toggle'
'meta-|': 'tree-view:reveal-active-file'
window.keymap.bindKeys '.tree-view'
'right': 'tree-view:expand-directory'