BreadCrumbs: Vi Command

Vi Command

From Luke Jackson

(Difference between revisions)
Jump to: navigation, search
Revision as of 18:55, 15 May 2007 (edit)
Ljackson (Talk | contribs)

← Previous diff
Revision as of 18:56, 15 May 2007 (edit)
Ljackson (Talk | contribs)
(Usage)
Next diff →
Line 11: Line 11:
== Usage == == Usage ==
- usage: history [-c] [-d offset] [n] or history -awrn [filename] or history -ps arg [arg...]+<pre>
 +usage: vim [arguments] [file ..] edit specified file(s)
 + or: vim [arguments] - read text from stdin
 + or: vim [arguments] -t tag edit file where tag is defined
 + or: vim [arguments] -q [errorfile] edit file with first error
 +</pre>
== Examples == == Examples ==

Revision as of 18:56, 15 May 2007

history -- Linux/Unix/Mac OS X find command

Contents

Introduction

You can use history to view a list of the commands executed during the current $SHEL session. It is very helpful when are you are typing a lot of complex commands.

Syntax

lazy....

Usage

usage: vim [arguments] [file ..]       edit specified file(s)
   or: vim [arguments] -               read text from stdin
   or: vim [arguments] -t tag          edit file where tag is defined
   or: vim [arguments] -q [errorfile]  edit file with first error

Examples

Show Line Numbers

While editing a document (and not inserting text), type the following to turn on line numbers:

:set number


If you tire of the line numbers, enter the following command to turn them off:

:set nonumber
Personal tools