Re: [OT] Vim mailing list

2009-08-20 Thread Frank Shute
On Thu, Aug 20, 2009 at 08:33:19PM -0400, Steve Bertrand wrote:
>
>
[snip]
>
> >>
> >> And, of course, there's this one: http://www.vim.org/maillist.php
> >
> > I'm a member of that list which is a straightforward mailing list
> > AFAIK (Disclaimer: I do have a google account but I can't remember if
> > that was necessary to sign up).
> 
> Thanks all,
> 
> I'll check out how to configure my mailer with Google Groups for this list.

There should be little in the way of configuration required for that
list, they just send out plain email and you can post in the same
format.

> 
> > I've found it a very helpful list and I've learnt a lot being
> > subscribed to it despite being a +10yr user of vim. Even Bram Molenaar
> > posts there occasionally.
> 
> Nice to know that long-term users parade around in the list. It then, is
> much like this one, and a few others that I am on.
> 
> Before I foray into configuring my email program to work with Google
> Groups, I have one more (simple, I think) question regarding Vim. (I
> couldn't come up with the proper Gooliage):
> 
> I'd like to create a keyboard map so instead of doing:
> 
> - _dd (I believe the underscore is referred to as 'blackhole')
> 
> I can do:
> 
> - CTRL-whatever
> 
> I have a lot of operations that consist of this:
> 
> - p
> - j
> - $
> - i
> - 
> - ^[
> - 3j
> - i
> - 
> - ^[
> - 3dd
> 
> (not necessarily in that order)...and want an easier way to to do both
> 'dd' and 'd$' without wrecking the clipboard which I have saved a yank to.

What you refer to as a clipboard is termed a register in vim and IIRC
you have the use of 26 (a-z). You can yank or delete to a register and
then dd wont overwrite it. Use plain dd and yy for quick and dirty.

See:

:help yank

You can then recall the text from that register with the "put"
command.

See:

:help p

As with all simple vim commands you can precede them with a number so
to yank 3 lines and save them in register a:

3"ayy

and then to put them somewhere:

"ap

Likewise, you can delete 3 lines & place them in a named register:

3"add

I hope the above short demo gives you a brief outline on how to work
with registers but the vim handbook has got far more info. I guess
it's difficult for a new vim user who lacks the vim terminology to
look for stuff.

Also look into using macros if you find you are using the same
commands repetitively.

Have a look at marks if you're not using them already:

:help m

> 
> fwiw, the box I'm doing this work on is a jail (with both v4 and v6!) under:
> 
> :! uname -a
> 
> [No write since last change]
> 
> FreeBSD name.eagle.ca 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1
> 08:49:13 UTC 2009
> r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
> 

I'm currently in Darwin, Australia and ssh'ing back to the UK to
compose this email using vim on the remote end. Latency is a bit so so
but it's doable with vim :)

> Cheers,
> 
> Steve

Regards,
 

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: [OT] Vim mailing list

2009-08-20 Thread Steve Bertrand
Frank Shute wrote:
> On Wed, Aug 19, 2009 at 01:59:05AM -0400, Glen Barber wrote:
>> On Wed, Aug 19, 2009 at 12:43 AM, Steve Bertrand wrote:
>>> Apologies up front for the off-topic'dness.
>>>
>>> I'm thoroughly enjoying my new editor, and swiftly learning and
>>> experiencing the benefits. As a matter of fact, nearly everywhere I
>>> type, the common commands come naturally, and I get frustrated that all
>>> of my software doesn't work like vi does :)
>>>
>>> Getting to the point, I'd like to find a vi(m) community, but the list
>>> subscribe that appears authoritative for vim-users bounces. I despise
>>> and refuse to belong to web forums.
>>>
>>> Given that, where can I go to follow vim discussions, without having to
>>> bring it up OT here on my favourite list?
>>>
>> Hi, Steve
>>
>> Google has a Vim group.  I'm not sure if you need a Google account or not.
>>
>> And, of course, there's this one: http://www.vim.org/maillist.php
>
> I'm a member of that list which is a straightforward mailing list
> AFAIK (Disclaimer: I do have a google account but I can't remember if
> that was necessary to sign up).

Thanks all,

I'll check out how to configure my mailer with Google Groups for this list.

> I've found it a very helpful list and I've learnt a lot being
> subscribed to it despite being a +10yr user of vim. Even Bram Molenaar
> posts there occasionally.

Nice to know that long-term users parade around in the list. It then, is
much like this one, and a few others that I am on.

Before I foray into configuring my email program to work with Google
Groups, I have one more (simple, I think) question regarding Vim. (I
couldn't come up with the proper Gooliage):

I'd like to create a keyboard map so instead of doing:

- _dd (I believe the underscore is referred to as 'blackhole')

I can do:

- CTRL-whatever

I have a lot of operations that consist of this:

- p
- j
- $
- i
- 
- ^[
- 3j
- i
- 
- ^[
- 3dd

(not necessarily in that order)...and want an easier way to to do both
'dd' and 'd$' without wrecking the clipboard which I have saved a yank to.

fwiw, the box I'm doing this work on is a jail (with both v4 and v6!) under:

:! uname -a

[No write since last change]

FreeBSD name.eagle.ca 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1
08:49:13 UTC 2009
r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

Cheers,

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [OT] Vim mailing list

2009-08-19 Thread Frank Shute
On Wed, Aug 19, 2009 at 01:59:05AM -0400, Glen Barber wrote:
>
> On Wed, Aug 19, 2009 at 12:43 AM, Steve Bertrand wrote:
> > Apologies up front for the off-topic'dness.
> >
> > I'm thoroughly enjoying my new editor, and swiftly learning and
> > experiencing the benefits. As a matter of fact, nearly everywhere I
> > type, the common commands come naturally, and I get frustrated that all
> > of my software doesn't work like vi does :)
> >
> > Getting to the point, I'd like to find a vi(m) community, but the list
> > subscribe that appears authoritative for vim-users bounces. I despise
> > and refuse to belong to web forums.
> >
> > Given that, where can I go to follow vim discussions, without having to
> > bring it up OT here on my favourite list?
> >
> 
> Hi, Steve
> 
> Google has a Vim group.  I'm not sure if you need a Google account or not.
> 
> And, of course, there's this one: http://www.vim.org/maillist.php

I'm a member of that list which is a straightforward mailing list
AFAIK (Disclaimer: I do have a google account but I can't remember if
that was necessary to sign up).

I've found it a very helpful list and I've learnt a lot being
subscribed to it despite being a +10yr user of vim. Even Bram Molenaar
posts there occasionally.

Recommended reading.

> 
> Regards,
> 
> 
> -- 
> Glen Barber

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: [OT] Vim mailing list

2009-08-19 Thread Matthew Seaman
Steve Bertrand wrote:

> Am I missing something about posting to newsgroups? My understanding is
> ISP's don't utilize them anymore because of the ominous unavoidable
> illegal behaviour.

No -- it's not legal problems, which offer no worse consequences than for
defamatory postings on blogs or forums, but fashion.  A lot of people
seem to prefer to use web forums rather than newsgroups.  I can't see any
particular advantage myself, and I've always preferred the e-mail/netnews
style myself.

(Of course, for old farts like myself, this is a welcome return to the
blessed  golden age of usenet circa 1993 before the ravening hordes of
AOL and it's successors descended upon it...)

Because of that perceived shift, and because running a full-feed NNTP server
is no trivial undertaking, many of the cheaper sort of ISPs have stopped
providing NNTP as a standard part of their offerring.
 
> If this is the case, ideas on a (legal) workaround so posting to
> text-only newsgroups would be great. Now that this has been brought up,
> I'd be interested if I could barder with another small ISP for this
> functionality. (post on -isp).

There are a number of pay-for net news services available.  The ones I
know of are based in Europe:

   http://www.eternal-september.org/
   
   http://news.individual.net/

See also:

   http://www.dmoz.org/Computers/Usenet/Public_News_Servers/

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   Flat 3
  7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW, UK



signature.asc
Description: OpenPGP digital signature


Re: [OT] Vim mailing list

2009-08-18 Thread Steve Bertrand
Sabine Baer wrote:
> On Wed, Aug 19, 2009 at 01:59:05AM -0400, Glen Barber wrote:
>  
> [...]
> 
>> Google has a Vim group.  I'm not sure if you need a Google account
>> or not.
> 
> Perhaps it might be better to go to Usenet straight ahead. There's a
> NG comp.editors, mostly about vim.
> 
> Sorry for jumping in, but I think Usenet is Usenet and Google is
> Google.

> Both have their merits but groups.google.com has little IMHO.

Thanks Glen, Sabine,

The email list bounces upon sub are coming from an aliased Google address.

Not only that, I absolutely need write access. I've joined groups
through Google previously (that fit into my mailer), but couldn't post.
There is little more frustrating when you know you can help someone, but
can't speak.

Although I work within an ISP network, NNTP is a protocol that has
evaded me, and I don't have the time, nor the desire to learn about it.
What I do know is that this ISP does not have access to a proper news
server (that can be posted to), nor does any of it's direct peers.

Am I missing something about posting to newsgroups? My understanding is
ISP's don't utilize them anymore because of the ominous unavoidable
illegal behaviour.

If this is the case, ideas on a (legal) workaround so posting to
text-only newsgroups would be great. Now that this has been brought up,
I'd be interested if I could barder with another small ISP for this
functionality. (post on -isp).

Steve




smime.p7s
Description: S/MIME Cryptographic Signature


Re: [OT] Vim mailing list

2009-08-18 Thread Glen Barber
On Wed, Aug 19, 2009 at 2:31 AM, Sabine Baer wrote:
> On Wed, Aug 19, 2009 at 01:59:05AM -0400, Glen Barber wrote:
>
> [...]
>
>> Google has a Vim group.  I'm not sure if you need a Google account
>> or not.
>
> Perhaps it might be better to go to Usenet straight ahead. There's a
> NG comp.editors, mostly about vim.
>
> Sorry for jumping in, but I think Usenet is Usenet and Google is
> Google.

Jump in all you want.  After all, it was an admittedly [OT] post. :-)

I agree.  I don't see much use for Google's usenet "interface."
(Especially since you can't post directly from it, AFAIK.)


-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: [OT] Vim mailing list

2009-08-18 Thread Sabine Baer
On Wed, Aug 19, 2009 at 01:59:05AM -0400, Glen Barber wrote:
 
[...]

> Google has a Vim group.  I'm not sure if you need a Google account
> or not.

Perhaps it might be better to go to Usenet straight ahead. There's a
NG comp.editors, mostly about vim.

Sorry for jumping in, but I think Usenet is Usenet and Google is
Google.
Both have their merits but groups.google.com has little IMHO.

Sabine

-- 
Nicht das Schicksal zu aendern, sondern sich ihm zu unterwerfen, macht
den Heroismus des autoritaeren Charakters aus.  (E. Fromm)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: [OT] Vim mailing list

2009-08-18 Thread Glen Barber
On Wed, Aug 19, 2009 at 12:43 AM, Steve Bertrand wrote:
> Apologies up front for the off-topic'dness.
>
> I'm thoroughly enjoying my new editor, and swiftly learning and
> experiencing the benefits. As a matter of fact, nearly everywhere I
> type, the common commands come naturally, and I get frustrated that all
> of my software doesn't work like vi does :)
>
> Getting to the point, I'd like to find a vi(m) community, but the list
> subscribe that appears authoritative for vim-users bounces. I despise
> and refuse to belong to web forums.
>
> Given that, where can I go to follow vim discussions, without having to
> bring it up OT here on my favourite list?
>

Hi, Steve

Google has a Vim group.  I'm not sure if you need a Google account or not.

And, of course, there's this one: http://www.vim.org/maillist.php

Regards,


-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


[OT] Vim mailing list

2009-08-18 Thread Steve Bertrand
Apologies up front for the off-topic'dness.

I'm thoroughly enjoying my new editor, and swiftly learning and
experiencing the benefits. As a matter of fact, nearly everywhere I
type, the common commands come naturally, and I get frustrated that all
of my software doesn't work like vi does :)

Getting to the point, I'd like to find a vi(m) community, but the list
subscribe that appears authoritative for vim-users bounces. I despise
and refuse to belong to web forums.

Given that, where can I go to follow vim discussions, without having to
bring it up OT here on my favourite list?

Steve


smime.p7s
Description: S/MIME Cryptographic Signature