I use the tmux terminal multiplexer and I have this simple layout:
I have a Vim pane for code editing and a terminal for building and searching the code and other stuff.
As you may know when I'm in Vim pane I can press Ctrl+BZ to zoom the Vim pane and press it again to zoom back to the original layout.
Now I want to know whether it's possible to bind Esc in Vim's Normal mode to send Ctrl+BZ to zoom the Vim pane?
Something like other IDEs that pressing Esc will hide everything except the code editor?

Escwill toggle zoom state of the panes. - s4eed