Re: text is gone

2006-09-07 Thread A.J.Mechelynck
scott wrote: ok, so help me out here i've looked at filetype vim, and i see nothing that associates _.txt modules with ft=txt whether i enter my 'ai' modules with the script or by navigating to where they are and, with my bloody fingers typing 'gvim ai_200609.txt', still, inside the module,

Re: Help non-functional in 7.0.90

2006-09-07 Thread A.J.Mechelynck
scott wrote: On Thu, 2006-09-07 at 06:55 +0200, A.J.Mechelynck wrote: scott wrote: On Thu, 2006-09-07 at 05:58 +0200, A.J.Mechelynck wrote: scott wrote: On Thu, 2006-09-07 at 01:57 +0200, A.J.Mechelynck wrote: A.J.Mechelynck wrote: In (g)vim 7.0.90, when I try to invoke the help, let's say

Re: text is gone

2006-09-07 Thread scott
On Thu, 2006-09-07 at 08:13 +0200, A.J.Mechelynck wrote: scott wrote: ok, so help me out here i've looked at filetype vim, and i see nothing that associates _.txt modules with ft=txt whether i enter my 'ai' modules with the script or by navigating to where they are and, with my

Re: text is gone

2006-09-07 Thread A.J.Mechelynck
scott wrote: On Thu, 2006-09-07 at 08:13 +0200, A.J.Mechelynck wrote: scott wrote: ok, so help me out here i've looked at filetype vim, and i see nothing that associates _.txt modules with ft=txt whether i enter my 'ai' modules with the script or by navigating to where they are and, with my

Re: text is gone

2006-09-07 Thread Ilya
scott wrote: [...] why would cindent kick in if i'm not editing c? [...] Maybe you set it yourself or some plugin set it for you. A.J.Mechelynck proposed you really good thing. Remove code that turns cindent off, restart vim and type :verbose set cindent? and you will see where

Re: Help non-functional in 7.0.90

2006-09-07 Thread Charles E Campbell Jr
A.J.Mechelynck wrote: The wierdness appeared after installing the manpageview plugin from vim-online, and disappeared after removing it as well as versions of the netrw and vimball plugins which had become older than the default ones due to a runtime rsync. Don't know what _any_ of those had

Re: Help non-functional in 7.0.90

2006-09-07 Thread A.J.Mechelynck
Charles E Campbell Jr wrote: A.J.Mechelynck wrote: The wierdness appeared after installing the manpageview plugin from vim-online, and disappeared after removing it as well as versions of the netrw and vimball plugins which had become older than the default ones due to a runtime rsync. Don't

Re: text is gone

2006-09-07 Thread Charles E Campbell Jr
scott wrote: ok, so help me out here i've looked at filetype vim, and i see nothing that associates _.txt modules with ft=txt whether i enter my 'ai' modules with the script or by navigating to where they are and, with my bloody fingers typing 'gvim ai_200609.txt', still, inside the module,

Re: text is gone

2006-09-07 Thread scott
On Thu, 2006-09-07 at 10:19 -0400, Charles E Campbell Jr wrote: scott wrote: ok, so help me out here i've looked at filetype vim, and i see nothing that associates _.txt modules with ft=txt whether i enter my 'ai' modules with the script or by navigating to where they are and,

Vimdiff Oddity

