You have three different options:
Wait for the newest versions to be added to the distribution packages. Note that you might want to learn a new language or build a ship with your bare hands while you wait.
If waiting several years is not good for you then you have the following two options:
Use a PPA containing the latest version:
Easy to do.
The package description contains
This package contains a version of vim compiled with a rather
standard set of features. This package does not provide a GUI
version of Vim. See the other vim-* packages if you need more (or
I believe this was made, because using the clipboard would involve linking against X libraries, which means, you ...
So, installing vim-enhanced and vim-X11 is enough, but is not at the same time. To enable the system funtcions like +clipboard, you moreover need to use the vimx executable rather than vim or vi (even though they are probably identical, the name changes the behaviour).
One way how to do that permanently is by adding aliases in your .bashrc file:
You need to compile Vim yourself or get a prebuilt Vim package that was compiled with Python support.
If you're on a Debian based system, the easiest way is to download the vim-gnome or vim-gtk package from apt (apt install vim-gtk for instance). Other distros might have a similar package with python support built in.
If you'd prefer to compile Vim ...
I think tuxproject.de is the way to go and I think, it will pick up Python dll, if they are in your path and are also 64bit. The easy way is to copy them to your .vim directory, to make sure vim will find them when trying to load them.
There is another alternative (and I really hope this will become official). We are trying to build binary Vims as part of ...
If you look at the options used to build the various packages (in debian/rules), you'll see
NOINTERPFLAGS+=--enable-pythoninterp --with-python-config-dir=$(shell python-config --...
The pi-rho/dev PPA now supports Vim 8, and like it always has, includes support for Python/Python3:
$ vim --version | grep python
+cryptv +linebreak +python/dyn +vreplace
+cscope +lispindent +python3/dyn +wildignore
$ apt-cache policy vim
It looks like I'm a bit late, but I'll leave this here for future visitors also struggling with this.
$ sudo apt install vim-nox
This is the Vim package in Debian Stretch that adds support for scripting languages.
You should try to do it this way, as it is easier to update/remove.
Edit: Consider switching to Neovim
Vim-gnome does install gvim, but it also installs a much more feature-filled version of command line vim, including Perl, Python, Ruby, and TCL scripting, system-clipboard, newer patches, etc.
So not only can you continue to use command line vim, you will get a better version of command line vim along with the GUI.
As for SSH editing, I don't believe ...
For configuration command you've specified gnome2 as your main GUI (--enable-gui=gnome2), are you sure it's the right one? Or maybe gnome2 is not enough to enable GUI, so try to add extra --enable-gui, --with-x parameters.
You can also configure so your GUI would be detected automatically by --enable-gui=auto.
Also make sure that you have all your ...
I was just looking this information up and I only found one x64 version not mentioned by Christian. Here's a summary of the interfaces each version supports today to give you an idea of how well they stay up to date:
Vim 7.4.1832 and x64
Interfaces: ActivePerl 5.22, ActiveTcl 8.6, LuaBinaries 5.3, Python 2.7, Python 3.4, Racket 6.4, ...
From your question it appears that you have installed vim-tiny 8.0 that is a very minimal Vim runtime without plugins. You can confirm this using this:
dpkg -l | grep vim
You can have several Vim runtimes, but the version running when you do vim will be the version that you can see indicated here:
update-alternatives --list vim
You can check other ...
can I still use it in the text mode I am familiar with?
Yes, you can still use the terminal version of vim.
How does the gui mode interact with a terminal-based user?
If you SSH into a machine and run vim there, you won't be able to use the GUI unless you have some setup for remote desktop.
Does that mean you start it with the command gvim instead ...
Thanks to x33a on the Arch forums, I was able to solve my problem. (https://bbs.archlinux.org/viewtopic.php?pid=1596987#p1596987)
I changed the python 3 flag from
This resulted in only python 3 being available.
Solution 1 :
Install VIM Editor(Install any one of them of vim variant) :
vim-gtk3 :- This package contains a version of vim compiled with a GTK3 GUI and support for scripting with Lua, Perl, Python, Ruby, and Tcl. In order to install this package :
sudo apt install vim-gtk3
vim-gtk :- This package contains a version of vim compiled with a GTK2 ...
For Windows you can always grab the very latest patched version of Vim 8.x compiled against the latest external libraries here: Vim downloads
At the time of posting the most current versions:
Latest compiled update: 2017-02-23
Vim version: 8.0.0363 Official patch log
Libraries used: Perl 5.24.1, Python 2.7.12, Python 3.6.0, Racket 6.7, Ruby 2.4.0, Lua 5....
I usually use this procedure for installation (used also under Debian 9)
# Clean from standard vim
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-common vim-gui-common
# Vim dependency
sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev libperl-dev libncurses5-dev ruby-dev
# if you want gVim add also this
sudo apt-get ...
Indeed the version you get with apt-get install vim doesn't have all the features of a version compiled with --with-features=huge. For example you don't always have options like +python or +lua.
A good alternative is to use apt-get install vim-nox which is much more complete.
I don't think you can enable the profile feature via ./configure; you either have to define FEAT_PROFILE or simply build a huge version of Vim, which then includes that feature. From src/feature.h:
* +profile Profiling for functions and scripts.
#if defined(FEAT_HUGE) \
&& defined(FEAT_EVAL) \
You should install vim from source. That way, you have control over what is included. See the following for more info and a step by step walkthrough. It is relatively easy.
Another option is to install Homebrew on Linux as an alternate package manager and use it to install the latest vim with:
brew install vim
Can install software to your home directory and so does not require sudo
The repositories are generally newest version
Install software not packaged by your host distribution
Install up-to-date ...
I too struck this issue after updating from Jessie to Stretch.
As noted in another answer, installing vim-nox should resolve this issue (as vim-nox in Stretch is compiled against python2). However, I figured that python3 is the way of the future. So I decided to fix it another way.
If you need Python2 support, installing vim-nox is probably the best ...
$ sudo apt-get install vim-gtk (or vim-gnome if you are on Ubuntu) will get you the most complete Vim with the least effort.
Official packages usually lag a bit so, if you really want the latest version, you will have to apply the latest patches and build it yourself.
Be aware, though, that new patches come up every couple of days, so keeping up with ...
The problem was not in Vim's default Python interpreter.
The real root of the problem is that the last version of jedi-vim (0.7.0) was released in 2013 and did not work well with Python 3.
Since then Python 3 support in jedi-vim has been improved a lot.
We (Arch users) asked jedi-vim to make a new release. 0.8.0 has been released and now it is in the Arch ...
It seems that chocolatey could be the solution to your problem. It is a package manager for Windows. (With the ambition of being "sort of apt-get for Windows")
If you are ready to use it to install your softwares such as Vim it then provides a choco upgrade <pkg> command to update your package.
Fortunately, Vim is a package included in the list and ...
vim doesn't need gnome or gtk to get +clipboard, but it does need x11. From my tests, the minimum amount of dependencies needed are the xorg header files and x11 dbus support. In Debian
apt-get install x11-dev dbus-x11
will do the job. Then you can
and vioala, +clipboard