[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

OT: vi(m) advise.



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]