Tuesday, October 30, 2012

Avoid typing, completion listing

Hi,


I present this kind of file to the user and want to avoid him to type some text that I have in a list.

D_foo=
D_bar=
D_foobar=

I have a list in memory that contains some words:
let mylist=["word1","word2","word3","word4"].

I would like to avoid user to type words that I ever had into mylist

I think to use completion list and let it appears on insert mode after each equal sign.

How can I do that ?
Thank you

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment