Strange redraw problem on x86-64 Linux

2006-06-01 Thread Ron Aaron
I'm using Frugalware x86-64 as my Linux distro on my server machine. For some reason, gvim (compiled with --enable-features=big) has a very strange redraw problem, which is that it doesn't properly redraw the screen if the vim window is obscured, and requires ^L to redraw. The problem also seems

Re: Strange redraw problem on x86-64 Linux

2006-06-01 Thread Ron Aaron
I'm using Frugalware x86-64 as my Linux distro on my server machine. For some reason, gvim (compiled with --enable-features=big) has a very strange redraw problem, which is that it doesn't properly redraw the screen if the vim window is obscured, and requires ^L to redraw. I should add that

matchparen bug?

2006-06-01 Thread Jared
I think I found a bug in in the matchparen feature of Vim 7. I'm using the 7.0 binary release for Windows XP. When I'm in Insert mode and moving across lines, if the cursor passes over a paren (defined here as any character in the matchpairs option), the cursor will stay in the column position

Re: Strange redraw problem on x86-64 Linux

2006-06-01 Thread Ron Aaron
I'm using Frugalware x86-64 as my Linux distro on my server machine. Aha! When I change to a bitmap font the display problem seems to go away! TrueType and PS fonts look ugly.

Re: matchparen bug?

2006-06-01 Thread Ilya
Jared wrote: [...] When I'm in Insert mode and moving across lines, if the cursor passes over a paren (defined here as any character in the matchpairs option), the cursor will stay in the column position when moving to the next line. See the following code for an example: let

Re: Netbeans Interface

2006-06-01 Thread Sebastian Menge
Am Donnerstag, den 01.06.2006, 16:08 +0200 schrieb Sebastian Menge: Or does it mean that i have to compile my own vim with disabled gui-support and enabled netbeans? I forgot to mention what I want to do ... I want to communicate via the netbenas-protocol with a vim in a terminal. That vim

Re: Netbeans Interface

2006-06-01 Thread Sebastian Menge
Am Donnerstag, den 01.06.2006, 12:49 -0700 schrieb Xavier de Gaye: Netbeans can only be used with gvim compiled either with GTK, Motif, or with the Windows version of gvim. It cannot be used with plain vim running in a terminal. No workaround? The communication itself does not need the gui.

Re: Netbeans Interface

2006-06-01 Thread Xavier de Gaye
--- Sebastian Menge [EMAIL PROTECTED] wrote: Under *netbeans-configure* it is said, that only gvim is supported. Does that mean i never can use the netbeans-interface in a terminal (since the dependency on gvim is hardcoded in netbeans.c)? Or does it mean that i have to compile my own vim

Re: Netbeans Interface

2006-06-01 Thread Xavier de Gaye
--- Sebastian Menge [EMAIL PROTECTED] wrote: Am Donnerstag, den 01.06.2006, 12:49 -0700 schrieb Xavier de Gaye: Netbeans can only be used with gvim compiled either with GTK, Motif, or with the Windows version of gvim. It cannot be used with plain vim running in a terminal. No workaround?

Redraw bug on WinXP with non-GUI tab line.

2006-06-01 Thread Ilya
Hello. I've found bug in vim version VIM - Vi IMproved 7.0 (2006 May 7, compiled May 25 2006 04:17:33) MS-Windows 32 bit GUI version with OLE support Included patches: 1-17 In case incremental search is on, tab line some times is not visible. Steps to reproduce: gvim -u NONE -U NONE :e 1.txt

Re: Redraw bug on WinXP with non-GUI tab line.

2006-06-01 Thread Eric Arnold
It appears that the first key of any incremental search to a point far enough down in the file (i.e. a page below the displayed area) will cause it. Typing any additional key brings the tabline back. I fiddled around with TabLineSet.vim, but it appears that the bug is in the code that decides

commandline window

2006-06-01 Thread mzyzik
All, Is there an elegant way of checking if the current window is a command line window other than seeing if the buffer name is command-line ? --Matt

Re: commandline window

2006-06-01 Thread Yegappan Lakshmanan
Hi, On 6/1/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: All, Is there an elegant way of checking if the current window is a command line window other than seeing if the buffer name is command-line ? You can use the CmdwinEnter and CmdwinLeave autocmds and set buffer-local variables. -

