aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorDan Nichilson <dnicholson@linuxfromscratch.org>2006-07-12 00:32:00 +0000
committerDan Nichilson <dnicholson@linuxfromscratch.org>2006-07-12 00:32:00 +0000
commitcd2f7f0340a0ecf15ed8ba99c1e71dcd25cfec0a (patch)
tree27a74ae339d161464aace1c4b923a1f428db95dc /chapter06
parentc800f787e9cda8db7a9f97fe38f5deddda5e1774 (diff)
Provide vi to vim man page symlinks for all languages. Closes #1811.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7656 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/vim.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/chapter06/vim.xml b/chapter06/vim.xml
index 245f421d5..4d67ad037 100644
--- a/chapter06/vim.xml
+++ b/chapter06/vim.xml
@@ -113,10 +113,13 @@ rm -f /usr/share/vim/vim70/tutor/tutor.??.*</userinput></screen>
<para>Many users are used to using <command>vi</command> instead of
<command>vim</command>. To allow execution of <command>vim</command>
when users habitually enter <command>vi</command>, create a
- symlink for both the binary and the man-page:</para>
+ symlink for both the binary and the man page in the provided
+ languages:</para>
<screen><userinput>ln -sv vim /usr/bin/vi
-ln -sv vim.1 /usr/share/man/man1/vi.1</userinput></screen>
+for L in "" fr it pl ru; do
+ ln -sv vim.1 /usr/share/man/$L/man1/vi.1
+done</userinput></screen>
<para>By default, Vim's documentation is installed in <filename
class="directory">/usr/share/vim</filename>. The following symlink