Name
edit
Synopsis
e[!] [+num
] [filename
]
Begin editing on filename. If no filename is given, start over with a copy of the current file. Add a ! to edit the new file even if the current file has not been saved since the last change. With the +num argument, begin editing on line num. Or num may be a pattern, of the form /pattern.
Examples
:e file
Edit file in current editing buffer:e +/^Index #
Edit alternate file at pattern match:e!
Start over again on current file
Get Linux in a Nutshell, 6th 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.