Re: Filter :map output

2006-06-01 Thread Eric Arnold
On 6/1/06, Eric Leenman [EMAIL PROTECTED] wrote: Hi, Is it possible to filter the :map output? For example to only show the mappings that have CTRL or C- in it? I don't think so, but you can :redir into a register, put into a buffer, or use split(), filter(), etc. I don't see a way to loop

regex question

2006-06-01 Thread Eric Arnold
Sorry if I've got brain lock on this, but is it possible to match a substring like match wildmenu ;\(directory\)\{3,}; such that it will match three or more substring chars of the pattern to match dir as well as directory? (I know the above format isn't this.) I know I could do it if I could

Loop through all lines in a file

2006-06-01 Thread Johannes Schwarz
Hello, I'm trying to write my first vim-plugin, but I got stucked. I managed to execute an external command, which gives me back a list of filenames. One filename per line. For each of the filenames I want to execute another command. I tried it with code: let line=getline(.) while

Re: Loop through all lines in a file

2006-06-01 Thread Eric Arnold
On 6/1/06, Johannes Schwarz [EMAIL PROTECTED] wrote: Hello, I'm trying to write my first vim-plugin, but I got stucked. I managed to execute an external command, which gives me back a list of filenames. You need to say exactly how you executed the command, since that will define how the

Re: regex question

2006-06-01 Thread Benji Fisher
On Thu, Jun 01, 2006 at 05:05:00AM -0600, Eric Arnold wrote: Sorry if I've got brain lock on this, but is it possible to match a substring like match wildmenu ;\(directory\)\{3,}; such that it will match three or more substring chars of the pattern to match dir as well as directory? (I

Re: regex question

2006-06-01 Thread Eric Arnold
On 6/1/06, Benji Fisher [EMAIL PROTECTED] wrote: On Thu, Jun 01, 2006 at 05:05:00AM -0600, Eric Arnold wrote: Sorry if I've got brain lock on this, but is it possible to match a substring like match wildmenu ;\(directory\)\{3,}; such that it will match three or more substring chars of the

Re: Loop through all lines in a file

2006-06-01 Thread Eric Arnold
On 6/1/06, Benji Fisher [EMAIL PROTECTED] wrote: ... let line=getline(.) while (strlen(line)!=0) do sth. here -- construct the external command and so on j let line=getline(.) endwhile Remember that a vim script (including a plugin) is a list of commands in Command-Line (Ex)

Re: Antw: Re: Loop through all lines in a file

2006-06-01 Thread Tim Chase
In the meantime I found a solution myself: let s:lnr=line(.) let s:image=getline(s:lnr) while (strlen(s:image) != 0) let s:lnr=s:lnr+1 let s:image=getline(s:lnr) endwhile I'm not that familiar with the global commands yet,

Re: gvim 7.0 does not display files in the same directory again

2006-06-01 Thread PoWah Wong
This problem only occur when I click the gvim icon which I created on the KDE menu. When I start gvim on the shell, then there is no problem. Both icon and shell refer to the same /usr/local/bin/gvim program. I copied the .gvimrc file to the ~ directory. KDE version is 2.2-11. - Original

Re: gvim 7.0 does not display files in the same directory again

2006-06-01 Thread Charles E Campbell Jr
Charles E Campbell Jr wrote: PoWah Wong wrote: When I use gvim to open files, the first time it will display all the files in the directory A. After I open a file, when I try to open files in the same directory A, it does not display any files, i.e. the directory A is displayed as

Inevitable VIM plug-in for eclipse?

2006-06-01 Thread Furash Gary
As much as I love vim (write school papers, do meeting notes, program), in the software side of the world everything seems to be going eclipse. Particularly as you have these complex software frameworks, and eclipse does stuff to modify them. Are there any plans as part of the main VIM project

Re: Inevitable VIM plug-in for eclipse?

2006-06-01 Thread Russell Bateman
http://www.satokar.com/viplugin/index.php?MMN_position=7:7 Not sure of the main page for this tool as I'm at work (where I don't use Java), but I have it at home. This will get you there, though. I am using this and it work fine. It's worth the paltry sum I paid for it. It's not Vim, but

Re: Inevitable VIM plug-in for eclipse?

