Subject: possible to make pine behave like vim?

From: Claus Atzenbeck <[email-masked]>
Date: Tue, 23 Mar 2004 14:44:16 +0100 (CET)

Hi,

I have moved from pico to vim as standard editor to compose mail,
because I am currently learning vim and this forces me to use it. :-)

However, sometimes it happens that I get confused. For example, I quite
vim after the composing is done and I use "k" to move one line up in the
header section. This does not work, because it is a vim command and not
a pine/pico command.

Is there a way that pine behaves like vi?

Greetings,
Claus

PS: I know that mutt would be a good alternative, but I am happy with
pine so far and want to avoid to spend time moving to another mail app.
-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Murphy <[email-masked]>
Date: Tue, 23 Mar 2004 15:41:06 +0100 (MET)

>Is there a way that pine behaves like vi?

You can always set the pine to call the external editor when you move
into a body of the e-mail (the headers has to be written in pine). So
when you will finish to write text you will go back to the pine to
send/postpone/cancel the message.

If it is ok for you, then you can set the "editor" in your setup
screen to "vim" and set the "enable-alternate-editor-implicitly".

Regards,
Murphy

-- 
  __   __
  ||   ||
 -++- -++- --------------------------------------------------------
  ||\ /||  e-mail: [email-masked]           GG 107745
  ||   ||  Everything is possible - this is only a question of time
  \/564\/  --------------------------------------------------------

---

From: Paulo Matos <[email-masked]>
Date: Tue, 23 Mar 2004 14:56:58 +0000 (WET)

> Is there a way that pine behaves like vi?

Use Setup -> Config

Activate the options 

enable-alternate-editor-cmd
enable-alternate-editor-implicitly

Set 'editor' value to /your/bin/path/vim

On your environment set EDITOR variable to /your/bin/path/vim

This should do the thing.

--
	Paulo Matos
 ----------------------------------- ----------------------------------
|Sys & Net Admin                    | Serviço de Informática           |
|Faculdade de Ciências e Tecnologia | Tel: +351-21-2948596             |
|Universidade Nova de Lisboa        | Fax: +351-21-2948548             |
|P-2829-516 Caparica                | e-Mail: [email-masked]          |
 ----------------------------------- ----------------------------------

---

From: Claus Atzenbeck <[email-masked]>
Date: Tue, 23 Mar 2004 15:53:55 +0100 (CET)

> screen to "vim" and set the "enable-alternate-editor-implicitly".

This is what I am doing currently already. But it is confusing, because
I use Vim commands for editing and Pico commands for the rest. I would
like to have Vim commands all over, also for editing the header, config
stuff, etc.

Well, just wondering. I don't have much hope that this is possible.
Anyway, thanks for your reply!

Greetings,
Claus

---

From: Andy Malato <[email-masked]>
Date: Tue, 23 Mar 2004 10:32:58 -0500 (EST)

! Date: Tue, 23 Mar 2004 15:53:55 +0100 (CET)
! From: Claus Atzenbeck <[email-masked]>
! To: Pine Discussion Forum <[email-masked]>
! Subject: Re: possible to make pine behave like vim?
!
! On Tue, 23 Mar 2004, Murphy wrote:
!
! > If it is ok for you, then you can set the "editor" in your setup
! > screen to "vim" and set the "enable-alternate-editor-implicitly".
!
! This is what I am doing currently already. But it is confusing, because
! I use Vim commands for editing and Pico commands for the rest. I would
! like to have Vim commands all over, also for editing the header, config
! stuff, etc.
!
! Well, just wondering. I don't have much hope that this is possible.
! Anyway, thanks for your reply!
!
! Greetings,
! Claus
!

I do agree with Claus -- it would be a nice feature if it were possible
to edit the email headers along with the rest of the body using vi/vim.

         ---Andy

---

From: Kenneth Crudup <[email-masked]>
Date: Tue, 23 Mar 2004 12:45:33 -0800 (PST)

> to edit the email headers along with the rest of the body using vi/vim.

Yeah. Even after using Pine/vi together for 3 years now, I still sometimes
hit an arrow key or vi command when in the headers.

	-Kenny

-- 
Kenneth R. Crudup  Sr. SW Engineer, Scott County Consulting, Los Angeles
H: 3630 S. Sepulveda Blvd. #138, L.A., CA 90034-6809      (888) 454-8181
W: 26601 Agoura Road, Calabasas, CA 91302-1959            (818) 444-3685