lfs/chapter06/config-vim.xml
Gerard Beekmans a2cd10ffba applied Alex's commas.patch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1960 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2002-06-03 11:27:19 +00:00

19 lines
517 B
XML

<sect2><title>Configuring Vim</title>
<para>By default vim runs in vi compatible mode. Some people might like this,
but we have a high preference to run vim in vim mode (else we wouldn't
have included vim in this book, but the original vi). Create the
<filename>/root/.vimrc</filename> by running the following:</para>
<para><screen><userinput>cat &gt; /root/.vimrc &lt;&lt; "EOF"</userinput>
" Begin /root/.vimrc
set nocompatible
set bs=2
" End /root/.vimrc
<userinput>EOF</userinput></screen></para>
</sect2>