I think this is a pretty old question, but now in 2017. We have neovim, which is a vim branch that adds terminal support.
So calling :term will open a terminal window. The beauty of this solution compared to using tmux (terminal multiplexer) is that you will have the same window bindings as in your vim setup. neovim is vim compatible, so you can copy and paste your .vimrc and it will work.
The big advantage is that you can switch to normal mode on an open terminal, and you can perform basic copy and edit operations. I think this is also very useful for git commits, since everything in your buffer you can use in autocomplete.
I will update this answer since vim is also planning to release terminal support, probably in vim 8.1. You can follow the progress here: https://groups.google.com/forum/#!topic/vim_dev/Q9gUWGCeTXM
Once it comes out, I believe this is a better installation than using tmux.
chriz Sep 13 '17 at 12:22 2017-09-13 12:22
source share