mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-17 13:17:55 +08:00
improve folder struct + msg management (#217)
* make imap list and search return msg instead of fetch * move imap logouts to main fn * improve list command * improve search command * improve flags command * improve template reply * improve tpl forward command * refactor tpl and msg reply/forward * refactor copy, move and write commands * refactor attachment command * fix attachment part of copy and move commands * fix send, save, read and mbox * put back notify and watch commands * fix msg encoding * refactor edit choices, clean dead code * fix attachment for write, reply and forward commands * refactor config mod struct * refactor project folder struct * fix vim plugin (#215)
This commit is contained in:
@@ -6,5 +6,5 @@ setlocal startofline
|
||||
augroup himalaya_write
|
||||
autocmd! * <buffer>
|
||||
autocmd BufWriteCmd <buffer> call himalaya#msg#draft_save()
|
||||
autocmd BufUnload <buffer> call himalaya#msg#draft_handle()
|
||||
autocmd BufLeave <buffer> call himalaya#msg#draft_handle()
|
||||
augroup end
|
||||
|
||||
Reference in New Issue
Block a user