Thanks Neal. I followed your suggestion and have done the following, which works perfectly:

# Zoom current window
bind z eval "layout save default" "layout save zoomed" "only"

# Restore the layout
bind r eval "layout select default"

I found that I need to start a new layout before issuing "only".

Regards,
Manas

On Mon, Oct 2, 2017 at 9:20 PM, Neal Fultz <nfu...@gmail.com> wrote:
On Mon, Oct 2, 2017 at 3:39 AM, Manas Thakur <manasthaku...@gmail.com> wrote:
3. Coming from tmux, miss the feature where I could zoom onto a tmux-pane and unzoom back after some moments. Is there I way I could expand a splitted region to occupy the whole width/height temporarily and un-expand it back so that the existing splits/regions stay back?

You should be able to accomplish this using `layout save` to save the view, `only` to delete all other regions, and `layout select` to restore. Maybe some keybindings to make it easier to use would also help.

_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to