Changed sulogin's respawn in inittab to 'once'
[linux_from_scratch.git] / BOOK / chapter06 / config-vim.xml
blobe750963d6bd71b9c3897fe14d9db3cf337032999
1 <sect2><title>Configuring Vim</title>
3 <para>By default vim runs in vi compatible mode. Some people might like this,
4 but we have a high preference to run vim in vim mode (else we wouldn't
5 have included vim in this book, but the original vi). Create the
6 <filename>/root/.vimrc</filename> by running the following:</para>
8 <para><screen><userinput>cat &gt; /root/.vimrc &lt;&lt; "EOF"</userinput>
9 " Begin /root/.vimrc
11 set nocompatible
12 set bs=2
14 " End /root/.vimrc
15 <userinput>EOF</userinput></screen></para>
17 </sect2>