Ticket #3617: vim.patch
File vim.patch, 2.0 KB (added by , 10 years ago) |
---|
-
trunk/BOOK/chapter06/vim.xml
83 83 84 84 <para>Install the package:</para> 85 85 86 <screen><userinput remap="install">make install</userinput></screen>86 <screen><userinput remap="install">make HELPSUBLOC=/usr/share/doc/vim-&vim-version; install</userinput></screen> 87 87 88 <variablelist> 89 <title>The meaning of the make option:</title> 90 91 <varlistentry> 92 <term><parameter>HELPSUBLOC=/usr/share/doc/vim-&vim-version;</parameter></term> 93 <listitem> 94 <para>Tells Vim to install its documentation into 95 <filename class="directory">/usr/share/doc/vim-&vim-version;</filename> 96 instead of 97 <filename class="directory">/usr/share/&vim-docdir;/doc</filename>, 98 for better consistency with the documentation location for other 99 packages.</para> 100 </listitem> 101 </varlistentry> 102 103 </variablelist> 104 88 105 <para>Many users are used to using <command>vi</command> instead of 89 106 <command>vim</command>. To allow execution of <command>vim</command> 90 107 when users habitually enter <command>vi</command>, create a … … 96 113 ln -sv vim.1 $(dirname $L)/vi.1 97 114 done</userinput></screen> 98 115 99 <para>By default, Vim's documentation is installed in <filename100 class="directory">/usr/share/vim</filename>. The following symlink101 allows the documentation to be accessed via <filename102 class="directory">/usr/share/doc/vim-&vim-version;</filename>, making103 it consistent with the location of documentation for other packages:</para>104 105 <screen><userinput remap="install">ln -sv ../&vim-docdir;/doc /usr/share/doc/vim-&vim-version;</userinput></screen>106 107 116 <para>If an X Window System is going to be installed on the LFS 108 117 system, it may be necessary to recompile Vim after installing X. Vim 109 118 comes with a GUI version of the editor that requires X and some