History Report a problem
Article Edit this page Discussion

Auto complete variable names or words

From Vim Tips Wiki

Jump to: navigation, search

[edit] Duplicate tip

This tip is very similar to the following:

These tips need to be merged – see the merge guidelines.

Tip 291 Previous TipNext Tip

Created: July 30, 2002 Complexity: intermediate Author: rangarao Minimum version: 6.0 Karma: 92/31 Imported from: Tip#291


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.

[edit] Comments

Also see script#182 and script#73.


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.


Rate this article:

Share this article:

Hubs Highlights International Sites Wikia messages
Entertainment
Gaming
Cartoons & Comics
Science Fiction
Hobbies
Sports
See all...
Grand Theft Auto
Pushing Daisies
Legend of Zelda Wiki
Terminator Wiki
Everquest II Wiki
Godzilla
German
Spanish
Chinese
Japanese
More...
Wikia is hiring for several open positions
Send this article to a friend
"Auto complete variable names or words"
 
 
Hi!

I thought you'd like this page from Wikia!

http://vim.wikia.com

Come check it out!
Send confirmation


.