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

Max​Pane

by jisaacks ALL

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
  • 8 months ago
  • 1 hour ago
  • 7 years ago

Installs

  • Total 4K
  • Win 2K
  • Mac 1K
  • Linux 1K
Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27
Windows 0 1 0 1 1 1 0 1 0 0 0 0 0 0 0 0 0 1 1 1 2 4 1 0 1 0 0 0 0 0 0 0 0 1 0 0 3 2 0 0 0 0 0 0 1
Mac 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 2 0 0 0 2 1 0 0 0
Linux 0 0 0 1 1 2 0 1 2 0 0 0 0 0 0 0 0 1 0 1 1 1 1 0 2 0 0 0 1 1 0 0 2 0 0 0 0 0 0 0 0 0 1 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