🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #171567

Re: [slrn] external editor and sorting

#171567
From: The Ohmster
Date: Thu, 18 Aug 2005 23:59
66 lines
4587 bytes
On 2005-08-17, Blinky the Shark <no.spam@box.invalid> wrote:
> The Ohmster wrote:
>> On 2005-08-17, Blinky the Shark <no.spam@box.invalid> wrote:
>>> SINNER wrote:
>>>

>> Man, I gotta learn vim a little better. This is a major pain in the ass
>> having to count down like 23 lines, then pressing the numbers 23, then
>> pressing dd in order to delete a block of text for a followup. Perhaps
>> there is a better way that I have not found yet.
>
> Go to the first line you want to delete and hold down the d key until
> it's all gone.

> As for me, I have a macro installed in slrn so that I can go to the
> first line I want to dele, hit v to enter visual mode, go to the last
> line I want to dele, and then hit ,.  (comma period).  That not only
> deletes what I've highlighted but adds

Wow! I just found out that I put the paragraphs below in the wrong place
so I zipped over to blinky's vim cookbook:
http://www.oualline.com/vim-cook.html#moving_visual

...and found that I could move all of this text in the blink of an eye
by highlighting in visual mode, press d to delete, move the cursor where
you want it, and then press p to paste, and it worked! Just like that!
Oh man this is just way too cool for one man to take all at once,
perhaps I had better go lay down for a while now. :)

Holy crap! I just pressed the v key in vim while replying and the editor
told me that I was in visual mode. Now I can arrow down a whole bunch of
text and it highlights, then hit the delete key and guess what? It is
all gone, poof, just like that! Jesus, this vim stuff just gets better
every day man. In the beginning I was thinking of going back to pico
again because it seems easier but I told myself that if I do that, then
I will never really learn all about vim and vim is good stuff.

It must be because just about any serious Linux admin will use vi for
editing system files and for that, you cannot use any BS editor that
does weird shit to the file, it must be clean text. So I started using
vi, hunting, referring, and poking my way through it. Since deciding to
give slrn a real chance and then using vim for the editor, whole new
worlds have open up. This just keeps getting better man!


><snip>
>
> with a blank line above and below, as pictured here.
>

Oh boy, carat or dollar sign (^ $) to move to end and beginning of line,
just grabbed that tidbit from the vim quickref card. Will have to
actually print that darned thing, with crappy Times New Roman font and
all (Somebody *please* convert that pdf card to Arial, Helvetica, or
even Lucida Console for God's sake! How can I read this card with those
darned curly Q fonts?!), it is just too good to leave on the web like
that. Now if there were a "Home" and "End" key equivalent for vim in
INSERT mode, that would really rock.

Okay okay, I am going on and on here, but I really am a happy camper,
you guys rock, thank you all very much.

-- 
~Ohmster
"Read Ohmster" in subject, bypass spam filter.
ohmster /a/t/ newsguy dot com
Technical Details
Message-ID: <slrndga8ac.dh1.ohmster@ohmster.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!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!bigfeed.bellsouth.net!bignumber.bellsouth.net!news.bellsouth.net!bignews4.bellsouth.net.POSTED!3dfe8c4a!not-for-mail
References: <Xns96B28AF298750MyBigKitty@216.77.188.18> <Xns96B291DF45886MyBigKitty@216.77.188.18> <slrndfv3ks.2sn.richr@durandal.multijoy.com> <slrndfv5qj.8m9.ohmster@ohmster.com> <4ii4t2x288.ln2@news.gates-of-hell.com> <slrndg52j0.9f3.ohmster@ohmster.com> <ulgat2xoqi.ln2@news.gates-of-hell.com> <slrndg59eq.e17.no.spam@thurston.blinkynet.net> <slrndg5chu.9te.ohmster@ohmster.com> <slrndg5fll.e17.no.spam@thurston.blinkynet.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrndga8ac.dh1.ohmster@ohmster.com>
Subject: Re: [slrn] external editor and sorting
Date: Thu, 18 Aug 2005 23:59:39 GMT
From: The Ohmster <ohmster@ohmster.com>
References: <Xns96B28AF298750MyBigKitty@216.77.188.18> <Xns96B291DF45886MyBigKitty@216.77.188.18> <slrndfv3ks.2sn.richr@durandal.multijoy.com> <slrndfv5qj.8m9.ohmster@ohmster.com> <4ii4t2x288.ln2@news.gates-of-hell.com> <slrndg52j0.9f3.ohmster@ohmster.com> <ulgat2xoqi.ln2@news.gates-of-hell.com> <slrndg59eq.e17.no.spam@thurston.blinkynet.net> <slrndg5chu.9te.ohmster@ohmster.com> <slrndg5fll.e17.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!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!bigfeed.bellsouth.net!bignumber.bellsouth.net!news.bellsouth.net!bignews4.bellsouth.net.POSTED!3dfe8c4a!not-for-mail
Newsgroups: news.software.readers
Organization: Ohm's Fish Market
User-Agent: slrn/0.9.8.1 (Linux)
Lines: 66
X-Complaints-To: abuse@bellsouth.net
X-Abuse-Info: Please forward a copy of all headers for proper handling
X-Trace: npbhgpngjbkmjfegdbdpiflmbcekedmfhojhikkbagflhcboaplflpkmldfjdicdgodbobakcklodlklaegeldlkeianchlajjcpoanjhcmhfnfcppihcgbamglkeopccldagcipkliaolieomlgcccebcdfdbbm
NNTP-Posting-Date: Thu, 18 Aug 2005 19:59:39 EDT