Kill old TreeView bindings. Ctrl-1 is king.

This commit is contained in:
Nathan Sobo
2012-07-20 18:59:44 -06:00
parent fe9a82b5b8
commit 830935cdb8
2 changed files with 0 additions and 6 deletions

View File

@@ -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'

View File

@@ -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) ->