No Recognition of CR

2007-02-09 Thread j.hofmann
Hello, if I source the following in a script, the CR is recognized literally and not as the CR-Key. So if I click the menu, the :source command appears on the bottom line with a literal CR instead of carrying the command out. (Works normally on other installations.) Why that? silent 11nmenu

Re: editing function argument lists

2007-02-09 Thread Tom Whittock
Hi Marc. The EasyHtml idea is an interesting one, I could take over an entire buffer (window) and put the list editing commands in there, but I am used to dealing with registers and motions in the standard vim sense; I'm not sure how well I would adapt to a new layout. I think I would also have

auto-wrapping text

2007-02-09 Thread Brian Anderson
Hello, I have a simple question about text auto-wrapping. I've looked at the help files, but haven't been able to find the answer to my question. I have some files that have been auto-wrapping (inserting a line-break) when the text gets to the end of the line, then moving down to the next line.

RE: searching for a string that has many '/' characters

2007-02-09 Thread Gene Kwiecinski
I have a string that has lots of forward slashes. I need to search it and delete it (e.g. unix path name). I could use a backslash for everything forward slash and find it in vim. Is there a way I need not do that? For now, I use 'grep -n' to get the line number and then delete it. I don't

RE: How do I replace text with a new line?

2007-02-09 Thread Gene Kwiecinski
S :s/^V^C/\r/ -- ctl-V ctl-C is shorter, else the \%x03 will work fine should do what you want. Thanks very much. Yes that is what I needed. And the text I'm playing with came from some serial data and has STX ETX wrapping the real data.

Re: vim return code

2007-02-09 Thread Charles E Campbell Jr
Martin Krischik wrote: Hello, I often use little vim scripts using vim -E. Now like all executable vim will return a result code after execution. And it is often false which I don't want. Does anybody know how to influence the return value from vim -E? :q :wq :q! -- these are

Pasting into gvim from word: ' tu rns into ¿

