Ohmster wrote:
> Blinky the Shark < @ > wrote in
> news:slrnfdn62k.6jj. @ :
>
>> Hey, plug this into your vimrc and see if it reformats the way you
>> want after you've edited a bunch of a reply. (I saw your req in .)
>>
>> au BufNewFile,BufRead ~/.article,~/.followup :nmap
>> $
>>
>> Do a bunch of editing; more than one para; make lines lengths ugly.
>>
>> Then press F5.
>
> Blinky,
>
> When I use vim as my editor in slrn, the lines wrap by themselves so the F5
> macro is not essential. I did want to use it though for a different news
Okay. That's not always the case with my version of vim, when I go back
and do editing in the middle of a line/paragraph.
> posting program, newspost which is a command line program that calls my
> EDITOR, vim in my case, for doing the text preface file. I tried to use F5
> in that and it did not do anything. I was able to use upper case Q
Look at the macro. It works when the file it's editing is named
.article or .followup (new post or reply). The other program isn't
going to be passing those filenames along to vim, so the macro isn't
going to activage. IOW, it's doing just what it's supposed to do --
only be mapped to F5 when being used within slrn.
> I would like to use this macro for that because newspost does not offer any
> auto-wrapping feature like slrn does with vim, any idea of how to make it
> work?
Nope.
--
Blinky RLU 297263
Killing all posts from Google Groups
The Usenet Improvement Project:
<----------- New Site Aug 28