Commit graph

109 commits

Author SHA1 Message Date
Bart Trojanowski
0ca1611416 vim: preserve the 'show everything' flag when finding next/prev buffer
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>
2009-12-03 13:30:21 -08:00
Bart Trojanowski
8a3352e619 vim: use notmuch show --entire-thread 2009-12-02 14:37:15 -08:00
Bart Trojanowski
e6628e78d9 vim: use <Space> more consistently in search view
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.
2009-11-27 18:02:05 -05:00
Bart Trojanowski
16a00de924 vim: make it possible to start a search in show mode 2009-11-27 17:43:01 -05:00
Bart Trojanowski
dffee11a40 vim: don't toggle folds that are inside closed folds in show mode 2009-11-27 17:18:41 -05:00
Bart Trojanowski
e5a25c7692 vim: primitive reply to message 2009-11-27 16:52:00 -05:00
Bart Trojanowski
ab3ce6196e vim: primitive reply to thread 2009-11-27 16:48:52 -05:00
Bart Trojanowski
0ef04e14ff vim: few compose mode updates, including README 2009-11-27 16:47:39 -05:00
Bart Trojanowski
e13bdc2c0e vim: don't remove headers until after parsing them 2009-11-27 14:05:13 -05:00
Bart Trojanowski
fd805c16c3 vim: fix off-by-one error when removing header from message to send out 2009-11-27 14:02:25 -05:00
Bart Trojanowski
b76852dcc5 vim: generalize compose buffer function further 2009-11-27 13:32:57 -05:00
Bart Trojanowski
ef81270760 vim: have ,nmr just reload the plugin w/o restarting state 2009-11-27 13:08:30 -05:00
Bart Trojanowski
d1eb2c6ce5 vim: make it possible to replace NM_cobine_tags() 2009-11-27 13:06:46 -05:00
Bart Trojanowski
efa9df2d49 vim: add a helper to combine tag search expressions 2009-11-27 11:04:54 -05:00
Bart Trojanowski
5030989ee0 vim: README updates and corrections 2009-11-27 09:43:06 -05:00
Bart Trojanowski
43cfdab608 vim: have '?' show search words in search mode 2009-11-27 09:35:49 -05:00
Bart Trojanowski
dfb0b97b3c vim: cleanup error messages 2009-11-27 01:34:08 -05:00
Bart Trojanowski
a04334e959 vim: fix regexp for cleaning search list 2009-11-27 01:31:16 -05:00
Bart Trojanowski
5b8f74b512 vim: force deleting buffers 2009-11-27 01:18:00 -05:00
Bart Trojanowski
becc49eee7 vim: fix message parsing patterns
if a message did not contain a trailing CR, we may not be able to match ^\f
2009-11-27 01:17:36 -05:00
Bart Trojanowski
b5e28d8615 vim: implement sending with ,s from compose buffer 2009-11-27 01:03:35 -05:00
Bart Trojanowski
05d76deb2e vim: store previous buffer number when starting to compose 2009-11-27 01:02:50 -05:00
Bart Trojanowski
651b215f0f vim: make sure headers begin with \w 2009-11-27 01:02:37 -05:00
Bart Trojanowski
350e013696 vim: allow overriding how newBuffer is created 2009-11-27 01:01:37 -05:00
Bart Trojanowski
9012c65282 vim: replace echo\nreturn with trhow in a few places 2009-11-26 23:11:38 -05:00
Bart Trojanowski
aa312db8cd vim: make insert in compose mode configurable 2009-11-26 23:09:57 -05:00
Bart Trojanowski
8bafbac75c vim: add a helpful header to notmuch-compose mode 2009-11-26 23:07:07 -05:00
Bart Trojanowski
805633becc vim: syntax highlighting for notmuch-compose mode 2009-11-26 22:32:17 -05:00
Bart Trojanowski
b078a0c8c2 vim: add support for <Tab> in compose mode
this will skip to the next header in insert and normal modes, and
behave like <Tab> otherwise.
2009-11-26 22:32:02 -05:00
Bart Trojanowski
0aa5f7d250 vim: add support for :NotMuch compose
... but it doesn't send yet.
2009-11-26 22:30:13 -05:00
Bart Trojanowski
5bb149aab2 vim: cleanup settings in newBuffer() and make them local 2009-11-26 22:25:43 -05:00
Bart Trojanowski
bbca6e03c6 vim: add a line splitter that understands quotes
this makes it possible to tokenise expressions like
   :NotMuch compose 'subject: one two three' to:bart@jukie.net
2009-11-26 22:24:33 -05:00
Bart Trojanowski
480903adac vim: allow for different types of mappings not just normal mode ones 2009-11-26 22:22:30 -05:00
Bart Trojanowski
7a7be482f7 vim: fix a case where we started with :NotMuch search 2009-11-25 20:01:13 -05:00
Bart Trojanowski
e2fd1d9970 vim: fix some error checking in NM_search_thread_id() 2009-11-25 19:27:38 -05:00
Bart Trojanowski
29b420700e vim: removing debug statements 2009-11-25 14:31:36 -05:00
Bart Trojanowski
8c8dacb26a vim: Space archives/reads and advances to next message 2009-11-25 14:20:44 -05:00
Bart Trojanowski
4c9ddb9ac1 vim: don't use scrolloff/sidesscrolloff in notmuch buffers 2009-11-25 14:19:35 -05:00
Bart Trojanowski
329f95eb77 vim: refactor get_message_for_line out of show_message_id 2009-11-25 14:19:02 -05:00
Bart Trojanowski
898b173a18 vim: more cleanup and fixes for show_next/previous handlers 2009-11-25 14:18:29 -05:00
Bart Trojanowski
0f39d2c4de vim: allow show_next/previous to skip non-matching messages 2009-11-25 14:17:34 -05:00
Bart Trojanowski
b440aeb23e vim: pass filter expression to add/remove tag functions 2009-11-25 14:12:29 -05:00
Bart Trojanowski
5a32a1d48f vim: fold messages that don't match a query 2009-11-25 00:50:50 -05:00
Bart Trojanowski
9d9b03c837 vim: return nothing instead of failting if there is no message id 2009-11-25 00:48:55 -05:00
Bart Trojanowski
a01e1335be vim: minor improvements to search screen syntax matching 2009-11-25 00:48:55 -05:00
Bart Trojanowski
553637313b vim: make timing info a debug option 2009-11-25 00:48:55 -05:00
Bart Trojanowski
76dc061de3 vim: include stubs for Tab-ing thorugh folds in show view 2009-11-25 00:48:55 -05:00
Bart Trojanowski
b740392b3d vim: include search terms when showing message 2009-11-25 00:48:55 -05:00
Bart Trojanowski
be19c210ca vim: fix '?' command in message display 2009-11-25 00:48:55 -05:00
Bart Trojanowski
845732464c vim: fix shell escaping for () in search terms 2009-11-25 00:48:55 -05:00