OT: vi(m) advise.

Gilboa Davara gilboad at gmail.com
Thu Feb 28 17:43:02 UTC 2008


Hello all,

I've got a certain vim script that handles projects.
E.g. 
"project project_name" translates to:
"gvim "+set tags=list_of_tag_files" file1 file2 ... Makefile"


A. I want to add tags support. E.g.:
"project project_name +tag" translates to:
"gvim "+set tags=list_of_tag_files" file1 file2 ... Makefile -t tag"

However, I'm getting a "Too many edit arguments: "-t"" error.
What am I doing wrong?


B. I want to add open_file support. E.g.:
"project project_name -fileX" translates to:
"gvim "+set tags=list_of_tag_files" file1 file2 ... Makefile", jump to
fileX
Can it be done?


- Gilboa





More information about the fedora-list mailing list