mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
"ctrl-w w" focuses the next pane. Move select-word binding to ctrl-W to avoid collision
This commit is contained in:
@@ -5,7 +5,6 @@ window.keymap.bindKeys '.editor',
|
||||
'shift-up': 'select-up'
|
||||
'shift-down': 'select-down'
|
||||
'meta-a': 'select-all'
|
||||
'ctrl-w': 'select-word'
|
||||
'enter': 'newline'
|
||||
'meta-enter': 'newline-below'
|
||||
'tab': 'tab'
|
||||
@@ -33,3 +32,5 @@ window.keymap.bindKeys '.editor',
|
||||
'meta-+': 'increase-font-size'
|
||||
'meta--': 'decrease-font-size'
|
||||
'meta-/': 'toggle-line-comments'
|
||||
'ctrl-w w': 'focus-next-pane'
|
||||
'ctrl-W': 'select-word'
|
||||
|
||||
@@ -59,6 +59,7 @@ class RootView extends View
|
||||
|
||||
@on 'increase-font-size', => @setFontSize(@getFontSize() + 1)
|
||||
@on 'decrease-font-size', => @setFontSize(@getFontSize() - 1)
|
||||
@on 'focus-next-pane', => @focusNextPane()
|
||||
|
||||
afterAttach: (onDom) ->
|
||||
@focus() if onDom
|
||||
|
||||
Reference in New Issue
Block a user