mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Kill old TreeView bindings. Ctrl-1 is king.
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
window.keymap.bindKeys '#root-view'
|
||||
'ctrl-1': 'tree-view:toggle'
|
||||
'ctrl-T': 'tree-view:toggle'
|
||||
'alt-tab': 'tree-view:focus'
|
||||
|
||||
window.keymap.bindKeys '.tree-view'
|
||||
'escape': 'tree-view:unfocus'
|
||||
@@ -13,7 +11,6 @@ window.keymap.bindKeys '.tree-view'
|
||||
'a': 'tree-view:add'
|
||||
'delete': 'tree-view:remove'
|
||||
'backspace': 'tree-view:remove'
|
||||
'alt-tab': 'tree-view:unfocus'
|
||||
|
||||
window.keymap.bindKeys '.tree-view-dialog .mini.editor'
|
||||
'enter': 'tree-view:confirm'
|
||||
|
||||
@@ -54,9 +54,6 @@ class TreeView extends View
|
||||
@rootView.on 'active-editor-path-change', => @selectActiveFile()
|
||||
@rootView.project.on 'path-change', => @updateRoot()
|
||||
|
||||
@on 'tree-view:unfocus', => @rootView.getActiveEditor()?.focus()
|
||||
@rootView.on 'tree-view:focus', => this.focus()
|
||||
|
||||
@selectEntry(@root) if @root
|
||||
|
||||
afterAttach: (onDom) ->
|
||||
|
||||
Reference in New Issue
Block a user