mirror of
https://github.com/atom/atom.git
synced 2026-02-14 16:45:14 -05:00
Replace Editor's next/previous edit session bindings w/ pane bindings
This commit is contained in:
committed by
probablycorey
parent
bd8ec81b1e
commit
8f980a0f20
@@ -160,7 +160,6 @@ class Editor extends View
|
||||
'core:select-down': @selectDown
|
||||
'core:select-to-top': @selectToTop
|
||||
'core:select-to-bottom': @selectToBottom
|
||||
'core:close': @destroyActiveEditSession
|
||||
'editor:save': @save
|
||||
'editor:save-as': @saveAs
|
||||
'editor:newline-below': @insertNewlineBelow
|
||||
@@ -172,7 +171,6 @@ class Editor extends View
|
||||
'editor:fold-current-row': @foldCurrentRow
|
||||
'editor:unfold-current-row': @unfoldCurrentRow
|
||||
'editor:fold-selection': @foldSelection
|
||||
'editor:show-next-buffer': @loadNextEditSession
|
||||
'editor:show-buffer-1': => @setActiveEditSessionIndex(0) if @editSessions[0]
|
||||
'editor:show-buffer-2': => @setActiveEditSessionIndex(1) if @editSessions[1]
|
||||
'editor:show-buffer-3': => @setActiveEditSessionIndex(2) if @editSessions[2]
|
||||
@@ -182,7 +180,6 @@ class Editor extends View
|
||||
'editor:show-buffer-7': => @setActiveEditSessionIndex(6) if @editSessions[6]
|
||||
'editor:show-buffer-8': => @setActiveEditSessionIndex(7) if @editSessions[7]
|
||||
'editor:show-buffer-9': => @setActiveEditSessionIndex(8) if @editSessions[8]
|
||||
'editor:show-previous-buffer': @loadPreviousEditSession
|
||||
'editor:toggle-line-comments': @toggleLineCommentsInSelection
|
||||
'editor:log-cursor-scope': @logCursorScope
|
||||
'editor:checkout-head-revision': @checkoutHead
|
||||
|
||||
@@ -31,6 +31,10 @@
|
||||
'ctrl-meta-f': 'window:toggle-full-screen'
|
||||
|
||||
'.pane':
|
||||
'meta-{': 'pane:show-previous-item'
|
||||
'meta-}': 'pane:show-next-item'
|
||||
'alt-meta-left': 'pane:show-previous-item'
|
||||
'alt-meta-right': 'pane:show-next-item'
|
||||
'ctrl-|': 'pane:split-right'
|
||||
'ctrl-w v': 'pane:split-right'
|
||||
'ctrl--': 'pane:split-down'
|
||||
|
||||
@@ -18,10 +18,6 @@
|
||||
'shift-tab': 'editor:outdent-selected-rows'
|
||||
'meta-[': 'editor:outdent-selected-rows'
|
||||
'meta-]': 'editor:indent-selected-rows'
|
||||
'meta-{': 'editor:show-previous-buffer'
|
||||
'meta-}': 'editor:show-next-buffer'
|
||||
'alt-meta-left': 'editor:show-previous-buffer'
|
||||
'alt-meta-right': 'editor:show-next-buffer'
|
||||
'meta-1': 'editor:show-buffer-1'
|
||||
'meta-2': 'editor:show-buffer-2'
|
||||
'meta-3': 'editor:show-buffer-3'
|
||||
|
||||
Reference in New Issue
Block a user