2006-09-07 Thread Bill McCarthy
Hello Vim Developers, To better understand what vimdiff is doing (and why it is so slow), I had my shell (4NT under WinXP) keep a log showing me just what was requested. [Note: I use '!' instead of '' for redirection because my 4NT is set to not overwrite existing files unless explicitly told to

Re: screen update problem during periodic file refresh

2006-09-07 Thread Bram Moolenaar
Yakov Lerner wrote: I see several problems (that I can't explain) in the vim refresh-loop watching the growing file (a-la 'tail -f'). Vim commands are below. Problem #1: There is unexpected output on the bottom line (lines of the file is echoed on the bottom line). Why ?

Re: using hidden unlisted buffer as transparently as possible

2006-09-07 Thread Bram Moolenaar
Marvin Renich wrote: * Bram Moolenaar [EMAIL PROTECTED] [060906 17:07]: After you do :set nohidden there still is one hidden buffer. Thus the first TestBuf() after that will work a bit different from the next ones. I do see a problem: The info about the current buffer is displayed

Re: screen update problem during periodic file refresh

2006-09-07 Thread Yakov Lerner
On 9/7/06, Bram Moolenaar [EMAIL PROTECTED] wrote: Yakov Lerner wrote: I see several problems (that I can't explain) in the vim refresh-loop watching the growing file (a-la 'tail -f'). Vim commands are below. Problem #1: There is unexpected output on the bottom line

Re: screen update problem during periodic file refresh

2006-09-07 Thread Yakov Lerner
On 9/7/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 9/7/06, Bram Moolenaar [EMAIL PROTECTED] wrote: Yakov Lerner wrote: I see several problems (that I can't explain) in the vim refresh-loop watching the growing file (a-la 'tail -f'). Vim commands are below. Problem #1: There is

Re: text is gone

2006-09-07 Thread A.J.Mechelynck
scott wrote: [...] for homework i am assigning myself the research of as many flavors of indenting as i can find -- my first objective will be to find out exactly how many options are being set with the command :set filtype plugin indent :filetype plugin indent on (note

Re: Vimdiff Oddity

2006-09-07 Thread A.J.Mechelynck
Bill McCarthy wrote: Hello Vim Developers, To better understand what vimdiff is doing (and why it is so slow), I had my shell (4NT under WinXP) keep a log showing me just what was requested. [Note: I use '!' instead of '' for redirection because my 4NT is set to not overwrite existing files

autoread

2006-09-07 Thread Wolfgang Schmidt
Hi, I want to use vim to watch the output of another program (logfile, compilation output, ...). I want to have something like the functionality of the unix tail command, that is, if something new is written to the file, I want the buffer to get updated. I know I can reload the file

Re: autoread

2006-09-07 Thread A.J.Mechelynck
Wolfgang Schmidt wrote: Hi, I want to use vim to watch the output of another program (logfile, compilation output, ...). I want to have something like the functionality of the unix tail command, that is, if something new is written to the file, I want the buffer to get updated. I

Re: autoread

2006-09-07 Thread Yakov Lerner
On 9/7/06, Wolfgang Schmidt [EMAIL PROTECTED] wrote: Hi, I want to use vim to watch the output of another program (logfile, compilation output, ...). I want to have something like the functionality of the unix tail command, that is, if something new is written to the file, I want the

space after command-name completion

2006-09-07 Thread Yakov Lerner
Let's say I have user-defined command XYZ. I typed :X and press tab and get completion :XYZ But the cursor it right after Z and I need to press space. Can I have completion mechanizm to add space for me, too ? Yakov

Re: question about syntax highlighting

2006-09-07 Thread Yakov Lerner
On 9/7/06, Hydrograafia [EMAIL PROTECTED] wrote: hello! i am a c programmer and vim is great tool for me : - ). But one thing i did not like is the current c syntax highlighting. i chaned c.vim a little bit. so i have highlighted function names now but i want them bold also. But if i add a

c and gvim

2006-09-07 Thread SHANKAR R-R66203
Hi All, I am basically a VHDL/verilog guy. But my team has fresh verification engineers who will be using c a lot. I want to know the useful plugins and any other important aspects, when using gvim for editing C/C++ As far as I know and searched - I could get c.vim -- plugin for gvim

Re: Windows: problem with netrw and storing files on FTP server

2006-09-07 Thread A.J.Mechelynck
Matthias Pitzl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello all! Perhaps someone of you got some tipp for me. I'm trying to use the netrw.vim file under MS Windows and i have problems with storing my edited files. Like unter Linux, i can browse the FTP server and load a file

Re: autoread

2006-09-07 Thread Wolfgang Schmidt
Yakov Lerner wrote: On 9/7/06, Wolfgang Schmidt [EMAIL PROTECTED] wrote: Hi, I want to use vim to watch the output of another program (logfile, compilation output, ...). I want to have something like the functionality of the unix tail command, that is, if something new is written to

Re: Windows: problem with netrw and storing files on FTP server

2006-09-07 Thread Matthias Pitzl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A.J.Mechelynck wrote: IIUC, netrw needs external programs for its remote I/O. These programs vary from OS to OS. If the default settings are not OK, you may have to configure them according to what software is installed on your machine. Also,

Re: c and gvim

2006-09-07 Thread A.J.Mechelynck
SHANKAR R-R66203 wrote: Hi All, I am basically a VHDL/verilog guy. But my team has fresh verification engineers who will be using c a lot. I want to know the useful plugins and any other important aspects, when using gvim for editing C/C++ As far as I know and searched - I could get c.vim --

search (and not replace) in multiple files

2006-09-07 Thread Daniel Nogradi
Hi vimmers, I'm sure it has been brought up a couple of times but still I couldn't find an answer to searching through multiple files in a convenient way. What I would like vim to do is: 1. search only for keywords like the * command 2. easy way of jumping between matches like n and N for the *

Re: search (and not replace) in multiple files

2006-09-07 Thread A.J.Mechelynck
Daniel Nogradi wrote: Hi vimmers, I'm sure it has been brought up a couple of times but still I couldn't find an answer to searching through multiple files in a convenient way. What I would like vim to do is: 1. search only for keywords like the * command 2. easy way of jumping between matches

Re: c and gvim

2006-09-07 Thread Vissale NEANG
Hi, You can also use the usefull plugin taglist.vim, it shows you the list of functions prototypes, classes and more in a splitted window. http://www.vim.org/scripts/script.php?script_id=273 If you want to use omni-completion for C++ you can use the OmniCppComplete plugin.

Re: search (and not replace) in multiple files

2006-09-07 Thread Daniel Nogradi
So basically I'm looking for a * command that would have an effect across files. I'm aware of :grep but I couldn't get that to recognize only keywords, it only does a plain grep. Well, something 100% untested would be something like :nnoremap f8 :grep -r 'c-rc-w' *cr The issue with this

Re: search (and not replace) in multiple files

2006-09-07 Thread Tim Chase
Well, something 100% untested would be something like :nnoremap f8 :grep -r 'c-rc-w' *cr The issue with this solution is that it only does a plain grep as I noted in my original mail. It will match the word against *any* appearance of it, for example if your cursor is on the word approx

Re: search (and not replace) in multiple files

2006-09-07 Thread Daniel Nogradi
Well, something 100% untested would be something like :nnoremap f8 :grep -r 'c-rc-w' *cr The issue with this solution is that it only does a plain grep as I noted in my original mail. It will match the word against *any* appearance of it, for example if your cursor is on the word approx

parsing error with ?: usage

2006-09-07 Thread Hari Krishna Dara
I have hit this thrice already, while using the ?: ternary operator, in some conditions, you are forced to put whitespace to separate the operator otherwise Vim gets confused. Here is something that fails: let direction = (a:0?a:1:1) I had this issue before calling script-local functions from

Re: search (and not replace) in multiple files

2006-09-07 Thread Daniel Nogradi
Would this be possible with vim 6? Not using :vimgrep, but you can use :grep in much the same way. :grep -R '^R/' . This is even better, in this way the matching words are highlighted too. If you change the :w to :up, the buffer will be saved only if it has been modified. That's

Re: parsing error with ?: usage

2006-09-07 Thread Tim Chase
this unambiguously? The usage could be even worse, something like: let direction = (a:01?a:2:a:1) Personally, I never leave these sorts of matters to the whims of the parser designer (no offense, Bram :) and always specify just as I would with something as ambiguous as a and b

Re: search (and not replace) in multiple files

2006-09-07 Thread Gary Johnson
On 2006-09-07, Daniel Nogradi [EMAIL PROTECTED] wrote: I'll address a couple of issues that haven't been answered yet. I'm sure it has been brought up a couple of times but still I couldn't find an answer to searching through multiple files in a convenient way. What I would like vim to do is:

Re: glob() and |file-pattern|

2006-09-07 Thread Hari Krishna Dara
Bram, I asked a couple of questions below, but I solved the last one ('ignorecse') by implementing a filter() myself, so it is not an issue. The other question is on why {} works on win32 GVIM (7.0 version compiled by you) is not important, though a confirmation that yes, that is supposed to

Re: completeopt issue

2006-09-07 Thread Bram Moolenaar
Chris Sutcliffe wrote: I'm not sure if this is a bug or if I'm missing something. In my _vimrc file I have: completeopt=preview because I would like to have the preview window to see the function arguments and the return types, but I don't want to have the menu popup (I prefer to

Re: question about syntax highlighting

2006-09-07 Thread Bram Moolenaar
Mattiko Kabanen wrote: i am a c programmer and vim is great tool for me : - ). But one thing i did not like is the current c syntax highlighting. i chaned c.vim a little bit. so i have highlighted function names now but i want them bold also. But if i add a line hi Function gui=bold

Re: question about syntax highlighting

2006-09-07 Thread Peter Hodge
Hello, --- A.J.Mechelynck [EMAIL PROTECTED] wrote: If you have found a colorscheme which satisfies you almost, but not completely, copy it to ~/.vim/colors/ under a different name (ending in .vim) and modify it there. Then you can set gui=bold for Function or cFunction in your own

enabling interpreters in ./configure (build)

2006-09-07 Thread Yakov Lerner
I have this question. Let's say my comp has no perl installed, no python, and no ruby. I invoke ./configure, on this comp, as follows: ./configure ---enable-perlinterp --enable-pythoninterp --enable-rubyinterp What exactly will happen here : 1) configure will succeed and make will succeed

+clientserver on Mac OS X

2006-09-07 Thread Peter Hodge
Hello, Is it possible to run the clientserver feature on Mac OS X? I cannot see anywhere in the help that directly states that clientserver only runs on Windows or X11. regards, Peter regards, Peter On Yahoo!7 Answers:

bug in taglist() and filename

2006-09-07 Thread Hari Krishna Dara
When taglist() returns matches, each match is hash and the filename key gives the filename where the tag is expected to be found. This works as expected, but the problem is that the filename is returned as it is found in the tags file, which could be a relative path from the location of the tags

Re: +clientserver on Mac OS X

2006-09-07 Thread Benji Fisher
On Fri, Sep 08, 2006 at 09:57:41AM +1000, Peter Hodge wrote: Hello, Is it possible to run the clientserver feature on Mac OS X? I cannot see anywhere in the help that directly states that clientserver only runs on Windows or X11. I am pretty sure that this is not implemented for OS X.

Re: parsing error with ?: usage

2006-09-07 Thread A.J.Mechelynck
Hari Krishna Dara wrote: I have hit this thrice already, while using the ?: ternary operator, in some conditions, you are forced to put whitespace to separate the operator otherwise Vim gets confused. Here is something that fails: let direction = (a:0?a:1:1) I had this issue before calling

Re: question about syntax highlighting

2006-09-07 Thread A.J.Mechelynck
Peter Hodge wrote: Hello, --- A.J.Mechelynck [EMAIL PROTECTED] wrote: If you have found a colorscheme which satisfies you almost, but not completely, copy it to ~/.vim/colors/ under a different name (ending in .vim) and modify it there. Then you can set gui=bold for Function or cFunction in

Re: parsing error with ?: usage

2006-09-07 Thread Hari Krishna Dara
On Fri, 8 Sep 2006 at 4:41am, A.J.Mechelynck wrote: Hari Krishna Dara wrote: I have hit this thrice already, while using the ?: ternary operator, in some conditions, you are forced to put whitespace to separate the operator otherwise Vim gets confused. Here is something that fails:

Re: enabling interpreters in ./configure (build)

2006-09-07 Thread A.J.Mechelynck
Yakov Lerner wrote: I have this question. Let's say my comp has no perl installed, no python, and no ruby. I invoke ./configure, on this comp, as follows: ./configure ---enable-perlinterp --enable-pythoninterp --enable-rubyinterp What exactly will happen here : 1) configure will succeed

Re: parsing error with ?: usage

2006-09-07 Thread A.J.Mechelynck
Hari Krishna Dara wrote: [...] I know that this is possible, but as I said previously, it is a force of habit to compact as much as possible in some situations, though I normally prefer using whitespace and parenthesis to improve clarity. Also, the reason I mentioned using spaces is not really

Re: question about syntax highlighting

2006-09-07 Thread Peter Hodge
Hello, Does this actually work for you? IIRC, after colorschemes didn't work for me, so I concluded that :colorscheme foobar is equivalent to :runtime colors/foobar.vim not :runtime! colors/foobar.vim. I'm not quite sure what you mean. 'after' colorschemes had never worked for me

Re: +clientserver on Mac OS X

2006-09-07 Thread A.J.Mechelynck
Benji Fisher wrote: On Fri, Sep 08, 2006 at 09:57:41AM +1000, Peter Hodge wrote: Hello, Is it possible to run the clientserver feature on Mac OS X? I cannot see anywhere in the help that directly states that clientserver only runs on Windows or X11. I am pretty sure that this is not