diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/vim.xml | 7 |
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 |