Tip #4: Any word completion
tip karma |
Rating 552/164, Viewed by 7531
|
created: |
|
February 24, 2001 15:48 |
|
complexity: |
|
basic |
author: |
|
[email protected] |
|
as of Vim: |
|
5.7 |
Either when programming or writing, I tend to have some identifiers or words that I use all the time. By sheer accident, I noticed the 'ctrl-n' command, that will attempt to complete the word under the cursor. Hit it once, and it will try to complete it with the first match in the current file. If there is no match, it will (at least in the case of C code) search through all files included from the current one. Repeated invocations will cycle through all found matches.
<<use vim to quickly compile java files |
Quickly searching for a word >>
Additional Notes
|