2007-02-09 Thread ben lieb
I asked this question before, but it wasn't really resolved. I often have to paste from Word for Windows into vim/gvim (cygwin). Some characters don't transfer properly. Most annoyingly is that a single quote ( ' ) turns into this: ¿ Is there an easy way around this?

paste staircasing

2007-02-09 Thread Ben K.
Hi, Whenever I paste something into vim, it gets staircased. Is there a way to avoid copy/paste being staircased even when I have ai, cin or si turned on? I usually need the options and it's cumbersome to turn them off only for pasting and on again after pasting. 770 |

Re: paste staircasing

2007-02-09 Thread Hugh Sasse
On Fri, 9 Feb 2007, Ben K. wrote: Hi, Whenever I paste something into vim, it gets staircased. Is there a way to avoid copy/paste being staircased even when I have ai, cin or si turned on? I Yes, set paste. See :he paste for more on this. Also :he pastetoggle is good I have in my

RE: Pasting into gvim from word: ' turns into �

2007-02-09 Thread Steve Hall
From: ben lieb, Fri, February 09, 2007 11:58 am I asked this question before, but it wasn't really resolved. I often have to paste from Word for Windows into vim/gvim (cygwin). Some characters don't transfer properly. Most annoyingly is that a single quote ( ' ) turns into this: ¿ Is

RE: Pasting into gvim from word: ' turns into ¿

2007-02-09 Thread Gene Kwiecinski
I asked this question before, but it wasn't really resolved. I often have to paste from Word for Windows into vim/gvim (cygwin). Some characters don't transfer properly. Most annoyingly is that a single quote ( ' ) turns into this: ¿ Is there an easy way around this? Iirr, M$W uses directional

Re: vim return code

2007-02-09 Thread Martin Krischik
Am Freitag 09 Februar 2007 schrieb Charles E Campbell Jr: Martin Krischik wrote: Hello, I often use little vim scripts using vim -E. Now like all executable vim will return a result code after execution. And it is often false which I don't want. Does anybody know how to influence the

Re: vim return code

2007-02-09 Thread Hugh Sasse
On Fri, 9 Feb 2007, Martin Krischik wrote: Am Freitag 09 Februar 2007 schrieb Charles E Campbell Jr: :q :wq :q! -- these are normal quits (:wq also writes) : :cq -- quits, but Vim will return an error code Thats exactly as far as I came without help. Now, what I was looking for

Re: vim return code

2007-02-09 Thread Frodak
--- Martin Krischik wrote: Hello, I often use little vim scripts using vim -E. Now like all executable vim will return a result code after execution. And it is often false which I don't want. Does anybody know how to influence the return value from vim -E? Martin -- Martin

RE: Pasting into gvim from word: ' turns into ¿

2007-02-09 Thread Gene Kwiecinski
Thanks for the feedback. Well, this is kind of over my head. I guess a better question is why can't vi handle that character (or others)? Is this an encoding thing? Both 'encoding' and 'fileencoding' are set to 'Latin1'. Could this be my problem? I would figure that vi would internally convert

RE: Pasting into gvim from word: ' turns into �

2007-02-09 Thread Steve Hall
From: ben lieb, Fri, February 09, 2007 12:54 pm Steve Hall wrote: From: ben lieb, Fri, February 09, 2007 11:58 am I often have to paste from Word for Windows into vim/gvim (cygwin). Some characters don't transfer properly. It could just be a font issue, make sure your gvim font

Re: Pasting into gvim from word: ' turns into ¿

2007-02-09 Thread Phil Edwards
On 2/9/07, ben lieb [EMAIL PROTECTED] wrote: Some characters don't transfer properly. Most annoyingly is that a single quote ( ' ) turns into this: ¿ That's not actually a single quote; what you're seeing is Word's smart quote feature, which tries to do begin- and end-quotes. Like `` and ''

RE: Using (g)vim without installing it

2007-02-09 Thread Eric Leenman
[...] Try downloading Steve Hall's self-installer from https://sourceforge.net/project/showfiles.php?group_id=43866package_id=39721 and telling it to install into a Vim folder under your My documents folder. I tried just now. But when I select a different directory then the

RE: Pasting into gvim from word: ' turns into �

2007-02-09 Thread Frodak
--- Steve Hall wrote: From: ben lieb, Fri, February 09, 2007 12:54 pm Steve Hall wrote: From: ben lieb, Fri, February 09, 2007 11:58 am I often have to paste from Word for Windows into vim/gvim (cygwin). Some characters don't transfer properly. It could just be a

How to configure the VIM to avoid the hassle

2007-02-09 Thread frank wang
Hi, I have vim 7.0 installed on fedora. Each time after I starts the vim and press the movement key, j,k l, h, vim will automatically change to insert mode and add one empty line in it. I have to press ESC and u to undo it. How can I change this back to normal vim, so the j,k,l,h key is movement

Re: How to configure the VIM to avoid the hassle

2007-02-09 Thread Tim Chase
I have vim 7.0 installed on fedora. Each time after I starts the vim and press the movement key, j,k l, h, vim will automatically change to insert mode and add one empty line in it. I have to press ESC and u to undo it. How can I change this back to normal vim, so the j,k,l,h key is movement

Re: How to configure the VIM to avoid the hassle

2007-02-09 Thread frank wang
Thank you very much. It is my .vimrc problem. It is cause by the following mapping: map C-[ C-T I copied this mapping from internet, it will pop up the tab. Why it is causing the problem. I do not know. Frank On 2/9/07, Tim Chase [EMAIL PROTECTED] wrote: I have vim 7.0 installed on fedora.

Re: searching for a string that has many '/' characters

2007-02-09 Thread Gary Johnson
On 2007-02-02, [EMAIL PROTECTED] wrote: I have a string that has lots of forward slashes. I need to search it and delete it (e.g. unix path name). I could use a backslash for everything forward slash and find it in vim. Is there a way I need not do that? For now, I use 'grep -n' to get the

display aberrations on Mac

2007-02-09 Thread Alan G Isaac
I'm using Vim 7 on a Macbook Pro (Intel) with OS X 10.4.8. With gvim I'm seeing some aberrant display: the occasional character will only half or 3/4 drawn, and :redr does not fix it. (However moving the cursor across it in normal mode does fix it.) Is this a known problem, and is there a fix?

Re: display aberrations on Mac

2007-02-09 Thread Kev
I had this problem when using a G4 Powerbook with Vim 7. The issue began when I changed from the default font. Unfortunately I do not have a fix for the problem, only a suggestion. Try different fonts including changing the font size. Good luck, Kevin Alan G Isaac wrote: I'm using Vim 7 on

Re: auto-wrapping text

2007-02-09 Thread A.J.Mechelynck
Brian Anderson wrote: Hello, I have a simple question about text auto-wrapping. I've looked at the help files, but haven't been able to find the answer to my question. I have some files that have been auto-wrapping (inserting a line-break) when the text gets to the end of the line, then moving

Re: Pasting into gvim from word: ' turns into ¿

2007-02-09 Thread A.J.Mechelynck
Frodak wrote: --- Steve Hall wrote: From: ben lieb, Fri, February 09, 2007 12:54 pm Steve Hall wrote: From: ben lieb, Fri, February 09, 2007 11:58 am I often have to paste from Word for Windows into vim/gvim (cygwin). Some characters don't transfer properly. It could just be a font

Re: How to configure the VIM to avoid the hassle

2007-02-09 Thread A.J.Mechelynck
frank wang wrote: Thank you very much. It is my .vimrc problem. It is cause by the following mapping: map C-[ C-T I copied this mapping from internet, it will pop up the tab. Why it is causing the problem. I do not know. Frank 1. Bottom-posting is preferred in the Vim mailing lists. 2.