Name
edit
Synopsis
e[!] [+n
] [file
]
Begin editing
file. Add a ! to discard any changes to the
current file. If no file
is given, edit
another copy of the current file. With the
+n
argument, begin editing on line
n
.
Examples
:e file
:e#
Return to editing the previous file :e!
Discard edits since last save
Get Mac OS X Panther in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.