Sounds like you need to be introduced to tmux, but I am probably not the best person to do that, because I am only now beginning to reap the fruits of my labour with it. You can start with [Meir][1] and [Avi’s][2] writings, and then move on to [the book][3].

[1]: http://meirkriheli.com/talks/tmux-vim/index.html
[2]: http://avi.io/blog/2014/08/28/my-development-workflow-vim-tmux-terminal-awesomeness/
[3]: https://pragprog.com/book/bhtmux/tmux