choose pane by label.
overview
keymap.cson
. (no default keymap except [
, ]
to activate next/previous tab).choose-pane:start
from that keymap.[NOTE]:
choose-pane:last-focused
in choosing mode. This last-focused pane denoted by underlined label.atom-workspace
choose-pane:start
: Start label choosing.choose-pane:focus-last-focused
: Focus last focused pane or panel without showing label.atom-text-editor#choose-pane-editor
choose-pane:last-focused
: Choose last-focused(underlined) label.You can customize label style in style.less
.
.choose-pane {color: white;&.active {color: green;}&.last-focused {text-decoration: line-through;}}
Based on suggestion by @andyngo.
.choose-pane {background-color: rgba(112, 182, 101, .1);&.active {background-color: rgba(0, 0, 0, 0.3);color: fade(@syntax-text-color, 50);}}
'atom-workspace:not([mini])':'ctrl-;': 'choose-pane:start''cmd-k ;': 'choose-pane:focus-last-focused'# Back to last focused.'atom-text-editor#choose-pane-editor':'ctrl-;': 'choose-pane:last-focused'
'atom-text-editor.vim-mode-plus:not(.insert-mode)':'-': 'choose-pane:start''m m': 'choose-pane:focus-last-focused''.markdown-preview':'-': 'choose-pane:start''m m': 'choose-pane:focus-last-focused'# For tree-view'.tree-view':'-': 'choose-pane:start''m m': 'choose-pane:focus-last-focused'# Map '-', so that I can focus last-focused element by typing `-` twice.'atom-text-editor#choose-pane-editor':'-': 'choose-pane:last-focused'
From setting view, change labelChars
.
Label is always matched case insensitively.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.