Invoking Vi in Slrn - Text Wrap

Matt Florido matt at floridonet.com
Sat Apr 21 15:07:48 UTC 2007


* Matt Florido <matt at floridonet.com> [04-21-2007 08:04]:

> Does anyone still use slrn?
> 
> I'm trying to find how to invoke vi from slrn and have vi start with
> wrapping text at 72 characters.  Any help is appreciated.  Here's all
> that is stated on .slrnrc
> 
> % Command used to invoke editor.  In the following example, %s
> % represents
> % the file name and %d represents the starting line number
> %set editor_command "jed '%s' -g %d -tmp"
> %set editor_command "pico -t +%d '%s'"
> set editor_command "vi '%s'"
> 

Found it: set editor_command "vim '+set tw=72' +%d '%s'"

-- 
Regards,
Matt Florido




More information about the users mailing list