Vi like editor

Text editor ::: editor_webvi
Maintained by Me!Damyon Wiese
This is vi for Moodle. No really - it works! Why? Why not ?

Vi like editor 2016120900

Moodle 2.7, 2.8, 2.9, 3.0, 3.1, 3.2
Released: Friday, 9 December 2016, 9:33 AM
Canvas based vi clone text editor for Moodle.

QUICK INSTALL
=============
Put this entire directory at:

PATHTOMOODLE/lib/editors/webvi

Visit your site notifications page to install the new plugins.

Enable the new editor type on the page:

Site administration / ► Plugins / ► Text editors / ► Manage editors

Now anyone can choose it in their profile as their default editor.

SUPPORTED COMMANDS
==================
This is not a perfect vi clone by any means - but it does support most of the functions I use, and I find it natural to type in.

Vi primer for the un-enlightened.

Vi is simply the best. It is a purely keyboard based text editor with separate "modes".

Visual Mode
This is the mode that you will be in when the text editor opens. This mode lets you quickly navigate around your document
and perform commands like copy/paste. You will need to click on the editor before it will respond to any keyboard commands.

Visual Mode Commands
Arrow keys: Move the cursor
h: Left
j: Down
k: Up
l: Right
w: Move one word right
^: Start of line
$: End of line
G: Move to last line
G: Move to line number
%: Move to % of doc
yy: Copy this many lines (default 1)
yy: Cut this many lines (default 1)
dd: Delete this many lines (default 1)
d: Delete from the current position to the new position
x: Delete this many characters (default 1)
r: Replace this many chars with the new char (default 1)
u: undo
r: redo
.: repeat the last command this many times
/: Search for string
?: Search backwards for string
m: Mark a cursor position
': Move to a saved cursor position
i: Enter edit mode at the current cursor position
a: Enter edit mode after the current cursor position
A: Enter edit mode at the end of the line
I: Enter edit mode at the start of the line
~: Toggle the caps of the current char


Edit Mode
In this mode, anything you type will be added at the current cursor position. The only other command in this mode is
ESCAPE to return to visual mode.

Version information

Version build number
2016120900
Version release name
2016120900
Maturity
Stable version
MD5 Sum
d3ac9e6491d9a0ddd7d89a96a362e839
Supported software
Moodle 2.7, Moodle 2.8, Moodle 2.9, Moodle 3.0, Moodle 3.1, Moodle 3.2
  • Latest release for Moodle 2.7
  • Latest release for Moodle 2.8
  • Latest release for Moodle 2.9
  • Latest release for Moodle 3.0
  • Latest release for Moodle 3.1
  • Latest release for Moodle 3.2

Version control information

Version control system (VCS)
GIT
VCS repository URL

Default installation instructions for plugins of the type Text editor

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "myeditor") in the "lib/editor" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation