RE: How to go to the next matched tag? (vim/cscope/ctags)

2006-05-29 Thread Dancefire
Thanks for reply. I generated "cscope.files" and "cscope.out" by shell command: cscope-indexer -r And, I can find the first tag of "thread" by 3 ways: 1) $ vi -t thread 2) :ta thread 3) ctrl-] on 'thread' symbol After I found the first match, the bottom line sai

Indention of Macro

2006-05-29 Thread Yorkwar
Hello Vimmers, I want the indention of some macro as -- bla #ifdef MACRO some code #endif -- not as -- bla #ifdef MACRO some code #endif -- I read from previous mail and get that can

Re: gvimrc vs vimrc

2006-05-29 Thread A.J.Mechelynck
Xiangjiang Ma wrote: if has("gui_running") " any code here affects gvim but not console vim else " any code here affects console vim but not gvim endif One problem I found is that console vim (using cygwin) will complain if I have "for" statement inside anywhere in vim

Re: gvimrc vs vimrc

2006-05-29 Thread Xiangjiang Ma
if has("gui_running") " any code here affects gvim but not console vim else " any code here affects console vim but not gvim endif One problem I found is that console vim (using cygwin) will complain if I have "for" statement inside anywhere in vimrc, as (taken from sam

Re: gvimrc vs vimrc

2006-05-29 Thread A.J.Mechelynck
Robert Hicks wrote: A.J.Mechelynck wrote: Robert Hicks wrote: I have never used a gvimrc. Does that get parsed by gVim only? :Robert Yes indeed. It is guaranteed to be sourced when gvim starts and not when console Vim starts; and in gvim it is sourced later than the vimrc in startup. Me I

Re: gvimrc vs vimrc

2006-05-29 Thread Robert Hicks
A.J.Mechelynck wrote: Robert Hicks wrote: I have never used a gvimrc. Does that get parsed by gVim only? :Robert Yes indeed. It is guaranteed to be sourced when gvim starts and not when console Vim starts; and in gvim it is sourced later than the vimrc in startup. Me I don't use a gvimrc e

Re: gvimrc vs vimrc

2006-05-29 Thread A.J.Mechelynck
Robert Hicks wrote: I have never used a gvimrc. Does that get parsed by gVim only? :Robert Yes indeed. It is guaranteed to be sourced when gvim starts and not when console Vim starts; and in gvim it is sourced later than the vimrc in startup. Me I don't use a gvimrc either: rather than main

Re: Switching character sets Windows-to-DOS

2006-05-29 Thread A.J.Mechelynck
peter juuls wrote: --- "A.J.Mechelynck" <[EMAIL PROTECTED]> escribió: If you have some files using a Dos charset, and other ones using a Windows charset, the way to do it is file-by-file. Here are a few sections you should read in the help: Thanks, Tony, for a thorough walkthrough o

Re: Runtime error in explorer.exe when right clicking with vim70f gvimext.dll installed

2006-05-29 Thread Mathias Michaelis
Hello Vim List I have a similar problem with the final vim 7.0, if I try to compile it with Microsoft Visual Studio 2005 Express Edition. I don't get a runtime error, but simply get no "Edit with vim ..." context menu entries when I right-click on any file. >>> When I right click on a file in exp

Re: gvimrc vs vimrc

2006-05-29 Thread Tim Chase
I have never used a gvimrc. Does that get parsed by gVim only? Yes. You can learn more about it at :help gvimrc :help initialization Note that, in the help on initialization, step #8 is "Perform GUI initializations". This links to the help on gvimrc. -tim

gvimrc vs vimrc

2006-05-29 Thread Robert Hicks
I have never used a gvimrc. Does that get parsed by gVim only? :Robert

Re: Switching character sets Windows-to-DOS

2006-05-29 Thread peter juuls
--- "A.J.Mechelynck" <[EMAIL PROTECTED]> escribió: > > If you have some files using a Dos charset, and > other ones using a > Windows charset, the way to do it is file-by-file. > Here are a few > sections you should read in the help: Thanks, Tony, for a thorough walkthrough of the character s

Re: Switching character sets Windows-to-DOS

2006-05-29 Thread peter juuls
--- Juan Lanus <[EMAIL PROTECTED]> escribió: > peter juuls yahoo.es> writes: > > BUT it has always been a mystery to me how to > control > > character sets used in vim .. > Me too. > In Spanish we use several accented letters and the > ñ that's more or less > like the problem of your's. > > I e

Re: How to go to the next matched tag? (vim/cscope/ctags)

2006-05-29 Thread Yegappan Lakshmanan
Hi, On 5/28/06, Dancefire <[EMAIL PROTECTED]> wrote: Thanks, I have tried tn, tp, but they aren't work. I don't know why. If I run "tag thread", it locate the first match, and the bottom line said: (1 of 3): <> struct thread; So, I think there should have 3 matches. If I run tnext/tprev, the

Re: Tag List Dropdown

2006-05-29 Thread Yegappan Lakshmanan
Hi Vigil, On 5/28/06, Vigil <[EMAIL PROTECTED]> wrote: On Sun, 28 May 2006, A.J.Mechelynck wrote: > As said in a post a few minutes ago, Ctrl-w g ] opens a list from which you > may select. Or else, :tnext, :tprev, :tfirst, :tlast will let you see the > matches one by one. I know of this; I wa

