🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #195808

Re: [slrn] vim Focus

#195808
From: Troy Piggins
Date: Wed, 21 Feb 2007 03:54
33 lines
2291 bytes
* Blinky the Shark is quoted & my replies are inline below :
> Troy Piggins wrote:
>> * Blinky the Shark is quoted & my replies are inline below :
>>> slrn/vim/KDE
>>>
>>> I'm tired of hitting Alt-Esc every time, to get from slrn to vim
>>> whenever I compose a post.  Any way to get my Window focus to the editor
>>> once its window opens?
>>>
>>> .slrnrc:
>>>
>>> set editor_command "gvim -f '+set tw=72' '%s'" 
>>
>> s/gvim/vim/
>
> Normally, I just try stuff from trusted sources.  This time I have to
> ask: how will that move my focus?  (I can see where it will run an
> editor version I don't wish to use.)

It won't move your focus.  Your focus will never leave slrn's
window.  But slrn will change to vim in that window, you compose
your post, then once you save and quit vim return back to slrn.

My editor_command is "vim '+set ft=mail' '+set tw=65' '+%d' '%s'"

Sorry, I thought that's the way most compose posts and
mails.  Same as mutt.

-- 
Troy Piggins             ,-O   (o-    O         All your sigs are belong to us.
http://piggo.com/~troy  O   )  //\     O
RLU#415538               `-O   V_/_  OOO
hackerkey://v3sw5HPUhw5ln4pr6OSck1ma9u6LwXm5l6Di2e6t5MGSRb8OTen4g7OPa3Xs7MIr8p7
Technical Details
Message-ID: <20070221135040@usenet.piggo.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
References: <slrnetna6j.nl3.no.spam@thurston.blinkynet.net> <20070221124701@usenet.piggo.com> <slrnetnekv.nl3.no.spam@thurston.blinkynet.net>

Show Full Headers
Complete Article Headers
Message-ID: <20070221135040@usenet.piggo.com>
Subject: Re: [slrn] vim Focus
Date: Wed, 21 Feb 2007 13:54:58 +1000
From: Troy Piggins <usenet@piggo.com>
References: <slrnetna6j.nl3.no.spam@thurston.blinkynet.net> <20070221124701@usenet.piggo.com> <slrnetnekv.nl3.no.spam@thurston.blinkynet.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
Newsgroups: news.software.readers
X-NNTP-Proxy: Leafnode-2
 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/)
User-Agent: slrn/0.9.8.1pl1/rt (Linux)
Lines: 33
NNTP-Posting-Host: 203.206.121.193
X-Trace: 1172030449 per-qv1-newsreader-01.iinet.net.au 5445 203.206.121.193