Re: Font Rendering Issues on Linux But Not Windows

2011-06-20 Thread Mathew Brown
By the way Tony, even a normal font such as Deja Sans Mono displays fine when you move the cursor over it. It's once it loses focus (by you Alt-Tabing to a new window) or by scrolling to the bottom of the screen so that the text is no longer visible that the text becomes garbled. And as I said

Re: Vim lines… and poetry

2011-06-20 Thread ThG
Thank you very much for your answer. Your suggestions will ask for some time to study (I am just above beginner's level in Vim). I shall mail you - if you do not mind - if I need clarification about those two tools. Thanks again. On Jun 19, 11:56 pm, John Magolske listm...@b79.net wrote: Hi, *

Re: Vim lines… and poetry

2011-06-20 Thread ThG
Thank you for your answer. This is what I did : - I created a small file testpoetry.txt with the aforementioned stanza - I then typed :','s/$/\=repeat(' ', $COLUMNS- strlen(getline('.')))/|','-1s/\n - nothing happened, except a message : 4 substitutions on 4 lines E486: Pattern not found: \n -

Re: Font Rendering Issues on Linux But Not Windows

2011-06-20 Thread Tony Mechelynck
On 20/06/11 09:04, Mathew Brown wrote: By the way Tony, even a normal font such as Deja Sans Mono displays fine when you move the cursor over it. It's once it loses focus (by you Alt-Tabing to a new window) or by scrolling to the bottom of the screen so that the text is no longer visible that

Re: remove all except pattern

2011-06-20 Thread Tim Chase
On 06/20/2011 07:19 AM, rameo wrote: On Jun 20, 1:50 am, Tim Chasev...@tim.thechases.com wrote: hello this is an example, hello to everybody example hello I do a search for hello My output has to be: hellohello hello or hello hello hello My first thought would be something

Re: problems in the key mapping in vimrc

2011-06-20 Thread Tony Mechelynck
On 19/06/11 20:28, milton_viziak wrote: commands appears when I type this message: No mapping found If Vim replies that, then it means that your mappings have either not been taken into account, or else something has removed them. This could be hard to debug. Are you sure you have mappings

Re: Exasperated with folding

2011-06-20 Thread Eric Weir
On Jun 19, 2011, at 10:41 PM, Vlad Irnov wrote: 2) Copy the following code into it. WARNING: long lines may get split during posting. With that in mind I'm uncertain whether the line below should wrap, i.e., whether the stuff in parens should be on a second line. this is one line

Re: remove all except pattern

2011-06-20 Thread rameo
Hi TIm, this is the output of the text when I use your command %s/\w\+/ \=submatch(0)=~'hello'?submatch(0):'' : hello this is an example, hello to everybody hello this is the output of the text when I use your command %s/\w\+\W*/ \=submatch(0)=~'hello'?submatch(0):'' : hello this is an

!start /b command and file redirection

2011-06-20 Thread Ben Fritz
I was excited to try the new /b option added to the :!start command, which runs an external command without launching a cmd window. When I tried it, however, I discovered that I cannot get the output of this command to a temporary file using file redirection as I expected. Looking at the help, it

Re: remove all except pattern

2011-06-20 Thread Tim Chase
On 06/20/2011 10:00 AM, rameo wrote: hello this is an example, hello to everybody hello this is the output of the text when I use your command %s/\w\+\W*/ \=submatch(0)=~'hello'?submatch(0):'' : hello this is an example, hello to everybody hello Ah...it looks like it was missing the g

Re: !start /b command and file redirection

2011-06-20 Thread Ben Fritz
On Jun 20, 10:53 am, Ben Fritz fritzophre...@gmail.com wrote: If there is actually some way to accomplish getting the stdout output of a program without opening a cmd window, I'd sure like to know it! I suppose I should also explain what I'm trying to accomplish, in case there's a better

Re: remove all except pattern

2011-06-20 Thread rameo
Thank you, yes now it works with hello. It doesn't work p.e. with emails. This is my command to search emails: \([A-Z0-9+_.-]\+@\([A-Z0-9-]\+\.\)\+[A-Z]\{2,6}\) p.e. myem...@mydomain.com hello myotherem...@mydomain.com hello mylatestem...@mydomain.co.uk Putting that in your command gives an

Re: remove all except pattern

2011-06-20 Thread Tim Chase
On 06/20/2011 11:35 AM, rameo wrote: This is my command to search emails: \([A-Z0-9+_.-]\+@\([A-Z0-9-]\+\.\)\+[A-Z]\{2,6}\) p.e. myem...@mydomain.com hello myotherem...@mydomain.com hello mylatestem...@mydomain.co.uk Putting that in your command gives an empty output (it removes the emails).

Re: remove all except pattern

2011-06-20 Thread rameo
Hi, Thank you for replying. I use this command to put all matches on a new line: :let @a=CR:%s//\=setreg('A', submatch(0), 'l')/gCR:%d _CR:put aCR:0d _CR I can't find out how to keep them on the same line. I tried this command: %s/\(^\|\(hello\)\@=\).\{-}\($\|hello\)\@=//g It works with text

Re: Exasperated with folding

2011-06-20 Thread Vlad Irnov
On Jun 20, 8:55 am, Eric Weir eew...@bellsouth.net wrote: On Jun 19, 2011, at 10:41 PM, Vlad Irnov wrote: 2) Copy the following code into it. WARNING: long lines may get split during posting. With that in mind I'm uncertain whether the line below should wrap, i.e., whether the stuff

Re: Exasperated with folding

2011-06-20 Thread Eric Weir
On Jun 20, 2011, at 2:12 PM, Vlad Irnov wrote: Thanks, Vlad. I've copied the script from the github. Folding is not working for me very well, not at all really. When I first tried it on the readme.markdown file I managed to get a partial fold on the first header, but not on any others. I