Connecting vim script to utilitiy of netrw / Explorer

2006-05-29 Thread Mueller Stefan
Hello, I want to extend my script in order to browse through a RCS (Revision Control System) database. For browsing and displaying I want to use the netrw stuff delivered in new Vim version 7.0. Therefore I have two questions: - All RCS files have the extensions like "file.rcs,v". With pressing a

Re: Can not run any command with ! in W2K

2006-05-29 Thread Mathias Michaelis
Hi all >> If I do :!dir a console opens and says: >> C:\WINNT\system32\CMD.EXE /c dir >> shell returned -1 >> > > 2) If 1) doesn't help, you may want to produce the phenomena outside >of vim. Open a cmd-window and type something like > >"path\to\vim\vimrun.exe" %windir%\system32\

Re: insert lines

2006-05-29 Thread Robert Cussons
I do indeed, thanks Tony. A.J.Mechelynck wrote: Robert Cussons wrote: Sorry ignore this post, don't know what happened when I tried it before, but of course this is already implemented, with '-', vim is ahead of me again..don't I feel a fool! Robert Cussons wrote: Hello all, I know t

Re: insert lines

2006-05-29 Thread A.J.Mechelynck
Robert Cussons wrote: Sorry ignore this post, don't know what happened when I tried it before, but of course this is already implemented, with '-', vim is ahead of me again..don't I feel a fool! Robert Cussons wrote: Hello all, I know that '+' can be used to insert a line below the line

Re: non-gui version - changing fonts on the fly

2006-05-29 Thread A.J.Mechelynck
cga2000 wrote: Just a confirmation: I am under the impression that with vim running in an xterm, you are limited to using whatever fonts have been defined as X resources and using a mouse Ctrl- if you want to change to a different font on the fly. Naturally the font change would affect the enti

Re: insert lines

2006-05-29 Thread Robert Cussons
Sorry ignore this post, don't know what happened when I tried it before, but of course this is already implemented, with '-', vim is ahead of me again..don't I feel a fool! Robert Cussons wrote: Hello all, I know that '+' can be used to insert a line below the line on which the cursor is

insert lines

2006-05-29 Thread Robert Cussons
Hello all, I know that '+' can be used to insert a line below the line on which the cursor is when in normal mode AND stays in normal mode, but is there a key to insert a line above the cursor line and stay in normal mode or would it need a mapping of something like 'k' followed by '+' followe