diff --git a/en_US.ISO8859-1/books/fdp-primer/editor-config/chapter.xml b/en_US.ISO8859-1/books/fdp-primer/editor-config/chapter.xml index d3453b379b..353e3c9827 100644 --- a/en_US.ISO8859-1/books/fdp-primer/editor-config/chapter.xml +++ b/en_US.ISO8859-1/books/fdp-primer/editor-config/chapter.xml @@ -41,13 +41,23 @@ <application>Vim</application> Install from editors/vim - or editors/vim-lite. + or editors/vim-lite, then follow the + configuration instructions in + . + + + Use + + Press P to reformat paragraphs or text that has been selected in Visual mode. Press + T to replace groups of eight spaces with a + tab. + Configuration Edit ~/.vimrc, adding these - lines: + lines to the end of the file: if has("autocmd") au BufNewFile,BufRead *.sgml,*.ent,*.xsl,*.xml call Set_SGML() @@ -88,14 +98,6 @@ function Set_SGML() return 0 endfunction " Set_SGML() - - - Use - - Press P to reformat paragraphs or text that has been selected in Visual mode. Press - T to replace groups of eight spaces with a - tab. -