Starting Vem

To start Vem, you can use any of the following commands:

  • vem: starts Vem in terminal mode using Vim

  • nvem: starts Vem in terminal mode using Neovim

  • gvem: starts Vem in graphical mode using Vim

In all three cases, the format of the command is the same:

vem [arguments] [file1 file2 ...]

If you pass multiple filenames, all them are opened at start.

Vem's startup scripts are just wrappers around the vim and nvim commands and any [arguments] provided are directly passed to them. The only thing that the startup wrappers do is to instruct those commands to load Vem's specific configuration.

For example, passing the -o argument (which opens all provided files in different Windows):

vem -o file1.txt file2.txt file3.txt

is similar to executing:

vim -u path/to/vemrc -o file1.txt file2.txt file3.txt

Execution without installation

That last command is an example of how to execute Vem without having to install it. In case you don't want to install Vem system wide, you can just clone its repository somewhere in your user folder and execute:

vimcommand -u path/to/vemrc [other arguments] [files...]

Where vimcommand is any Vim compatible executable (like vim, nvim, gvim, ...).