Installing the new VIM release from source is very easy. I have this running on Ubuntu 17.10 and it is great, the editor allows the user to open a terminal within the editor.
Make a new folder to download the files into.
Go into the directory, and then run this command to download the sources.
rsync --no-motd -lprvtzh --progress rsync.osuosl.org::slackware/slackware64-current/source/ap/vim . |
This is what I got once it was all downloaded.
jason@Yog-Sothoth:~/Documents/vim/vim$ ls -hula total 8.6M drwxr-xr-x+ 2 jason jason 4.0K May 22 09:30 . drwxr-xrwx+ 3 jason jason 4.0K May 22 09:16 .. -rw-r--r-- 1 jason jason 293K May 22 09:14 ctags-5.8.tar.xz -rw-r--r-- 1 jason jason 118 May 22 09:14 doinst.sh.gz -rw-r--r-- 1 jason jason 4.1K May 22 09:14 gvim.desktop -rw-r--r-- 1 jason jason 8.1K May 22 09:14 gvim.png -rw-r--r-- 1 jason jason 834 May 22 09:14 slack-desc.vim -rw-r--r-- 1 jason jason 959 May 22 09:14 slack-desc.vim-gvim -rw-r--r-- 1 jason jason 8.3M May 22 09:16 vim-8.1.0001.tar.lz -rwxr-xr-x 1 jason jason 6.4K May 22 09:15 vim-gvim.SlackBuild -rwxr-xr-x 1 jason jason 7.0K May 22 09:15 vim.SlackBuild -rw-r--r-- 1 jason jason 272 May 22 09:15 vim.vimrc.diff.gz |
Then unpack the sources and prepare to compile and install.
cd vim-8.1.0001/ |
Run ./configure to setup the source code.
./configure |
Then, if there are no errors, run make
and then sudo make install
to build and then install the VIM editor.
Once the editor is running, in command mode, use the command :term bash to open a bash terminal within VIM. Use the :q command to exit the bash shell and leave the editor running.
The /usr/local/share/vim/vim81/doc/terminal.txt file will have a complete explanation of how to use the new terminal feature. Assuming you installed the VIM editor under /usr/local like I did.