aboutsummaryrefslogtreecommitdiff
path: root/vim
Commit message (Collapse)AuthorAge
* vim plugin: fix displaying attachments with non-ascii namesHEADvimAnton Khirnov2012-10-05
|
* vim plugin: fix vim_get_tags() with non-ascii tag names.Anton Khirnov2012-08-10
|
* vim plugin: more explicitly format the tags list in search results.Anton Khirnov2012-08-10
| | | | | Use ' '.join() instead of just calling str(). This also fixes printing non-ASCII tag names.
* vim plugin: refresh the threads list also on CursorHold event.Anton Khirnov2012-08-10
|
* vim plugin: incremental printing of search results.Anton Khirnov2012-08-06
| | | | Inspired by the same feature in the ruby plugin by Felipe Contreras.
* Merge remote-tracking branch 'origin/master' into vimAnton Khirnov2012-08-06
|\
| * vim: simplify buildFelipe Contreras2012-04-21
| | | | | | | | | | | | | | There should be no functional changes, except that you don't need to make the directories before installing. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
| * vim: fix regex after "notmuch show" output changeJakob2012-04-21
| | | | | | | | | | | | The new field "excluded" was added to the output and made this regex fail. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* | Add a python rewrite of the vim plugin.Anton Khirnov2012-01-14
|/
* vim: fix citation/signature fold lengthsJason Woofenden2011-07-16
| | | | | | Before they'd often miss the last line Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: fix (hack) cig/cit parsing within multipart/*Jason Woofenden2011-07-16
| | | | | | | | | | | | | | | The vim front-end isn't written to handle nested parts. This patch doesn't change that, it just changes the code to pretend that multipart/* sections end immediately. This makes the parsing code think that all sections are top-level, and are thus parsed well enough. The lovely result of this is that citation folds and signature folds now work in text/plain parts that are within multipart/* sections. Also, all mime section starts are now shown correctly (before some were not parsed and showed the ugly ^L and an ID and so on from notmuch.) Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: fix on-screen instructions for show-signatureJason Woofenden2011-07-16
| | | | | | | Also change a passed parameter to be consistent with the current binding. This parameter appears to be unused. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: fix from list reformatting in search viewJason Woofenden2011-07-16
| | | | | | | | | | | | | | | | This patch rewrites the reformatting of the from list so it shows full capitalized names when available (without truncating them as the old code did) and removes the pipe characters that appear between some names. The old code appears to assume from list (the list of senders in the thread) coming from notmuch would be e-mail addresses, but in this version it is mostly full names. Also in this version, the names are sometimes separated by pipe instead of comma. For consistency with old versions, names are still truncated at the first period. Perhaps they shouldn't be though. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: fix space key: now archives (did opposite)Jason Woofenden2011-07-16
| | | | | | | | | In vim, in the message view, space is supposed to remove the "unread" and "inbox" tags, but was sometimes adding them instead. This patch assures that they are always removed by this binding. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: use the full path for sendmailUwe Kleine-König2011-07-16
| | | | | | ... as /usr/sbin isn't usually in user's PATH. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: skip trailing slash for g:notmuch_compose_temp_file_dirUwe Kleine-König2011-07-16
| | | | | | | | | | | | | | | | | | | | | With the trailing slash I get Error detected while processing function <SNR>10_NM_new_mail..<SNR>10_NM_cmd_compose..<SNR>10_NM_newComposeBuffer..<SNR>10_NM_newFileBuffer: line 3: E739: Cannot create directory: /home/ukleinek/.notmuch/compose/ when hitting 'm' to compose a new mail. strace shows: stat("/home/ukleinek/.notmuch/compose/", 0x7fffee314a10) = -1 ENOENT (No such file or directory) stat("/home/ukleinek/.notmuch/compose/", 0x7fffee314e30) = -1 ENOENT (No such file or directory) stat("/home/ukleinek/.notmuch/compose", 0x7fffee315270) = -1 ENOENT (No such file or directory) stat("/home/ukleinek/.notmuch", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 mkdir("/home/ukleinek/.notmuch/compose", 0755) = 0 mkdir("/home/ukleinek/.notmuch/compose/", 0755) = -1 EEXIST (File exists) so it seems vim's mkdir() isn't able to handle a trailing slash. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: fix documentation that mailx isn't used anymoreUwe Kleine-König2011-07-16
| | | | | | | | Since e7899b0 (vim: use sendmail directly) notmuch-vim uses sendmail directly. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* fix sum moar typos [error messages]Pieter Praet2011-06-23
| | | | | | | | Various typo fixes in error messages within the source code. Signed-off-by: Pieter Praet <pieter@praet.org> Edited-by: Carl Worth <cworth@cworth.org> Restricted to just error messages.
* fix sum moar typos [comments in source code]Pieter Praet2011-06-23
| | | | | | | | | | Various typo fixes in comments within the source code. Signed-off-by: Pieter Praet <pieter@praet.org> Edited-by: Carl Worth <cworth@cworth.org> Restricted to just source-code comments, (and fixed fix of "descriptios" to "descriptors" rather than "descriptions").
* fix sum moar typos [text files]Pieter Praet2011-06-23
| | | | | | | | | Various typo fixes in auxiliary text files included with the source, (README, TODO, etc.). Signed-off-by: Pieter Praet <pieter@praet.org> Edited-by: Carl Worth <cworth@cworth.org> Restricted to just text files.
* vim: add delete commandsFelipe Contreras2011-05-31
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: add support for delete in search viewFelipe Contreras2011-05-31
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: add support to mark as read in search viewFelipe Contreras2011-05-31
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: add support to mark as read in show viewFelipe Contreras2011-05-31
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: parse 'from' addressFelipe Contreras2011-05-04
| | | | | | In order to pass it to sendmail. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: use sendmail directlyFelipe Contreras2011-05-04
| | | | | | | | The problem with 'mailx' is that it's not standardized, and it doesn't allow the -f option, which is pretty important on many sendmail configurations. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: add myself (Felipe Contreras) as contributorFelipe Contreras2011-05-04
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: implement archive in show viewFelipe Contreras2011-05-04
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: refactor tagging stuffFelipe Contreras2011-05-04
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: Get user email address from notmuch config file.Peter John Hartman2011-01-26
| | | | | | | Here's a bitty patch to the vim plugin; it now calculates the primary email of the user based on a call to notmuch config. There's still a lot of work that needs to get done on notmuch.vim, e.g., the ability to have multiple emails/accounts.
* vim: include own improved git-diff syntaxFelipe Contreras2010-11-08
| | | | | | The old one wasn't working at all on newer vims. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: run(): optimize non-debug pathFelipe Contreras2010-11-08
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: use mailx for sendingFelipe Contreras2010-11-08
| | | | | | | Possilby used by more systems, and besides the code wasn't really working properly anyway. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: add option to mark as read + archiveFelipe Contreras2010-11-08
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: remove add_remove_tags_on_screen()Felipe Contreras2010-11-08
| | | | | | | It's not working properly; the current message is jumping around and the tags not really added/removed properly. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: cleanup search syntaxFelipe Contreras2010-11-08
| | | | | | It was *sloooooow*. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: cleanup search bufferFelipe Contreras2010-11-08
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: add archive support from 'show'Felipe Contreras2010-11-08
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* Fix typo in messageBen Gamari2010-04-15
|
* Install vim plugin with vim-addonsmartin f. krafft2010-01-21
| | | | Signed-off-by: martin f. krafft <madduck@debian.org>
* vim: preserve the 'show everything' flag when finding next/prev bufferBart Trojanowski2009-12-03
| | | | | | | | | When show mode is invoked it could be displaying just the matched messages or everything. This flag is passed to NM_search_show_thread(). It is then stored in a buffer variable, b:nm_show_everything, and used for subsequent calls to NM_search_show_thread() triggered by <Space>, <C-n> and <C-p>. Signed-off-by: Bart Trojanowski <bart@jukie.net>
* vim: use notmuch show --entire-threadBart Trojanowski2009-12-02
|
* vim: use <Space> more consistently in search viewBart Trojanowski2009-11-27
| | | | | | In search view <Space> will show the thead, but folding messages that don't match the current search expression. Conversly, <Enter> always shows all messages in the thread.
* vim: make it possible to start a search in show modeBart Trojanowski2009-11-27
|
* vim: don't toggle folds that are inside closed folds in show modeBart Trojanowski2009-11-27
|
* vim: primitive reply to messageBart Trojanowski2009-11-27
|
* vim: primitive reply to threadBart Trojanowski2009-11-27
|
* vim: few compose mode updates, including READMEBart Trojanowski2009-11-27
|
* vim: don't remove headers until after parsing themBart Trojanowski2009-11-27
|
* vim: fix off-by-one error when removing header from message to send outBart Trojanowski2009-11-27
|