|
|
|||
| Insert mode | |
| i | enter insert mode before current character |
| a | enter insert mode after current character |
| I | enter insert mode at start of line |
| A | enter insert mode at end of line |
|
ESC |
exits insert mode |
| Delete | |
| x | deletes character under cursor |
| dd | deletes current line |
| nndd | deletes nn lines |
| dd | deletes current line |
| Move (Cut/Paste) | |
| yy | copies (yanks) current line |
| nnyy | copies (yanks) nn lines |
| p | inserts last yank or deletion after the current line |
| P | inserts the last yank or deletion before the current line |
| Cursor Motion (when out of insert mode), arrow keys may also work | |
| h | move cursor left |
| j | move cursor down |
| k | move cursor up |
| l | move cursor right |
| CTRL-f | page forward |
| CTRL-b | page backward |
| G | jump to end of file |
| 1G (press and release 1, then G) | jump to start of file |
| File Operations | |
| ZZ | save file and exit |
| :wq | save file and exit |
| :w | save file |
| :q | exit |
| Search | |
| /pattern | search forward |
| ?pattern | search backward |
DISCLAIMER: This support site is provided as a FREE service to our customers. Every effort is made to ensure it is complete and accurate. However, due to changing versions, typos, different environments, etc. information may be inaccurate for your site. Note that we do not assume responsibility for any problems you might encounter using information provided in these pages. Please inform us of any problems you encounter we will make every effort to correct this information. Thank you.
Home | Services | Training | Support | Contact Us | Search
Copyright 2006, Security Evolution, Inc.