Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docs:vim:commands [2007/12/30 21:30] – billh | docs:vim:commands [2008/08/03 00:25] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 64: | Line 64: | ||
===== Editing ===== | ===== Editing ===== | ||
- | | i/I |insert at cursor/ | + | | i\\ I |insert at cursor/ |
- | | a/A |append at cursor/ | + | | gi |insert text in the same position as where insert mode was last stopped |
- | | | + | | a\\ A |append at cursor/ |
+ | | | ||
+ | | r\\ R |replace one char under cursor/ | ||
| c< | | c< | ||
| C |change from cursor to end of line | | | C |change from cursor to end of line | | ||
Line 80: | Line 82: | ||
| U |undo all for line| | | U |undo all for line| | ||
| Ctrl-r | | Ctrl-r | ||
- | | >/>> | + | | >\\ >> |
- | | </<< | + | | <\\ << |
===== Motions ===== | ===== Motions ===== | ||
Line 111: | Line 113: | ||
| ga |show value of character under the cursor in decimal, hex, and octal | | | ga |show value of character under the cursor in decimal, hex, and octal | | ||
| g8 |show the hex values of the bytes used in the character under the cursor | | g8 |show the hex values of the bytes used in the character under the cursor | ||
+ | |||
===== Code Completion ===== | ===== Code Completion ===== | ||
:help ins-completion | :help ins-completion | ||
+ | |||
+ | ===== Abbreviations ===== | ||
+ | :help abbreviations | ||
+ | |||
+ | You can use abbreviations to quickly enter a short sequence of characters that will be expanded into your defined sequence of characters. | ||
+ | |||
+ | Examples: | ||
+ | |:ab de document.getElementById(' | ||
===== Settings ===== | ===== Settings ===== |