Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Formatting tweaks.

  • Loading branch information...
commit 4b308c3949ae3cf6d91cfbef85d9de70480e0d79 1 parent 44ee405
runpaint authored
9 text/01_pre/00-head.html
View
@@ -3,13 +3,14 @@
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
+ <title>Vim Recipes - A cookbook for the Vim text editor</title>
<link rel="stylesheet" type="text/css" href="../templates/layout.css"/>
<link rel="stylesheet" type="text/css" href="../templates/syntax.css"/>
<link rel="stylesheet" type="text/css" href="../templates/user.css"/>
- <!--
- <meta name="author" content="<%= authors.join(', ') %>" />
- <meta name="subject" content="<%= subject %>" />
- <meta name="keywords" content="<%= keywords %>" /> -->
+ <meta name="author" content="Run Paint Run Run" />
+ <meta name="subject" content="Vim text editor" />
+ <meta name="keywords" content="vim cookbook recipes technical software
+ editor text book" />
</head>
<body>
<div class="frontcover"></div>
4 text/04_basics/04_saving_a_file.html
View
@@ -35,9 +35,9 @@ <h3 id="saving-a-file">Saving a File</h3>
saved when you quit Vim, use <tt>:set autowriteall</tt>.</p>
<blockquote class="tip">
- The <code>:autowrite</code> functionality is not related to some word
+ <p>The <code>:autowrite</code> functionality is not related to some word
processor's concept of auto-saving a file periodically in case of a crash.
- Vim does this automatically.
+ Vim does this automatically.</p>
</blockquote>
<p>You can also "write" a specific portion of a file to a new filename. By
5 text/04_basics/07_visually_selecting_text.html
View
@@ -3,8 +3,9 @@ <h3 id="visually-selecting-text">Visually Selecting Text</h3>
<h4>Problem</h4>
<p>You want to interactively select some text by drawing a box around it, thus
-enabling you to perform a command that affects it. IOW, you want to select a
-text like you would in a GUI word processor using either the keyboard or, in
+enabling you to perform a command that affects it. In other words, you want to
+select a text like you would in a <abbr title="Graphical User
+ Interface">GUI</abbr> word processor using either the keyboard or, in
<i>Gvim</i>, the mouse.</p>
<h4>Solution</h4>
14 text/08_gui/02_maximising_screen_space.html
View
@@ -13,15 +13,15 @@ <h3 id="#maximising-screen-space">Maximising Screen Space</h3>
follow:</p>
<ul>
- <li><i>m</i> - Display a menu bar.</li>
- <li><i>T</i> - Display a toolbar.</li>
- <li><i>r</i> - Always display the right-hand scrollbar.</li>
- <li><i>R</i> - Display the right-hand scrollbar if the window is
+ <li><tt>m</tt> - Display a menu bar.</li>
+ <li><tt>T</tt> - Display a toolbar.</li>
+ <li><tt>r</tt> - Always display the right-hand scrollbar.</li>
+ <li><tt>R</tt> - Display the right-hand scrollbar if the window is
split vertically.</li>
- <li><i>l</i> - Always display left-hand scrollbar.</li>
- <li><i>L</i> - Display the left-hand scrollbar if the window is
+ <li><tt>l</tt> - Always display left-hand scrollbar.</li>
+ <li><tt>L</tt> - Display the left-hand scrollbar if the window is
split vertically.</li>
- <li><i>b</i> - Display the horizontal scrollbar.</li>
+ <li><tt>b</tt> - Display the horizontal scrollbar.</li>
</ul>
<p>So, to hide the menu bar, toolbar, and scrollbars you could use <tt>:set
3  text/09_searching/02_searching_over_multiple_files.html
View
@@ -55,8 +55,7 @@ <h3 id="searching-over-multiple-files">Searching Over Multiple Files</h3>
<blockquote class="tip">
<p>If you use <tt>:grep</tt> instead of <tt>:vimgrep</tt> an external
<tt>grep</tt>-like utility is used to perform the search. The program used
- is the value of <tt>&amp;grepprg</tt>.</p>
- <p>A good choice is Andy Lester's <a
+ is the value of <tt>&amp;grepprg</tt>. A good choice is Andy Lester's <a
href="http://betterthangrep.com/"><i>ack</i></a> which can be used with
<tt>set grepprg=ack</tt> and <tt>set grepformat=%f:%l:%m</tt>.</p>
</blockquote>
Please sign in to comment.
Something went wrong with that request. Please try again.