You can simultaneously edit up to 99 files at a time in vEdit, It is exceptionally flexible in how the files are displayed. Although each file typically has a corresponding window, a file can also be displayed in two or more windows. This is useful for editing two regions of the file at the same time, or for editing the file in two modes at the same time, e.g. in ASCII and Hexadecimal.

n Windows, you can start up vEdit without any initial files, or you can “drag and drop” one or more files to the vEdit icon to start up vEdit with the files already loaded. Of course, you can also open and close files from inside the editor.

Key Bindings for Editing Multiple Files

It is easiest to edit additional files using these “hot-keys” in the “Normal” keyboard layout.

Ctrl-O
Opens a new file for (simultaneous) editing in a new buffer. As a convenience, if the specified file does not exist, it is created. It also opens a corresponding window. This is the most common way of editing additional files and creating new files. Hot-key for FILE > Open.
Alt-O
Opens a new file for editing in the current (same) buffer. You are prompted whether the current file is to be saved or abandoned. Use this when you are done editing the current file and want to edit another file. Hot-key for FILE > Open (more) > Same buffer.
Alt-Y
Similar to Ctrl-O except that it opens the new window by splitting the current window horizontally into two windows. Hot-key for FILE > Open (more) > Horizontal window.
F5 & F6
These keys toggle, “round-robin fashion”, to the previous/next open buffer (file). This is the most common way of switching between files. Hot-keys for FILE > Previous buffer and FILE > Next buffer; they are also available on the toolbar.
Ctrl-F4
Closes the current window. If it is the last window attached to the file (buffer), it also closes the file, prompting whether the file is to be saved or abandoned. It does not close the last window and buffer; it then only closes the file.Hot-key for WINDOW > Close . It is the same as clicking the window’s “close” button.

You can open two or more files at once by entering their names in the “Filename:” prompt in the File-Open dialog box. You can also specify a “Save as” name or begin editing on any desired line number.

Editing Multiple Files

Related Resources