... Use the range mod for functions. func RunProgram() range ... let command = join(getline(a:firstline,a:lastline),"\n") .... endfun ... -ap ...
A.Politz
politza@...
Dec 1, 2007 11:38 am
85558
Sorry if I disturb the audience and sorry for my poor english language but my problems were about browsing efficiently my source code. vimgrep is slower than...
epanda
callingelvis@...
Dec 1, 2007 11:44 am
85559
... I use gvim 7.0 on windows and have found code browsing using cscope to be extremely pleasant (good features plus its fast). I have added the following...
Sibin Thomas
sibinpthomas@...
Dec 1, 2007 6:02 pm
85560
ok cscope does not work with C++ code ... --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more...
epanda
callingelvis@...
Dec 1, 2007 6:10 pm
85561
... You can yank the selected text into a register, for example y to yank to the default ("quote") register, or "wy to yank it to a "named" register (here,...
Tony Mechelynck
antoine.mechelynck@...
Dec 1, 2007 6:13 pm
85562
cscope does not detect a class method like this : //##ModelId=3A7EBA7200F5 void DailyLogFile::handleEntry(WORD ref_p, void* value_p) { ... ...
epanda
callingelvis@...
Dec 1, 2007 6:13 pm
85563
When I do a simple grep text with cscope it does not found string "WriteFile" and says File does not have expected format ! The string is in this sample source...
epanda
callingelvis@...
Dec 1, 2007 6:20 pm
85564
sc, I might have a buffer with the following 2 lines: x <- rnorm(100) plot(x) I used A.Politz suggestion (thanks!) and it almost works. The issue is that i get...
Vincent
vincent.nijs@...
Dec 1, 2007 6:29 pm
85565
... If you want to have ctags generate tags for only files of a particular language, I believe the option you want is "--languages" and not "--langmap", e.g., ...
Gary Johnson
garyjohn@...
Dec 1, 2007 6:41 pm
85566
There is an example that I don't understand. I have some files .asm .c .cpp etc.. I focus on a file named Rtfile.cpp with this source code inside : ...
epanda
callingelvis@...
Dec 1, 2007 6:42 pm
85567
Hello Vim List and Jeff, Please remove the ff=unix from the modeline in the help file. gvim -u NONE -i NONE -N ... gives (as displayed in messages): ...
Bill McCarthy
WJMc@...
Dec 1, 2007 8:35 pm
85568
... I don't think that's true. I copied both your examples to a couple of files in a temporary directory and ran cscope on them. Using ... to find WriteFile...
Gary Johnson
garyjohn@...
Dec 1, 2007 8:42 pm
85569
... I used your snippet with cscope without a problem. I called the snippet prog.cpp and set up with "cscope -b prog.cpp". ... brought me to the correct line....
Bill McCarthy
WJMc@...
Dec 1, 2007 9:04 pm
85570
When I start :gui from the console vim, it uses some ugly font not same as my gvim uses when I start gvim directly from shell (this is Linux). What would...
Yakov
iler.ml@...
Dec 1, 2007 9:06 pm
85571
... There are several possibilities: here are the main two which come first to my mind. (a) set 'guifont' in your gvimrc, not in your vimrc. That way, it will...
Tony Mechelynck
antoine.mechelynck@...
Dec 1, 2007 9:42 pm
85572
Ok I don't understand. After using this command , cscope -b -R, the cscope.out file does not contain writefile. Is it a normal thnig ? my version of cscope is...
epanda
callingelvis@...
Dec 1, 2007 9:56 pm
85573
... Try to use system() instead of exec and '!'. -ap -- Ich hab geträumt, der Krieg wär vorbei. --~--~---------~--~----~------------~-------~--~----~ You...
A.Politz
politza@...
Dec 1, 2007 10:29 pm
85574
... That wouldn't store anything here with *.cpp files. I would have to write: cscope -b -R *.cpp *.h BTW, I write no C++ - mainly C. From the vim71/src ...
Bill McCarthy
WJMc@...
Dec 1, 2007 11:00 pm
85575
ok I have tried 2 tests: first one in the directory , this commands is a success : cscope -b *.cpp *.h second one : in a parent directory , the following...
epanda
callingelvis@...
Dec 2, 2007 12:13 am
85576
how do i change the width of a vertical split window?. i know how to do that with a horizontal split by adding the folowing to .vimrc if buffwin(1) map + <C-W>...
molecula21
ruimelo21@...
Dec 2, 2007 1:24 am
85577
Thanks for the suggestions! The following works exactly as i had wanted. function! RunRProgram() range let command =...
Vincent
vincent.nijs@...
Dec 2, 2007 1:54 am
85578
... The mappings you give are broken, given the extra space in them. For changing the width of vertical windows, you want ... which do the same horizontally as...
Tim Chase
vim@...
Dec 2, 2007 2:24 am
85579
... I'm guessing that you see an error like "no source files". What works is to make a file called cscope.files where each line contains the path of one of...
John Beckett
johnb.beckett@...
Dec 2, 2007 3:54 am
85580
... To copy to the clipboard from gvim (or from X-enabled console Vim running in an xterm, or from Windows console Vim compiled with +clipboard), yank to ...
Tony Mechelynck
antoine.mechelynck@...
Dec 2, 2007 4:02 am
85581
... Easiest IMHO is dragging the vertical separation with the mouse. Or else, in a script you could use e.g. ... to give (if possible) 50 columns to the...
Tony Mechelynck
antoine.mechelynck@...
Dec 2, 2007 4:08 am
85582
... Since you didn't specify your OS, I'll assume it's Windows. If you set the clipboard to unnamed, a simple yank, or any operation that goes to unnamed, will...
Bill McCarthy
WJMc@...
Dec 2, 2007 5:58 am
85583
... I saw no such strangeness in Windows using C. For example, from vim71\src: del cscope.out cscope -b -R gvim ... This finds etoa64 in vim71\src\xxd\xxd.c ...
Bill McCarthy
WJMc@...
Dec 2, 2007 6:28 am
85584
... You would need to :call system(...), if you didn't. System is a function so needs to live inside an expression, and the :call command is a nice command...
Ben Schmidt
mail_ben_schmidt@...
Dec 2, 2007 10:34 am
85585
Hi, I've set the tsr to a file but I still couldn't use the completion function via control x control t in insert mode. Just make it simple I have made a test...
Manu Hack
manuhack@...
Dec 2, 2007 10:49 am
85586
... FWIW, I would call that behaviour broken. If I give recursion on the commandline and specify a pattern or folder on the commandline, I expect just the...