Index: final-system/common/vim.xml
===================================================================
--- final-system/common/vim.xml (revision 0f0607651f14fd43ade902253ede6ae0a2d3fb24)
+++ final-system/common/vim.xml (revision 09ff212130dbcaa4e439ffa03cd91fa2832fb9d1)
@@ -36,15 +36,22 @@
First, unpack both vim-&vim-version;.tar.bz2
and (optionally) vim-&vim-version;-lang.tar.gz
- archives into the same directory. Then, change the default location of
+ archives into the same directory.
+
+ The following patch contains updates from the maintainer. The
+ maintainer of Vim only releases these patches to fix serious issues.
+
+patch -Np1 -i ../&vim-fixes-patch;
+
+ Change the default location of
the vimrc configuration file to /etc:
-echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h
-
- Prepare Vim for compilation:
-
-./configure --prefix=/usr --enable-multibyte
-
-
+echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h
+
+ Prepare Vim for compilation:
+
+./configure --prefix=/usr --enable-multibyte
+
+
The meaning of the configure options:
@@ -63,16 +70,16 @@
- Compile the package:
-
-make
-
- To test the results, issue: make test.
+ Compile the package:
+
+make
+
+ To test the results, issue: make test.
However, this test suite outputs a lot of binary data to the
screen, which can cause issues with the settings of the current terminal.
This can be resolved by redirecting the output to a log file.
- Install the package:
-
-make install
+ Install the package:
+
+make install
Many users are used to using vi instead of
@@ -83,5 +90,5 @@
ln -sv vim /usr/bin/vi
-By default, Vim's documentation is installed in
+By default, Vim's documentation is installed in
/usr/share/vim. The following symlink
allows the documentation to be accessed via
@@ -89,7 +96,7 @@
it consistent with the location of documentation for other packages:
-ln -sv ../vim/vim&vim-version2;/doc /usr/share/doc/vim-&vim-version;
-
- If an X Window System is going to be installed on the LFS
+ln -sv ../vim/vim&vim-version2;/doc /usr/share/doc/vim-&vim-version;
+
+ If an X Window System is going to be installed on the LFS
system, it may be necessary to recompile Vim after installing X. Vim
comes with a GUI version of the editor that requires X and some