De mi .vimrc, obteniendo:
line 16:
E319: Sorry, the command is not available in this version: filetype on
line 17:
E319: Sorry, the command is not available in this version: filetype plugin on
line 18:
E319: Sorry, the command is not available in this version: filetype indent on
line 21:
E319: Sorry, the command is not available in this version: syntax on
line 45:
E319: Sorry, the command is not available in this version: match ExtraWhitespace /\s\+$/
line 46:
E319: Sorry, the command is not available in this version: autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
line 47:
E319: Sorry, the command is not available in this version: autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
line 48:
E319: Sorry, the command is not available in this version: autocmd InsertLeave * match ExtraWhitespace /\s\+$/
line 49:
E319: Sorry, the command is not available in this version: autocmd BufWinLeave * call clearmatches()
Puedo eliminar las líneas, pero preferiría saber lo que realmente me falta o si necesito una actualización que esté causando esto, ya que este archivo me funcionó antes.

vim-tinypaquete skinny se instala por defecto, lo que no incluye elvim-runtimepaquete. Arreglé mis E319 instalando elvimpaquete más hinchado , que tienevim-runtimecomo dependencia.vimno estaba instalado, pero sívi. Después de instalarvimtodo funcionó.:versionno dice nada sobre la GUI y la instalación de -gui-commmon o -runtime no soluciona el problema, estaba encendido~/.vimrc.Respuestas:
Probar desde dentro
vim...y si consigues ...
Te falta el paquete
vim-gui-common. Probablemente también sea recomendable instalarlovim-runtime. Comandos para instalar:Otra causa podría ser que las alternativas apuntan a la incorrecta:
para mostrar lo que se usa y ...
para cambiar a otro vim. Podría ser que
/usr/bin/vim.gnomese usa y necesita/usr/bin/vimeditar: Michael Durrant lo arregló con el # 1 en caso de que alguien se pregunte.
fuente
sudo apt-get install vim-gui-commonluego 2) losudo apt-get install vim-runtimearreglaron para mí, es decir, no másE319: Sorry, the command is not available in this version:errores . De hecho, 1) era la solución, realmente al emitir comandos 2) Tengo mensajes diciendo cosas ya estaban al día: ...vim-runtime is already the newest version. vim-runtime set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 59 not upgraded.sudo apt-get install vim-nox(y luego: la versión informaráHuge version without GUI.)Probablemente no tenga instalada la versión completa de VIM. Para verificar, intente ejecutar
vimo:Por ejemplo, Ubuntu 16.04 LTS solo vino con
/usr/bin/vim.tinyInstale el VIM completo:
Ahora debería
/usr/bin/vim.basic, y los.vimrccomandos deberían tener éxito.fuente
Si esto comenzó después de haber actualizado a 16.04, podría ser b / c del cambio a Python 3 como el intérprete predeterminado como señaló @ luka5z.
Para resolverlo, actualicé al último archivo clang-format.py desde https://llvm.org/svn/llvm-project/cfe/trunk/tools/clang-format/clang-format.py
y editó líneas .vimrc de:
a:
fuente
Para mí tuve que instalar vim.nox-py2:
y use alternativas de actualización para activarlo:
seleccione el número correspondiente a vim.nox-py2.
fuente
pycomando, reemplácelo por el equivalente de Python 3py3.