send and display format=flowed messages

This commit is contained in:
Felix Van der Jeugt 2021-05-06 23:53:06 +02:00
parent 52bcd03dd7
commit 90bbd45d50
No known key found for this signature in database
GPG key ID: 58B209295023754D
4 changed files with 36 additions and 0 deletions

View file

@ -162,6 +162,15 @@ vis:map(vis.modes.VISUAL, ';a', function()
end
end)
vis:map(vis.modes.NORMAL, ';a', function()
if vis.count then
vis:command(string.format(':1,$|mreflow %d', vis.count))
vis.count = nil
else
vis:command(':1,$|mreflow')
end
end)
--------------------------------------------------------------------------------
-- Strip trailing spaces