mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Move select-to-top/bottom and select-all into "core:"
This commit is contained in:
@@ -103,9 +103,9 @@ class Editor extends View
|
||||
'core:select-down': @selectDown
|
||||
'core:select-left': @selectLeft
|
||||
'core:select-right': @selectRight
|
||||
'select-to-top': @selectToTop
|
||||
'select-to-bottom': @selectToBottom
|
||||
'select-all': @selectAll
|
||||
'core:select-to-top': @selectToTop
|
||||
'core:select-to-bottom': @selectToBottom
|
||||
'core:select-all': @selectAll
|
||||
'backspace': @backspace
|
||||
'delete': @delete
|
||||
'undo': @undo
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
window.keymap.bindKeys 'body'
|
||||
'meta-up': 'core:move-to-top'
|
||||
'meta-down': 'core:move-to-bottom'
|
||||
'meta-shift-up': 'core:select-to-top'
|
||||
'meta-shift-down': 'core:select-to-bottom'
|
||||
|
||||
window.keymap.bindKeys '.editor'
|
||||
'meta-right': 'move-to-end-of-line'
|
||||
'meta-left': 'move-to-beginning-of-line'
|
||||
'alt-left': 'move-to-beginning-of-word'
|
||||
'alt-right': 'move-to-end-of-word'
|
||||
'meta-shift-up': 'select-to-top'
|
||||
'meta-shift-down': 'select-to-bottom'
|
||||
'meta-shift-left': 'select-to-beginning-of-line'
|
||||
'meta-shift-right': 'select-to-end-of-line'
|
||||
'alt-shift-left': 'select-to-beginning-of-word'
|
||||
|
||||
@@ -9,6 +9,7 @@ window.keymap.bindKeys 'body'
|
||||
'shift-down': 'core:select-down'
|
||||
'shift-left': 'core:select-left'
|
||||
'shift-right': 'core:select-right'
|
||||
'meta-a': 'core:select-all'
|
||||
pageup: 'core:page-up'
|
||||
pagedown: 'core:page-down'
|
||||
'meta-S': 'save-all'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
window.keymap.bindKeys '.editor',
|
||||
'meta-s': 'save'
|
||||
'meta-a': 'select-all'
|
||||
'enter': 'newline'
|
||||
'meta-enter': 'newline-below'
|
||||
'tab': 'indent'
|
||||
|
||||
Reference in New Issue
Block a user