[Users] Terminal vim editor in claws - doesn't return edits to claws

flyingrhino flyingrhino at orcon.net.nz
Mon Nov 6 01:32:05 CET 2017


On Sat, 4 Nov 2017 21:49:33 +0100
Colin Leroy <colin at colino.net> wrote:

> On 04 November 2017 at 19h04, flyingrhino wrote:
> 
> Hi, 
> 
> > I created a bash file with the content:
> > xfce4-terminal -x vim -f "$@"
> > and chmod +x it too.
> > 
> > Now when I go ctrl-shift-x to launch the external editor - vim pops
> > up in a terminal ok. However when I go :wq to exit vim - my text is
> > gone and the mail is blank.
> 
> This is probably because when you already have an xfce4-terminal
> instance running, the one Claws launches opens a new window with vim
> from the existing instance, then exits immediately. Hence Claws thinks
> the edit is finished.
> 
> Try with --disable-server:
> 
> xfce4-terminal --disable-server -x vim -f ...
> 

Thanks Colin, that did the trick :)


-- 
Rhinos can fly,

It's just a case of mind over matter ...
... And you need a lot of mind to control that much matter ...




More information about the Users mailing list