lfs/chapter06/config-vim.sgml
Gerard Beekmans 6370fa6cff Initial commit - LFS 2.4.4 files
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@14 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2001-01-24 00:31:17 +00:00

25 lines
521 B
Plaintext

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