Ask:
From my .vimrc, getting:
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()
I can remove the lines, but I would rather know what I am really missing or need upgrading that is causing this as this file worked for me before.
Answer:
Try from within vim
...
:version
and if your get ...
Small version without GUI.
You are missing package vim-gui-common
. It is probably also advisable to install vim-runtime
. Commands to install:
sudo apt-get install vim-gui-common
sudo apt-get install vim-runtime
Another cause might be that alternatives is pointing to the wrong one:
update-alternatives –display vim
to show what is used and ...
update-alternatives –config vim
to change to another vim. It could be that /usr/bin/vim.gnome
is used and you need /usr/bin/vim
edit: Michael Durrant fixed it with #1 in case anyone wonders.
来源:http://askubuntu.com/questions/284957/vi-getting-multiple-sorry-the-command-is-not-available-in-this-version-af
分享到:
相关推荐
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. 网上的方法都是在CentOS下进行的,而我用的是Deepin系统,也就是基于Ubuntu/Debian的发行版...
qt编译连接MYSQL出现QMYSQL driver not loaded 基本成为普遍现象,网络上大多数解决方案是重新编译驱动,亲身证实是可行方案之一。这里给出更简单的办法,适用于ubuntu,直接安装该deb包,就可以了。ubuntu16.04和...
现在ubuntu上,默认是不支持chkconfig命令的,但支持自己安装,需要自己去下载对应的安装包。 方法:在存放该文件的目录下执行:dpkg -i chkconfig_11.0-79.1-1ubuntu1_all.deb
bash: vi: command not found, 场景: 因为 docker里面没有这个命令,我们安装一下 apt-get update apt-get install vim 如果 这个时候 安装也还是会出现 异常 root@446d7cf1606c:/etc/mysql# apt-get update ...
冰箱制冷除霜 单片机即单片微型计算机(Single-Chip Microcomputer ),是集CPU,RAM,ROM,定时,计数和多种接口于一体的微控制器。其中51单片机是各种单片机中最为典型和最有代表性的一种,广泛应用于各个领域。
出错的程序源代码: 看到这个源代码,大家应该疑惑了吧,这是对的啊!!... File “D:/PycharmProjects/python_project/matplotlib/04绘制一元二次方程曲线.py”, line 11, in plt.savefig(
This driver is a modified version of the existing driver in the Linux 3.13.0 kernel, which is maintained at kernel.org. It is recommened to use the driver there that matches your specific kernel ...
ubuntu ubuntu_version `GLIBC_2.25` not found
Ubuntu18系统下,在安装cuda及nvidia驱动时,安装失败,查看日志显示“ERROR: The nvidia kernel module was not created.” 指令如下: sudo ./cuda_10.1.168_418.67_linux.run 解决办法: nvidia内核模块没有被...
Ubuntu系统重启出现The system is running in low-graphics mode错误提示的时候,无法正常进入系统图像化界面,造成这一现象的原因是系统中显卡的驱动故障导致的。本文主要解决该故障系统解决办法。
t fnubhupen/ubuntu:lucid lucid/docker build -t fnubhupen/ubuntu:precise precise/docker build -t fnubhupen/ubuntu:quantal quantal/docker build -t fnubhupen/ubuntu:raring raring/docker build -t ...
Command not found E:无法获得锁,rosdep init初始化失败问题(网上种办法均解决不了,不是网络问题,我来教你安装)↵ 安装Melodic 新手第一次装melodic的时候根据安装步骤安装总是遇到报错问题,你的运行结果和...
ubuntu引导修复——使用LiveCD更新UbuntuGrub引导 。
Chapter 1 - Introduction to Ubuntu Linux Chapter 2 - Installing Ubuntu Linux Chapter 3 - Interface Basics Part II - Configuration Chapter 4 - System Configuration Chapter 5 - Network Configuration ...
Next, the command-line is tackled in-depth, after which software management is explained. Finally, system security is described. Appendixes provide a glossary, and a guide to technical documentation....
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the ...
New in this edition is deep coverage of the groundbreaking, user-experience-focused Unity desktop, an innovative new style of human—computer interaction that has undergone extensive development and ...
Qt5.4下连接Mysql,QSqlDatabase: QMYSQL driver not loaded but available-附件资源
With this book as their guide, readers will be able to configure and deploy Ubuntu Servers using Ubuntu Server 16.04, with all the skills necessary to manage real servers. The book begins with the ...
tracked the development of Ubuntu from early on to make sure that the information in this book mirrors closely the development of the distribution. A full copy of Ubuntu is included on the enclosed ...