mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-01 03:03:09 +03:00
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:
parent
395acaf069
commit
290fbfadf8
@ -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'
|
||||
|
@ -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',
|
||||
|
@ -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'
|
||||
|
@ -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'
|
||||
|
@ -1,2 +1,2 @@
|
||||
window.keymap.bindKeys '.editor'
|
||||
'ctrl-o': 'outline-view:toggle'
|
||||
'meta-j': 'outline-view:toggle'
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user