Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to maximize a view in sublime 2 layouts?

I usually work with 4 views (grid) in a layout.

Sometimes, I want them to be maximized so the text is visible.

Using the mouse, is a no-go because I have my hands stuck to the keyboard.

so I want with a keyboard shortcut to maximize the space of the view.

this is how the layout looks like now

from

and here is how I want it to be after using the shortcut.

to

Any ideas? (keep in mind that I want to use the same shortcut, so pressing ctrl+alt+1 to maximize the 1st etc, is not an option)

Thanks!

like image 373
papas-source Avatar asked Dec 15 '22 00:12

papas-source


1 Answers

The MaxPane package enables a single keyboard shortcut (by default Ctrl+Shift+Enter) to maximize the active view and also restore it, if it is maximized.

It will however completely hide the inactive views when the active view is maximized, unlike as shown in your second screenshot.

There are two modes:

  • maximize focus group Ctrl + k,Ctrl + f where you can see the tabs, files sidebar and application menu as if you have only one focus group
  • maximize actual editor: Ctrl + k,Ctrl + m where you can see only actual open editor (somehow similar to shift + f11 distraction free mode)

The both shortcuts work as on/off switch.

MaxPane is also sublimetext3 compatible.

like image 121
lujomu Avatar answered Dec 21 '22 23:12

lujomu