Contents
What to do if you cant install Vim?
For broken package state issues I turn to aptitude (sudo apt-get install aptitude) because it has handy shortcuts for queing arbitrary changes to package states: for instance “+” to unhold, “=” to hold, “-” to remove, “_” to purge, and “g” to apply queued changes. “/” to search for packages. But these commands may work.
Where is syntax.vim located in Ubuntu?
The problem is the make command. From the question, syntax.vim is actually located in /usr/local/share/vim/vim74 so you should instead be using the following. In general, the VIMRUNTIMEDIR variable used by make should be consistent with the prefix variable used by the configure script.
Is there a way to make Vim compile?
Vim was installed using checkinstall. To compile it, I ran the commands: Can you just make a symlink to where vim thinks it should be? i.e. (If this target directory doesn’t exist, then link the higher-level directory instead.) The problem is the make command.
Why is syntax on not working in gVim?
…fact is the command syntax on is not working, neither in vim or gvim. And the strange thing is: If I try to set the syntax using the gvim toolbat, it works. Then, in normal mode in gvim, after activating using the toolbar, using the code :syntax off, it works, and just after doing this trying to do :syntax on doesn’t work!!
How to build VIM from the source code?
It is easy to build Vim from the source code. In general, it takes four steps: Get dependencies. On Unix-like systems, apt-get build-dep vim-gnome or similar can do this for you. On Windows, there are no dependencies, unless you want to build Vim to use an external DLL for Lua, Perl, Python, Ruby, or Scheme (and you can install these later).
How to build and install Ruby on Vim?
For ruby support, you need for package ruby-dev: Commands to build and install GUI Vim: Commands to get started and build the first time. $ sudo apt-get install mercurial libssl-dev $ sudo apt-get build-dep vim $ hg clone http://hg.debian.org/hg/pkg-vim/vim $ cd vim $ hg checkout unstable $ debian/rules update-orig $ dpkg-buildpackage -i -I $ cd ..
Which is the best way to get Vim dependencies?
Get dependencies. On Unix-like systems, apt-get build-dep vim-gnome or similar can do this for you. On Windows, there are no dependencies, unless you want to build Vim to use an external DLL for Lua, Perl, Python, Ruby, or Scheme (and you can install these later). Note: apt-get is for Debian, Ubuntu and similar distributions.