Thread View: news.software.readers
6 messages
6 total messages
Started by Arthur
Sat, 21 Aug 1999 00:00
Using vim with slrn
Author: Arthur
Date: Sat, 21 Aug 1999 00:00
Date: Sat, 21 Aug 1999 00:00
9 lines
1126 bytes
1126 bytes
If I edit my .slrnrc file and replace all mention of jed with pico, when I post a message pico comes up as my editor. However, if I replace all mention of jed with vim, vim never starts. I've even tried including the full path. Is there a trick to getting vim to work with slrn? I'm not that familiar with the vim editor, but I would like to learn how to use it. Thanks
Re: Using vim with slrn
Author: David Efflandt
Date: Sat, 21 Aug 1999 00:00
Date: Sat, 21 Aug 1999 00:00
26 lines
1925 bytes
1925 bytes
On 21 Aug 1999 13:01:17 GMT, Hugh Lawson <hglawson@nr.infi.net> wrote: >On 21 Aug 1999 01:55:25 GMT, Arthur <wyshbone@panix.com> wrote: >>If I edit my .slrnrc file and replace all mention of jed with pico, when I >>post a message pico comes up as my editor. However, if I replace all >>mention of jed with vim, vim never starts. I've even tried including the >>full path. Is there a trick to getting vim to work with slrn? I'm not that >>familiar with the vim editor, but I would like to learn how to use it. > >That's interesting; on my slrn, vi was the default editor I had before I >set up my .slrnrc. I changed it to pico. Same here, in Linux RH 5.2 I changed the editor from vi to pico. I think Hugh's problem is that vim is not in his path, 'type vim' results in 'type: vim not found', but 'man vi' shows manpage for vim. So 'vim' is likely in his path masquerading as '/bin/vi'. >-- >Hugh Lawson >Greensboro, North Carolina >hglawson@nr.infi.net -- David Efflandt efflandt@xnet.com http://www.xnet.com/~efflandt/ http://www.de-srv.com/ http://cgi-help.virtualave.net/
Re: Using vim with slrn
Author: Hugh Lawson
Date: Sat, 21 Aug 1999 00:00
Date: Sat, 21 Aug 1999 00:00
17 lines
1217 bytes
1217 bytes
On 21 Aug 1999 01:55:25 GMT, Arthur <wyshbone@panix.com> wrote: >If I edit my .slrnrc file and replace all mention of jed with pico, when I >post a message pico comes up as my editor. However, if I replace all >mention of jed with vim, vim never starts. I've even tried including the >full path. Is there a trick to getting vim to work with slrn? I'm not that >familiar with the vim editor, but I would like to learn how to use it. That's interesting; on my slrn, vi was the default editor I had before I set up my .slrnrc. I changed it to pico. -- Hugh Lawson Greensboro, North Carolina hglawson@nr.infi.net
Re: Using vim with slrn
Author: Heikki Kantola
Date: Sun, 22 Aug 1999 00:00
Date: Sun, 22 Aug 1999 00:00
32 lines
2559 bytes
2559 bytes
David Efflandt <efflandt@xnet.com> informed news.software.readers with the following: >On 21 Aug 1999 13:01:17 GMT, Hugh Lawson <hglawson@nr.infi.net> wrote: >>On 21 Aug 1999 01:55:25 GMT, Arthur <wyshbone@panix.com> wrote: >>>If I edit my .slrnrc file and replace all mention of jed with pico, when I >>>post a message pico comes up as my editor. However, if I replace all >>>mention of jed with vim, vim never starts. I've even tried including the >>>full path. Is there a trick to getting vim to work with slrn? I'm not that >>>familiar with the vim editor, but I would like to learn how to use it. >> >>That's interesting; on my slrn, vi was the default editor I had before I >>set up my .slrnrc. Quite understandable, if there's no other editor settings, Slrn looks for enviroment variable EDITOR, which defaults to vi. >Same here, in Linux RH 5.2 I changed the editor from vi to pico. I think >Hugh's problem is that vim is not in his path, 'type vim' results in >'type: vim not found', but 'man vi' shows manpage for vim. So 'vim' is >likely in his path masquerading as '/bin/vi'. If /bin/vi is actually vim, it might be useful to make symbolic link to allow using the true name of the program. Of course, that requires root privileges or co-operative system administrator... -- Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI> L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta tunnilta.
Re: Using vim with slrn
Author: Kevin Luu
Date: Sun, 22 Aug 1999 00:00
Date: Sun, 22 Aug 1999 00:00
19 lines
1318 bytes
1318 bytes
To enable vim as the default editor for slrn, and this to your .slrnrc file: set editor_command "vim" kevin On 21 Aug 1999 01:55:25 GMT, Arthur <wyshbone@panix.com> wrote: >If I edit my .slrnrc file and replace all mention of jed with pico, when I >post a message pico comes up as my editor. However, if I replace all >mention of jed with vim, vim never starts. I've even tried including the >full path. Is there a trick to getting vim to work with slrn? I'm not that >familiar with the vim editor, but I would like to learn how to use it. > >Thanks
Re: Using vim with slrn
Author: Scott Sellers
Date: Sun, 22 Aug 1999 00:00
Date: Sun, 22 Aug 1999 00:00
18 lines
1070 bytes
1070 bytes
Kevin Luu <kluu@localhost.suse.de>:
>
>To enable vim as the default editor for slrn, and
>this to your .slrnrc file:
>
> set editor_command "vim"
>
Yes. As a refinement:
set editor_command "vim %s +%d"
skips the cursor past the headers to the attribution line.
--
Scott Sellers |
(sds@cts.com) |
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads