• Complain

Robbins - vi and Vim Editors Pocket Reference

Here you can read online Robbins - vi and Vim Editors Pocket Reference full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. City: Sebastopol, Calif, year: 2011, publisher: OReilly Media, Inc., genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

No cover
  • Book:
    vi and Vim Editors Pocket Reference
  • Author:
  • Publisher:
    OReilly Media, Inc.
  • Genre:
  • Year:
    2011
  • City:
    Sebastopol, Calif
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

vi and Vim Editors Pocket Reference: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "vi and Vim Editors Pocket Reference" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Many Unix, Linux, and Mac OS X geeks enjoy using the powerful, platform-agnostic text editors vi and Vim, but there are far too many commands for anyone to remember. Author Arnold Robbins has chosen the most valuable commands for vi, Vim, and vis main clones-vile, elvis, and nvi-and packed them into this easy-to-browse pocket reference. Youll find commands for all kinds of editing tasks, such as programming, modifying system files, and writing and marking up articles. This second edition includes: Command-line optionsvi commands and set optionsInput. Read more...
Abstract: Many Unix, Linux, and Mac OS X geeks enjoy using the powerful, platform-agnostic text editors vi and Vim, but there are far too many commands for anyone to remember. Author Arnold Robbins has chosen the most valuable commands for vi, Vim, and vis main clones-vile, elvis, and nvi-and packed them into this easy-to-browse pocket reference. Youll find commands for all kinds of editing tasks, such as programming, modifying system files, and writing and marking up articles. This second edition includes: Command-line optionsvi commands and set optionsInput

vi and Vim Editors Pocket Reference — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "vi and Vim Editors Pocket Reference" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
vi and Vim Editors Pocket Reference
Arnold Robbins
Editor
Andy Oram

Copyright 2011 Arnold Robbins

OReilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (.

Nutshell Handbook, the Nutshell Handbook logo, and the OReilly logo are registered trademarks of OReilly Media, Inc. vi and Vim Editors Pocket Reference , the image of a tarsier, and related trade dress are trademarks of OReilly Media, Inc.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and OReilly Media, Inc., was aware of a trademark claim, the designations have been printed in caps or initial caps.

While every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.

OReilly Media SPECIAL OFFER Upgrade this ebook with OReilly for more - photo 1

O'Reilly Media

SPECIAL OFFER: Upgrade this ebook with OReilly

for more information on this offer!

Please note that upgrade offers are not available from sample content.

Chapter 1. vi and Vim Editors Pocket Reference
Introduction

This pocket reference is a companion to Learning the vi and Vim Editors, by Arnold Robbins et al. It describes the vi command-line options, command-mode commands, ex commands and options, regular expressions and the use of the substitute (s) command, and other pertinent information for using vi.

While retaining coverage of the vi clones, nvi, elvis, and vile, this edition offers expanded coverage of the Vim editor, which has become the de facto standard version of vi in the GNU/Linux world.

The Solaris version of vi served as the reference version of the original vi for this pocket reference.

Conventions

The following font conventions are used in this book:

Courier

Used for filenames, command names, options, and everything to be typed literally.

Courier Italic

Used for replaceable text within commands.

Italic

Used for replaceable text within regular text, Internet URLs, for emphasis, and for new terms when first defined.

[ ... ]

Identifies optional text; the brackets are not typed.

CTRL-G

Indicates a keystroke.

Acknowledgments

Thanks to Robert P.J. Day and Elbert Hannah, who reviewed this edition. The production team at OReilly Media did a great job helping me make the book look the way I wanted. A special thanks to my editor, Andy Oram, for keeping the project moving with continual gentle encouragement.

Command-Line Options
CommandAction
vifile

Invoke vi on file

vifile1 file2

Invoke vi on files sequentially

viewfile

Invoke vi on file in read-only mode

vi-Rfile

Invoke vi on file in read-only mode

vi-rfile

Recover file and recent edits after a crash

vi-ttag

Look up tag and start editing at its definition

vi-wn

Set the window size to n ; useful over a slow connection

vi+file

Open file at last line

vi+n file

Open file directly at line number n

vi-ccommand file

Open file , execute command , which is usually a search command or line number (POSIX)

vi+/pattern file

Open file directly at pattern

exfile

Invoke ex on file

ex-file<script

Invoke ex on file , taking commands from script ; suppress informative messages and prompts

ex-sfile<script

Invoke ex on file , taking commands from script ; suppress informative messages and prompts (POSIX)

vi Commands

vi commands are used in screen mode (the default), where you use the commands to move around the screen and to perform operations on the text.

Most vi commands follow a general pattern:

[command][number]textobject

or the equivalent form:

[number][command]textobject
Movement Commands

vi movement commands distinguish between two kinds of words. The lowercase commands define a word as a contiguous sequence of underscores, letters, and digits. The uppercase commands define a word as a contiguous sequence of nonwhitespace characters.

CommandMeaning
Character
h, j, k, l

Left, down, up, right (, , , )

Text
w, W, b, B

Forward, backward by word

e, E

End of word

), (

Beginning of next, previous sentence

}, {

Beginning of next, previous paragraph

]], [[

Beginning of next, previous section

Lines
ENTER

First nonblank character of next line

0, $

First, last position of current line

^

First nonblank character of current line

+, -

First nonblank character of next, previous line

n|

Column n of current line

H, M, L

Top, middle, last line of screen

nH

n (number) of lines after top line

nL

n

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «vi and Vim Editors Pocket Reference»

Look at similar books to vi and Vim Editors Pocket Reference. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «vi and Vim Editors Pocket Reference»

Discussion, reviews of the book vi and Vim Editors Pocket Reference and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.