%general-entities; ]> $LastChangedBy$ $Date$ Vim-&vim-version; Vim Introduction to Vim 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: Vim Dependencies Recommended Optional OR OR , , , , and User Notes: Installation of Vim If you recompile Vim to link against X, and your X libraries 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 -xf ../vim-&vim-version;-lang.tar.gz --strip-components=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 In UTF-8 locales, the vimtutor program tries to convert the tutorials from ISO-8859-1 to UTF-8. Since some tutorials are not in ISO-8859-1, the text in them is thus made unreadable. If you unpacked the vim-&vim-version;-lang.tar.gz archive and are going to use a UTF-8 based locale, remove non-ISO-8859-1 tutorials. An English tutorial will be used instead. rm -f /usr/share/vim/vim64/tutor/tutor.{gr,pl,ru,sk} rm -f /usr/share/vim/vim64/tutor/tutor.??.* Command Explanations --with-features=huge: This switch enables all the additional features available in Vim. : This will prevent compilation of the GUI. Vim will still link against X so that some nice eye-candy such as updating the title bar of an Xterm window are available. : 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, and 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 shows the differences. gvimdiff rgview is a restricted version of gview. rgview rgvim is a restricted version of gvim. gvim