2006-06-01 Thread Eric Arnold
I don't know much about eclipse. Does it allow you to embed your own editor as the default editing window? On 6/1/06, Furash Gary [EMAIL PROTECTED] wrote: As much as I love vim (write school papers, do meeting notes, program), in the software side of the world everything seems to be going

Re: gvim 7.0 does not display files in the same directory again

2006-06-01 Thread PoWah Wong
:pwd show /home/powah Session are: (select file)cr :pwd /home/powah :e . Netrw Directory Listing(netrw v98) /home/powah Sorted by name Sort sequence:

Re: put (paste) from windows clipboard into vim

2006-06-01 Thread Georg Dahn
Hi! There is another possibility: Shift-Ins = paste Ctrl-Ins = copy Shift-Del = cut These shortcuts work even without sourcing mswin.vim (BTW, I don't recommend sourcing mswin.vim) and have the advantage that they work in all Windows applications. Best wishes, Georg Evan H. Carmi wrote:

Fw: [Ctags] Ctags-5.6 released

2006-06-01 Thread Yegappan Lakshmanan
- Forwarded Message From: Darren Hiebert [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 30, 2006 4:26:23 PM Subject: [Ctags] Ctags-5.6 released Hello friends, I know it has been an eternity since my previous release of ctags and I hope you are patient with me. Don't expect

Re: vim7: E788 is too restrictive

2006-06-01 Thread Hari Krishna Dara
On Wed, 31 May 2006 at 11:47pm, Christian J. Robinson wrote: Today (Wed, 31 May 2006), Hari Krishna Dara wrote: The handling of FileChangedRO was never smooth for me. As a workaround, I am thinking of avoiding a reload altogether and just mark the buffer as 'noro'. I relied upon the

Re: Inevitable VIM plug-in for eclipse?

2006-06-01 Thread Yegappan Lakshmanan
Hello, On 6/1/06, Furash Gary [EMAIL PROTECTED] wrote: As much as I love vim (write school papers, do meeting notes, program), in the software side of the world everything seems to be going eclipse. Particularly as you have these complex software frameworks, and eclipse does stuff to modify

RE: Inevitable VIM plug-in for eclipse?

2006-06-01 Thread Furash Gary
Oooo... Coool. Thanks! -Original Message- From: Yegappan Lakshmanan [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 11:09 AM To: Furash Gary Cc: vim@vim.org Subject: Re: Inevitable VIM plug-in for eclipse? Hello, On 6/1/06, Furash Gary [EMAIL PROTECTED] wrote: As much as I

Re: Support for the idutils in vim?

2006-06-01 Thread Yegappan Lakshmanan
Hi Timothy, On 6/1/06, Timothy Knox [EMAIL PROTECTED] wrote: Is there any support for the GNU idutils http://www.gnu.org/software/idutils/ in vim? For those not familiar with the idutils, they are somewhat like ctags, only faster? You can try using the lid.vim plugin:

Reassigning F keys in eVim

2006-06-01 Thread John R. Culleton
I want to create a special application for MSWin machines that works somewhat as follows: When clicked a .bat file calls evim with a script or whatever that adds certain F key functions, e.g., F3 activates an external program. The equivalent map command would be imap F3 Ctrl-O:!pdftex

Re: Reassigning F keys in eVim

2006-06-01 Thread Eric Arnold
Try importing via a file sourced by -S On 6/1/06, John R. Culleton [EMAIL PROTECTED] wrote: I want to create a special application for MSWin machines that works somewhat as follows: When clicked a .bat file calls evim with a script or whatever that adds certain F key functions, e.g., F3

Re: Reassigning F keys in eVim

2006-06-01 Thread Gerald Lai
On Thu, 1 Jun 2006, John R. Culleton wrote: [snip] functions, e.g., F3 activates an external program. The equivalent map command would be imap F3 Ctrl-O:!pdftex book.texCra [snip] When I try to import such a string it just gets added to the file as text. [snip] Change Ctrl-O to C-O:

Re: gvimrc vs vimrc

2006-06-01 Thread A.J.Mechelynck
Xiangjiang Ma wrote: Tony, You are right. Now, one vimrc works on Windows and unix with mixture of version 6, version 7. Based on your suggestion, I have replaced for loop with while loop, and it worked! PS: script for sug in s:suglist exe 'amenu 1.5.'.pri.'