Se Quick Reference

Control Characters

Control CharacterFunction
control-aToggle insert mode
control-bScan right and erase
control-cInsert space
control-dCursor up
control-eTab left
control-fFunny return
control-gCursor right
control-hCursor left
control-iTab right
control-jScan right
control-kCursor down
control-lScan left
control-mReturn
control-nScan left and erase
control-oCursor to end of line
control-pIdentify bindable keys
control-qPage up
control-rDelete char right
control-sPage down
control-tKill right
control-uDelete char left
control-vTerminate
control-wCursor to start of line
control-xInsert tab
control-yKill left
control-zEnter literal
control-[not used
control-^Tab left and erase
control-]Redraw screen
control-\Tab right and erase
control-_Insert newline

Commands

Command SyntaxDefault RangeMnemonicDescription
a[:text].,.Append Adds new text after the current line
b  -
c[:text].,.Change Deletes old text and add new text
d.,.Delete Deletes lines
e[!] file Enter Starts a new editing session with a file
f file File Sets the file name
g/pat/cmd1,$Global Performs a command on all lines that match a pattern
h topic Help Displays documentation about the editor
i[:text].,.Insert Adds new text above the current line
j/text/^,.Join Joins lines together
k[name].,.marK Assigns mark names to lines
l Locate Displays host machine name
m[line].,.Move Moves lines around in the buffer
n[name].,.Name Uniquely names a line
o[stuff] Option Sets various optional parameters
p.,.Page up Moves the window up by one page
q[!] Quit Quits the editor
r file.,.Read Reads a file into the buffer
s/pat/sub/[g].,.Substitute Replaces old text with new text
t[line].,.To Copies lines to another place in the buffer
u[d] Undo Reverses the action of the last command
v.,.oVerlay Full-screen cursor key editing
w[!][q] file1,$Write Writes buffer into a file
x/pat/cmd1,$eXclude Performs a command on all lines that do not match a pattern
y/from/to/.,.translYterate Maps one character set into another
z[stuff]  Miscellaneous command
![OS cmd]  Shell escape
@[stuff]  Second window command
'[name]cmd1,$ Global on markname
~[name]cmd1,$ Exclude on markname
:.,. Moves the window down by one page
=.,. Display absolute line number
Command SyntaxDefault RangeMnemonicDescription
zb[left],[right][chr].,.Box Draw or erase boxes
zp Privilege Toggle PRIV mode
zv Version Display version number

Options

OptionMnemonicDescription
oaAbsolute Toggles absolute line numbers
obBind Binds control keys to functions
ocCode Toggles Source-Code mode
odDelete Sets delete direction
oe -
ofFiletype Sets the file type information
ogGlobal Controls behaviour of global substitutions
ohHardware Toggles hardware line insert/delete
oiIndent Controls indentation
oj Sets colour
okOK Checks file saved status
olLine Controls line number display
omMessage Controls message notification
on Sets up Source-Code reserved words
ooOver Swaps between user input and script
opPrompt Sets prompts
oqQuiet Toggles bleep-free operation
orRead-Only Toggles Read-Only mode
osSource Sets Source-Code language
otTab Sets tabstops
ouUnprintable Sets unprintable character
ovoVerlay Sets overlay column
owWarn Sets warning column
oxXTABS Toggles tab expansion mode
oy Toggles case-sensitive pattern matching
oz Suspends editor
o_ Toggles INSERT mode
o^ Toggles CASE mode
o/ Toggles pattern display
o- Controls split-screen mode
o# Toggles CRYPT mode