docs:vim:commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:vim:commands [2007/12/30 21:32] billhdocs:vim:commands [2008/08/03 00:25] (current) – external edit 127.0.0.1
Line 113: 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.  This can be useful to avoid typing monotonous things such as "document.getElementById" or to correct common spelling mistakes such as "teh" etc...
 +
 +Examples:
 +|:ab de document.getElementById('  |now type de<space>, and de turns\\ into document.getElementById('  |
  
 ===== Settings ===== ===== Settings =====
  • docs/vim/commands.1199075533.txt.gz
  • Last modified: 2008/08/03 00:25
  • (external edit)