vim-geeknote
vim-geeknote copied to clipboard
Does not work when python2 is not available
With the introduction of vim8, the debian packagers have decided to remove "python2" support from vim, completely switching to python3. This plugin does not work anymore. It throws the following error:
Error detected while processing vim_geeknote.vim:
line 1:
E319: Sorry, the command is not available in this version: python import sys
line 2:
E319: Sorry, the command is not available in this version: python import vim
line 3:
E319: Sorry, the command is not available in this version: python sys.path.append(vim.eval('expand("
I had the same error with vim 7.4 on Ubuntu 16.04. Python 2.7 was installed. RESOLVED by uninstalling vim-gnome and installing vim-gnome-py2. sudo aptitude remove vim-gnome && sudo aptitude install vim-gnome-py2
Such a package does not exist on debian, so compiling vim myself was the only option. However, in the meanwhile I have discovered that the evernote sdk is not available for python 3 yet, hence geeknote itself is not available, so probably this will have to wait a bit longer.
The Debian package vim.nox-py2 also provides python2 support.