summaryrefslogtreecommitdiffstats
path: root/slackbook/html/vi-opening-files.html
diff options
context:
space:
mode:
Diffstat (limited to 'slackbook/html/vi-opening-files.html')
-rw-r--r--slackbook/html/vi-opening-files.html109
1 files changed, 0 insertions, 109 deletions
diff --git a/slackbook/html/vi-opening-files.html b/slackbook/html/vi-opening-files.html
deleted file mode 100644
index db79dd08a..000000000
--- a/slackbook/html/vi-opening-files.html
+++ /dev/null
@@ -1,109 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta name="generator" content="HTML Tidy, see www.w3.org" />
-<title>Opening Files</title>
-<meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.7" />
-<link rel="HOME" title="Slackware Linux Essentials" href="index.html" />
-<link rel="UP" title="Vi" href="vi.html" />
-<link rel="PREVIOUS" title="Modes" href="vi-modes.html" />
-<link rel="NEXT" title="Saving Files" href="vi-saving-files.html" />
-<link rel="STYLESHEET" type="text/css" href="docbook.css" />
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-</head>
-<body class="SECT1" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084"
-alink="#0000FF">
-<div class="NAVHEADER">
-<table summary="Header navigation table" width="100%" border="0" cellpadding="0"
-cellspacing="0">
-<tr>
-<th colspan="3" align="center">Slackware Linux Essentials</th>
-</tr>
-
-<tr>
-<td width="10%" align="left" valign="bottom"><a href="vi-modes.html"
-accesskey="P">Prev</a></td>
-<td width="80%" align="center" valign="bottom">Chapter 16 Vi</td>
-<td width="10%" align="right" valign="bottom"><a href="vi-saving-files.html"
-accesskey="N">Next</a></td>
-</tr>
-</table>
-
-<hr align="LEFT" width="100%" />
-</div>
-
-<div class="SECT1">
-<h1 class="SECT1"><a id="VI-OPENING-FILES" name="VI-OPENING-FILES">16.3 Opening
-Files</a></h1>
-
-<p><tt class="COMMAND">vi</tt> allows you to open files from command mode as well as
-specifying a file on the command line to open. To open the file <tt
-class="FILENAME">/etc/lilo.conf</tt>:</p>
-
-<table border="0" bgcolor="#E0E0E0" width="100%">
-<tr>
-<td>
-<pre class="SCREEN">
-<kbd class="USERINPUT">:e /etc/lilo.conf</kbd>
-</pre>
-</td>
-</tr>
-</table>
-
-<p>If you have made changes to the current buffer without saving, <tt
-class="COMMAND">vi</tt> will complain. You can still open the file without saving the
-current buffer by typing <b class="KEYCAP">:e!</b>, followed by a space and the filename.
-In general, <tt class="COMMAND">vi</tt>'s warnings can be suppressed by following the
-command with an exclamation mark.</p>
-
-<p>If you want to reopen the current file, you can do so simply by typing <b
-class="KEYCAP">e!</b>. This is particularly useful if you have somehow messed up the file
-and want to reopen it.</p>
-
-<p>Some <tt class="COMMAND">vi</tt> clones (for example, <tt class="COMMAND">vim</tt>)
-allow for multiple buffers to be open at the same time. For example, to open up the file
-<tt class="FILENAME">09-vi.sgml</tt> in my home directory while another file was open, I
-would type:</p>
-
-<table border="0" bgcolor="#E0E0E0" width="100%">
-<tr>
-<td>
-<pre class="SCREEN">
-<kbd class="USERINPUT">:split ~/09-vi.sgml</kbd>
-</pre>
-</td>
-</tr>
-</table>
-
-<p>The new file is displayed on the top half of the screen, and the old file is displayed
-in the bottom half of the screen. There are a lot of commands that manipulate the split
-screen, and many of these commands start to resemble something out of <tt
-class="COMMAND">Emacs</tt> The best place to look up these commands would be the man page
-for your vi clone. Note that many clones do not support the split-screen idea, so you
-might not be able to use it at all.</p>
-</div>
-
-<div class="NAVFOOTER">
-<hr align="LEFT" width="100%" />
-<table summary="Footer navigation table" width="100%" border="0" cellpadding="0"
-cellspacing="0">
-<tr>
-<td width="33%" align="left" valign="top"><a href="vi-modes.html"
-accesskey="P">Prev</a></td>
-<td width="34%" align="center" valign="top"><a href="index.html"
-accesskey="H">Home</a></td>
-<td width="33%" align="right" valign="top"><a href="vi-saving-files.html"
-accesskey="N">Next</a></td>
-</tr>
-
-<tr>
-<td width="33%" align="left" valign="top">Modes</td>
-<td width="34%" align="center" valign="top"><a href="vi.html" accesskey="U">Up</a></td>
-<td width="33%" align="right" valign="top">Saving Files</td>
-</tr>
-</table>
-</div>
-</body>
-</html>
-