%general-entities; ]> Vim-&vim-version; Vim <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem><seg>0.4 SBU</seg><seg>34 MB</seg></seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Vim Change the default locations of the configuration files: echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h Vim has a security vulnerability already addressed upstream. The following patch fixes the problem: patch -Np1 -i ../vim-&vim-version;-security_fix-1.patch Now prepare Vim for compilation: ./configure --prefix=/usr --enable-multibyte Compile the package: make To test the results, issue: make test Now install the package: make install Create a symlink: ln -s vim /usr/bin/vi Configuring Vim Create a default vim configuration file by running the following: cat > /etc/vimrc << "EOF" " Begin /etc/vimrc set nocompatible set backspace=2 syntax on if (&term == "iterm") || (&term == "putty") set background=dark endif " End /etc/vimrc EOF Documentation for other available options can be obtained by running the following command: vim -c ':options' Contents of Vim See testing