diff options
author | Alex Gronenwoud <alex@linuxfromscratch.org> | 2004-02-01 21:49:10 +0000 |
---|---|---|
committer | Alex Gronenwoud <alex@linuxfromscratch.org> | 2004-02-01 21:49:10 +0000 |
commit | 90e3cb3f0e14cadecc0edf2b6de96ee432bc60de (patch) | |
tree | abdbfa8e4dbf97a986c0469999b15df80cceadfe /chapter06/config-vim.xml | |
parent | c288d971d11a78cde87a5f4c0583ab9a43fbfeba (diff) |
Replacing several <userinput> tags by <command>.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3203 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/config-vim.xml')
-rw-r--r-- | chapter06/config-vim.xml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chapter06/config-vim.xml b/chapter06/config-vim.xml index ab9aea8bf..7fa0650ac 100644 --- a/chapter06/config-vim.xml +++ b/chapter06/config-vim.xml @@ -2,10 +2,10 @@ <sect2><title>Configuring Vim</title> -<para>By default, <userinput>vim</userinput> runs in vi-compatible mode. Some -people might like this, but we prefer to run <userinput>vim</userinput> in its +<para>By default, <command>vim</command> runs in vi-compatible mode. Some +people might like this, but we prefer to run <command>vim</command> in its own mode (else we wouldn't have included it in this book, but the original -<userinput>vi</userinput>). Create a default vim configuration file by running +<command>vi</command>). Create a default vim configuration file by running the following:</para> <screen><userinput>cat > /etc/vimrc << "EOF"</userinput> @@ -18,11 +18,11 @@ syntax on " End /etc/vimrc <userinput>EOF</userinput></screen> -<para>The <userinput>set nocompatible</userinput> will make -<userinput>vim</userinput> behave in a more useful way than the default -vi-compatible manner. The <userinput>set backspace=2</userinput> allows +<para>The <emphasis>set nocompatible</emphasis> will make +<command>vim</command> behave in a more useful way than the default +vi-compatible manner. The <emphasis>set backspace=2</emphasis> allows backspacing over line breaks, autoindent and the start of insert. And the -<userinput>syntax on</userinput> switches on <userinput>vim</userinput>'s +<emphasis>syntax on</emphasis> switches on <command>vim</command>'s semantic colouring.</para> </sect2> |