Repository navigation
Quick Start
On a Linux system with a full Perl 5.10+ installation, including Debian with Perl 5.40, open a shell inside your usual terminal emulator. macOS and WSL also provide suitable POSIX environments. Native Windows interactive mode is pending.
Download the standalone Perl file into a writable directory:
curl -fL https://github.com/oodler577/pvim/releases/download/v0.1.3/pvim-standalone.pl -o pvim-standalone.pl
perl pvim-standalone.pl --version
perl pvim-standalone.pl practice.plIf curl is unavailable, download pvim-standalone.pl
in a browser and run perl /path/to/pvim-standalone.pl practice.pl.
The older pvim asset is the same executable content under a shorter name.
- Press
ito enter insert mode. - Type
use strict;, press Enter, and typeprint "hello\n";. - Press Escape to return to normal mode.
- Type
:wand press Enter to savepractice.pl. - Type
:qand press Enter to quit. - Back in the shell, run
perl practice.pl.
To start without a filename, use perl pvim-standalone.pl. The provisional splash
appears; press any key to dismiss it. That key is consumed by the splash. Press i
again to begin inserting. Save an unnamed buffer using :w practice.pl.
Useful first experiments:
| Keys | Effect |
|---|---|
h j k l or arrows |
Move in normal mode |
gg, G, 10G
|
First line, last line, line 10 |
dd, then u
|
Delete a line, then undo |
yy, then p
|
Copy a line, then put it below |
/hello then Enter |
Find the next matching text |
:%s/hello/world/g then Enter |
Replace throughout the file |
:q! then Enter |
Discard unsaved changes and quit |
There is no autosave or crash recovery yet. Use a disposable copy when evaluating
the first release. The full manual and --help / --manual work offline.
pvim source · Downloads · Issues
Generated from source documentation for pvim 0.1.13. How these pages stay current.
pvim 0.1.13