Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/t9md/atom-focus-pane-or-panel

change focus or pane or panel seamlessly
https://github.com/t9md/atom-focus-pane-or-panel

atom

Last synced: 8 days ago
JSON representation

change focus or pane or panel seamlessly

Awesome Lists containing this project

README

        

# 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

```coffeescript
'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

```coffeescript
'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'
```