aboutsummaryrefslogtreecommitdiffhomepage
path: root/vim/notmuch.vim
Commit message (Collapse)AuthorAge
* vim: improve the way messages are sentGravatar Felipe Contreras2014-05-03
| | | | | | | | | | | We want the proper encoding and content-type to be set when sending the mail, but human-readable plain-text for composing. So split the code in two parts: the presentation and the transport conversion. This fixes an issue while sending non-ascii mails to strict servers; the mail needs to be encoded. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: make the html handler configurableGravatar Paul Roberts2014-05-03
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: fix count_threads variable checkGravatar Felipe Contreras2014-05-03
| | | | | | | | | | | It never really worked; in Ruby only 'nil' and 'false' evaluate to false, therefore the statement '0 : true ? false' returns true, so it doesn't matter if notmuch_folders_count_threads = 0, count_threads would be true. We need to check specifically if the value is 1 or 0. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: check compose is done on deleteGravatar Felipe Contreras2013-11-20
| | | | | | Not on unload, which happens when we switch buffers. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: remove unnecessary buffer queueGravatar Felipe Contreras2013-11-20
| | | | | | | Vim handles the buffers just fine: when one is deleted, we go to the previous one. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: add wrapper for old variable namesGravatar Felipe Contreras2013-11-20
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: move default sets to set_defaults()Gravatar Felipe Contreras2013-11-20
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: rename public notmuch_rb variablesGravatar Felipe Contreras2013-11-20
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: rename internal notmuch_rb variablesGravatar Felipe Contreras2013-11-20
| | | | | | Now we are the official one. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: add option to compose new messagesGravatar Felipe Contreras2013-11-20
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: refactor open_reply()Gravatar Felipe Contreras2013-11-20
| | | | | | In preparation for composing new messages. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: trivial cleanupGravatar Felipe Contreras2013-11-20
| | | | | | Using $email_address is more straight forward. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: don't execute search if it's cancelledGravatar Felipe Contreras2013-11-20
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: generate custom message-idGravatar Felipe Contreras2013-11-20
| | | | | | Using Mail as a reference. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: split $email_addressGravatar Felipe Contreras2013-11-20
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: allow calling with argumentsGravatar Felipe Contreras2013-11-20
| | | | | | | | For example: :NotMuch date:today Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: add option to save the patches of a patch seriesGravatar Felipe Contreras2013-11-20
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: use much clearer sort constantGravatar Felipe Contreras2013-11-20
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: show first message of the threadGravatar Felipe Contreras2013-11-20
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: refactor database handlingGravatar Felipe Contreras2013-11-20
| | | | | | | | | | | | | To minimize memory usage we need to destroy the queries and the databases, so we should keep track of them. Each buffer gets a database connection that is destroyed when the buffer is destroyed, and all the queries along with it. Ideally notmuch should destroy the queries when the database is destroyed, but it's not doing that at the moment. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: use notmuch fieldsGravatar Felipe Contreras2013-11-20
| | | | | | They are better encoded than Ruby's Mail. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: don't automatically refresh after taggingGravatar Felipe Contreras2013-11-20
| | | | | | | This operation might take a while, and even if it only takes fractions of a second, that's not what the user might want. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: run mutt in default termGravatar Charlie Allom2013-11-20
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: use the old vim plugin function nameGravatar Felipe Contreras2013-06-02
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* Add new notmuch vim pluginGravatar Felipe Contreras2013-06-02
The old one was not properly maintained and is now deprecated. The new one has much better support. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>