From 39366733c3fe943363566756e2e152c45a1b3cb2 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Fri, 25 May 2018 23:29:36 +0000 Subject: Fri May 25 23:29:36 UTC 2018 patches/packages/glibc-zoneinfo-2018e-noarch-2_slack14.2.txz: Rebuilt. Handle removal of US/Pacific-New timezone. If we see that the machine is using this, it will be automatically switched to US/Pacific. --- slackbook/html/vi-opening-files.html | 109 ----------------------------------- 1 file changed, 109 deletions(-) delete mode 100644 slackbook/html/vi-opening-files.html (limited to 'slackbook/html/vi-opening-files.html') 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 @@ - - - - -Opening Files - - - - - - - - - - - -
-

16.3 Opening -Files

- -

vi allows you to open files from command mode as well as -specifying a file on the command line to open. To open the file /etc/lilo.conf:

- - - - - -
-
-:e /etc/lilo.conf
-
-
- -

If you have made changes to the current buffer without saving, vi will complain. You can still open the file without saving the -current buffer by typing :e!, followed by a space and the filename. -In general, vi's warnings can be suppressed by following the -command with an exclamation mark.

- -

If you want to reopen the current file, you can do so simply by typing e!. This is particularly useful if you have somehow messed up the file -and want to reopen it.

- -

Some vi clones (for example, vim) -allow for multiple buffers to be open at the same time. For example, to open up the file -09-vi.sgml in my home directory while another file was open, I -would type:

- - - - - -
-
-:split ~/09-vi.sgml
-
-
- -

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 Emacs 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.

-
- - - - - -- cgit v1.2.3