I have a question about completion.  Here's some background: I'm
writing text files that will contain the tags for my flac collection.
Each one of these tag files contains the tags for several flac files;
I have a script that uses metaflac to read off the tags for each flac
file from the tag file.  Now, the tag file contains lines like:
COMPOSER=Ludwig van Beethoven
As you can imagine, that line will appear in several different tag
files.  I don't want to type out Old Ludwig van's name every time, so
I wanted to use completion, but I'm having some troubles.

I tried making a file containing:
Ludwig van Beethoven
and then setting it as the value of 'dictionary'.  But with dictionary
completion, it only completes one word at a time, so in order to get
Beethoven's name into the above COMPOSER line, I need to type "L<C-
X><C-K> v<C-X><C-K> B<C-X><C-K>".  It would be nicer if I could only
type "L<C-X><C-K>".

I thought I could use whole line completion.  So I tried making a file
containing:
COMPOSER=Ludwig van Beethoven
and then setting it as the value of 'complete,' erasing the default
value of 'complete'. But if I'm on a line containing
COMPOSER=L
and I type <C-X><C-L>, it tells me "Pattern not found."

Any ideas?

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to