kmail with external editor

Ihor Antonov ihor at antonovs.family
Fri Jun 5 18:31:10 BST 2020


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


-- 
Ihor Antonov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde/attachments/20200605/540bf99c/attachment.sig>


More information about the kde mailing list