%general-entities; ]> $LastChangedBy$ $Date$ Vim-&vim-version; Vim Introduction to <application>Vim</application> The Vim package, which is an abbreviation for VI IMproved, contains a vi clone with extra features as compared to the original vi. The default LFS instructions install vim as a part of the base system. If you would prefer to link vim against X, you should recompile vim to enable GUI mode. There is no need for special instructions since X support is automatically detected. Package information Download (HTTP): Download (FTP): Download MD5 sum: &vim-md5sum; Download size: &vim-size; Estimated disk space required: &vim-buildsize; Estimated build time: &vim-time; Additional downloads Translated Vim messages: <application>Vim</application> dependencies Recommended X ( or ) Optional , , , , and Installation of <application>Vim</application> If you recompile vim to link against X, and your X libs are not on the root partition, you will no longer have an editor for use in emergencies. You may choose to install an additional editor, not link vim against X, or move the current vim executable to the /bin directory under a different name such as vi. If desired unpack the translated messages archive: tar -zxf ../vim-&vim-version;-lang.tar.gz --strip-path=1 Install Vim by running the following commands: echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h && echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h && ./configure --prefix=/usr \ --with-features=huge && make Now, as the root user: make install Command explanations --with-features=huge: This switch enables all the additional features available in Vim. : If you prefer not to link Vim against X, use this switch. Contents A list of the reinstalled files, along with their short descriptions can be found at . Installed Programs Installed Libraries Installed Directory gview, gvim, gvimdiff, rgview, rgvim None /usr/share/vim Short Descriptions gview starts gvim in read-only mode. gview gvim is the editor that runs under X and includes a GUI gvim gvimdiff edits two or three versions of a file with gvim and show differences. gvimdiff rgview is a restricted version of gview. rgview rgvim is a restricted version of gvim. gvim