kmail with external editor

Harald Baumgartner hmb at mpe.mpg.de
Sat Jun 6 17:03:27 BST 2020


Hi Ihor Antonov,

thanks, i use /usr/bin/gvim -f f% and it works.

Cheers,

Harald

On 05.06.20 19:31, Ihor Antonov wrote:
> On Friday, 5 June 2020 00:46:42 PDT Harald Baumgartner wrote:
>> Hi,
>>
>> kmail  4:20.04.1-0xneon+18.04+bionic+build70
>>
>> i want to use kmail with external editor (vim...).
>>
>> In older versions there was a possibility. In above version i didn't found
>>
>> this.
>>
>> Any help available?
>>
>> Thanks,
>>
>> Harald
> Hey Harald,
>
> It does work, I am writing this email in external vim editor.
> You need to go to settings -> plugins and enable External Composer Plugin,
> and set up the command to launch external editor.
> Mine is
>      /usr/bin/alacritty -e /usr/bin/nvim %f
>
> Make sure you have full paths as env vars don't work in this scenario and
> shortcuts like ~ do not get expanded.
>
> After you need to restart kmail/kontact. Then external editor will open
> automatically when you start writing an email
>
>
-- 

Harald Baumgartner
Max-Planck-Inst. für Extraterrestrische Physik
Giessenbachstr.1, D-85741, Garching bei München, Germany
                    Phone :(Country Code 49) 89 30000-3346
                    e-mail: hmb @ mpe.mpg.de  (Fax: 49-89/30000-3569)
		   http://www.mpe.mpg.de/~hbaumgartner/





More information about the kde mailing list