You are not logged in.

#1 2009-12-29 15:06:09

helios91
Member
Registered: 2009-06-09
Posts: 21

[SOLVED] Vimperator: use vim instead of gvim

Hi!

I'm a vimperator user and I would like to use vim instead of gvim as the external editor.
I tried to do it by entering the following command

set editor="urxvtc -e vim"

It works great for viewing code of documents but it doesn't work for entering text in an input area. (via Ctrl+i)

Have you got any idea to solve this issue?
Thank you.

Last edited by helios91 (2009-12-29 20:32:33)

Offline

#2 2009-12-29 15:13:18

nblock
Member
From: Austria
Registered: 2008-08-06
Posts: 123
Website

Re: [SOLVED] Vimperator: use vim instead of gvim

i'm not quite sure but you might try this:

set editor="urxvtc -e /bin/bash -c 'vim'"

Offline

#3 2009-12-29 15:23:32

helios91
Member
Registered: 2009-06-09
Posts: 21

Re: [SOLVED] Vimperator: use vim instead of gvim

nblock wrote:

i'm not quite sure but you might try this:

set editor="urxvtc -e /bin/bash -c 'vim'"

It's worse ^^.
Now, I can't see the source code of any document and I can't use it as an external editor.

Thank you anyway.

Offline

#4 2009-12-29 18:31:53

nblock
Member
From: Austria
Registered: 2008-08-06
Posts: 123
Website

Re: [SOLVED] Vimperator: use vim instead of gvim

ok, sry. it was just a guess.

Offline

#5 2009-12-29 20:07:21

N30N
Member
Registered: 2007-04-08
Posts: 273

Re: [SOLVED] Vimperator: use vim instead of gvim

helios91 wrote:

Have you got any idea to solve this issue?

Don't use urxvtc (it exits immediately).

set editor="urxvt -e vim"

Or create a urxvtc wrapper.

Offline

#6 2009-12-29 20:31:47

helios91
Member
Registered: 2009-06-09
Posts: 21

Re: [SOLVED] Vimperator: use vim instead of gvim

N30N wrote:
helios91 wrote:

Have you got any idea to solve this issue?

Don't use urxvtc (it exits immediately).

set editor="urxvt -e vim"

Or create a urxvtc wrapper.

Thank you! It works great!

Offline

Board footer

Powered by FluxBB