Auto complete variable names or words
From Vim Tips Wiki
[edit] Duplicate tip
This tip is very similar to the following:
These tips need to be merged – see the merge guidelines.
Tip 291 Previous Tip • Next 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.
Categories: Duplicate | Review | VimTip
