Press Ctrl + c for copy and then paste (Ctrl + v) on your website.
You need JavaScipt and Flash to view this document
Submitted by alexdenipaul on Mon, 10/12/2009 - 20:31.
Edit a file with vi: vi [filename]
You will be in the “edit” mode, use the [ESC] button to switch to “visual” mode. auto insurance quotes
The other buttons/keystrokes are as follows:
Cursor movement (other than your usual arrow keys)
h - move left
j - move down
k - move up
l - move right
w - start of words
W - next word
e - jump to end of word
E - end of the next word commercial mortgage
b - jump to the previous word
B - jump to the previous word
0 - (zero) start of line
^ - first non-blank character of line
$ - end of line
G - Go To command eg : 2G goes to line 2
Exiting
:w - save without exiting
:wq - save and exit vi
:q - quit/exit
:q! - quit and ignore changes
Editing
r - replace a single character (does not use insert mode)
J - join line below to the current one
cc - change (replace) an entire line
cw - change (replace) to the end of word
c$ - change (replace) to the end of line
s - delete character at cursor and subsitute text
S - delete line at cursor and substitute text (same as cc)
xp - transpose two letters (delete and paste mobile homes for sale, technically)
u - undo
. - repeat last command
i - start insert mode at cursor
I - insert at the beginning of the line
a - append after the cursor
A - append at the end of the line
o - open (append) blank line below current line (no need to press return)
O - open blank line above current line
ea - append at end of word
v - start visual mode, mark lines, then do command (such as y-yank)
V - start Linewise visual mode
o - move to other end of marked area
Ctrl+v - start visual block mode
O - move to Other corner of block
aw - mark a word
ab - a () block (with braces)
aB - a {} block (with brackets)
ib - inner () block
iB - inner {} block cheap travel insurance
Visual commands
> - shift right
< - shift left
y - yank (copy) marked text
d - delete marked text
~ - switch case
yy - copy a line (to clipboard)
yw - copy word
y$ - copy to end of line
p - paste clipboard content after cursor
P - paste clipboard content before cursor
dd - delete a line
dw - delete current word
x - delete current character
Edit a file with vi: vi [filename]
You will be in the “edit” mode, use the [ESC] button to switch to “visual” mode. auto insurance quotes
The other buttons/keystrokes are as follows:
Cursor movement (other than your usual arrow keys)
h - move left
j - move down
k - move up
l - move right
w - start of words
W - next word
e - jump to end of word
E - end of the next word commercial mortgage
b - jump to the previous word
B - jump to the previous word
0 - (zero) start of line
^ - first non-blank character of line
$ - end of line
G - Go To command eg : 2G goes to line 2
Exiting
:w - save without exiting
:wq - save and exit vi
:q - quit/exit
:q! - quit and ignore changes
Editing
r - replace a single character (does not use insert mode)
J - join line below to the current one
cc - change (replace) an entire line
cw - change (replace) to the end of word
c$ - change (replace) to the end of line
s - delete character at cursor and subsitute text
S - delete line at cursor and substitute text (same as cc)
xp - transpose two letters (delete and paste mobile homes for sale, technically)
u - undo
. - repeat last command
i - start insert mode at cursor
I - insert at the beginning of the line
a - append after the cursor
A - append at the end of the line
o - open (append) blank line below current line (no need to press return)
O - open blank line above current line
ea - append at end of word
v - start visual mode, mark lines, then do command (such as y-yank)
V - start Linewise visual mode
o - move to other end of marked area
Ctrl+v - start visual block mode
O - move to Other corner of block
aw - mark a word
ab - a () block (with braces)
aB - a {} block (with brackets)
ib - inner () block
iB - inner {} block cheap travel insurance
Visual commands
> - shift right
< - shift left
y - yank (copy) marked text
d - delete marked text
~ - switch case
yy - copy a line (to clipboard)
yw - copy word
y$ - copy to end of line
p - paste clipboard content after cursor
P - paste clipboard content before cursor
dd - delete a line
dw - delete current word
x - delete current character