focus-pane-or-panel

change focus or pane or panel seamlessly

t9md

667

4

0.4.0

MIT

GitHub

NO LONGER MAINTAINED: this not is added at 2019.03.13.

focus-pane-or-panel

Change focus of pane or panel seamlessly.

keymaps example

No keymap by default.

very basic

'body':
  'cmd-k cmd-up': 'focus-pane-or-panel:focus-above'
  'cmd-k cmd-down': 'focus-pane-or-panel:focus-below'
  'cmd-k cmd-left': 'focus-pane-or-panel:focus-on-left'
  'cmd-k cmd-right': 'focus-pane-or-panel:focus-on-right'

mine(I'm vim-mode-plus user).

want to change focus by ctrl-hjkl

'atom-text-editor.vim-mode-plus.normal-mode':
  'ctrl-j': 'focus-pane-or-panel:focus-below'
  'ctrl-k': 'focus-pane-or-panel:focus-above'
  'ctrl-h': 'focus-pane-or-panel:focus-on-left'
  'ctrl-l': 'focus-pane-or-panel:focus-on-right'

'.tree-view':
  'ctrl-h': 'focus-pane-or-panel:focus-on-left'
  'ctrl-l': 'focus-pane-or-panel:focus-on-right'

# for cmd-f panel
'.platform-darwin .find-and-replace atom-text-editor':
  'ctrl-j': 'focus-pane-or-panel:focus-below'
  'ctrl-k': 'focus-pane-or-panel:focus-above'

# for cmd-shift-f panel
'.platform-darwin .project-find atom-text-editor':
  'ctrl-j': 'focus-pane-or-panel:focus-below'
  'ctrl-k': 'focus-pane-or-panel:focus-above'