sponsor Vim development Vim logo Vim Book Ad

intermediate Tip #291: ^P & auto filling of variables and text

 tip karma   Rating 75/26, Viewed by 1743 

created:   July 30, 2002 3:28      complexity:   intermediate
author:   rangarao      as of Vim:   6.0

Do you know you can auto fill the variable and names as you type your code ? This will help most of the programmers, who always try hard to remember the variable names and browse through all the files to find out the variable name.
   Use Ctrl+P and Ctrl+N to autofill the variables names etc. Just practice, you will feel the ease of using vim

 rate this tip  Life Changing Helpful Unfulfilling 

<<Text Processing With Integrated Spell Checking | vim + cscope + cygwin >>

Additional Notes

Anonymous, July 30, 2002 11:03
Also check out vimscript#182 and vimscript #73
Robert KellyIV (Feral at FireTop . com), July 30, 2002 11:04
Completion such as this is also why it is a good idea to have descriptive variable names, so you can easily tell if you have the completion you were after.
If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to [email protected] after searching the archive. Help Bram help Uganda.
Sponsored by Web Concept Group Inc. SourceForge Logo