Exons:
Relevant bits of information for using the MUSC Shared Resource,
the BioMolecular Computing Resource (BCR).
EXON_8:VIÊnotes quicklist for the VI Visual editor of UNIX.
vi filename starts the editor on the contents of "filename". If filename
does not currently exist it will be created and opened.
Note the "^" symbol should be interpreted as pressing the control key
Cursor movement:
Keypad arrows- up,down, left, right
Letters- h left
l right
j down
k up
^D scrolls down half screen
^U scrolls up half screen
^F forward scroll full page
^B backward scroll full page
^E scroll window down one line
^Y scroll window up one line
nG go to the Ônth" line
Insert text:
Type- "i" this starts the insert mode followed by the text you
wish to insert.
Hit the esc key to EXIT the 'insert' mode.
Creating open lines( these are ohs not zeroes)
o opens a line after the present cursor line
O opens a line before the present cursor line
Deletions:
Type-
x delete single character at the cursor
dw single word
dd full line
ndd deletes Ôn" lines
D deletes rest of the line
Undo:
u
Exit:
exit and save changes ZZ
exit without saving changes :q! (rtn)
Search:
/text(rtn) searches for "text"
Renaming an edited file. Works after typing the colon ":" .
:N "filename"