ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Max​Pane

by jisaacks ST2/ST3

Sublime Text plugin to quickly maximize a pane in a multi pane layout without resetting the layout.

Details

  • 2019.11.14.20.56.23
  • github.​com
  • github.​com
  • 5 days ago
  • 1 hour ago
  • 7 years ago

Installs

  • Total 4K
  • Win 1K
  • OS X 1K
  • Linux 970
Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5
Windows 1 0 2 1 1 2 0 1 0 0 1 0 0 0 2 0 1 1 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 1 3
OS X 0 1 1 0 0 2 0 0 0 0 0 0 1 1 0 0 0 0 0 3 1 1 1 0 1 1 0 1 0 1 1 1 0 1 1 1 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 1 0 0 2 1 0 1 0 0 0 1 1 2 0 0 0 0 2 1 1 0 0 0 0 1 0 0 2 0 0 0

Readme

Source
raw.​githubusercontent.​com

MaxPane

Easily maximize/unmaximize a pane without resetting your multi-pane setup.

Ever used a multi pane setup in Sublime Text and want to maximize a single pane for a bit, and be able to switch back to the multi pane layout again when done?

Then MaxPane is for you.

It also works great with BetterTabCycling, Origami and Distraction Free Window!

So lets say you have this multi pane setup:

normal

Maximize Panes

Press ctrl + k, ctrl + f (Linux/Windows) / super + k, super + f (MacOS) to maximize the active (upper right) pane:

max_pane

Press ctrl + k, ctrl + f (Linux/Windows) / super + k, super + f (MacOS) another time to return to the original state.

Maximize Editor

Press ctrl + k, ctrl + m (Linux/Windows) / super + k, super + m (MacOS) to hide everything but the active pane.

max_editor

Press ctrl + k, ctrl + m (Linux/Windows) / super + k, super + m (MacOS) another time to return to the original state.

Switch Panes

MacOS users can switch panes with the key bindings:

cmd + ctrl + ← - focus previous pane

cmd + ctrl + → - focus next pane

Sublime Text 2

Windows / Linux users need to setup their own key bindings.

The following examples show possible key bindings to imitate Sublime Text 3 behaviour.

User/Default (Linux).sublime-keymap:

{ "keys": ["ctrl+k", "ctrl+left"], "command": "unshift_pane" },
    { "keys": ["ctrl+k", "ctrl+right"], "command": "shift_pane" },

User/Default (OSX).sublime-keymap:

{ "keys": ["super+k", "super+left"], "command": "unshift_pane" },
    { "keys": ["super+k", "super+right"], "command": "shift_pane" },

User/Default (Windows).sublime-keymap:

{ "keys": ["ctrl+k", "ctrl+left"], "command": "unshift_pane" },
    { "keys": ["ctrl+k", "ctrl+right"], "command": "shift_pane" },

Sublime Text 3

You can switch panes with the built-in key bindings provided by Sublime Text 3 out of the box:

Linux/Windows

ctrl + k, ctrl + ← - focus previous pane

ctrl + k, ctrl + → - focus next pane

MacOS

super + k, super + ← - focus previous pane

super + k, super + → - focus next pane

If you want to modify them, you can look for the focus_neighboring_group in…

Default/Default (Linux).sublime-keymap:

{ "keys": ["ctrl+k", "ctrl+left"], "command": "focus_neighboring_group", "args": {"forward": false} },
    { "keys": ["ctrl+k", "ctrl+right"], "command": "focus_neighboring_group" },

Default/Default (OSX).sublime-keymap:

{ "keys": ["super+k", "super+left"], "command": "focus_neighboring_group", "args": {"forward": false} },
    { "keys": ["super+k", "super+right"], "command": "focus_neighboring_group" },

Default/Default (Windows).sublime-keymap:

{ "keys": ["ctrl+k", "ctrl+left"], "command": "focus_neighboring_group", "args": {"forward": false} },
    { "keys": ["ctrl+k", "ctrl+right"], "command": "focus_neighboring_group" },

Deprecation Notice

The built-in focus_neighboring_group command replaces both shift_pane and unshift_pane. Therefore they are provided for compatibility with existing key bindings only and might be disabled for use in Sublime Text 3 in a future release.

Installation

Install via Package Control