Skip to content

Basic Commands

Iury O. G. Figueiredo edited this page Feb 20, 2026 · 1 revision

In vy, commands are merely python functions that are exposed to the user. The following commands are the most basic ones.

Save file

This python function can be used to save the contents of the target areavi into a file:

ss('filename')

Load a file

After executing the following function it loads the specified filename into the target areavi instance:

ox('filename')

Vertical split

The following function add a vertical pane:

vsplit()

Horizontal split

This one adds a horizontal pane:

hsplit()

Write changes

This function is used to write file changes:

s()

How to quit?

Well, it is similar to vim, just issue:

quit()

Clone this wiki locally