-if !exists('g:notmuch_rb_datetime_format')
- let g:notmuch_rb_datetime_format = s:notmuch_datetime_format_default
+if !exists('g:notmuch_datetime_format')
+ let g:notmuch_datetime_format = s:notmuch_datetime_format_default
-if !exists('g:notmuch_rb_folders_count_threads')
- let g:notmuch_rb_folders_count_threads = s:notmuch_folders_count_threads_default
+if !exists('g:notmuch_folders_count_threads')
+ let g:notmuch_folders_count_threads = s:notmuch_folders_count_threads_default
date = Time.at(msg.date).strftime(date_fmt)
nm_m.start = b.count
b << "%s %s (%s)" % [msg['from'], date, msg.tags]
date = Time.at(msg.date).strftime(date_fmt)
nm_m.start = b.count
b << "%s %s (%s)" % [msg['from'], date, msg.tags]
- if exists('g:notmuch_rb_custom_search_maps')
- call extend(g:notmuch_search_maps, g:notmuch_rb_custom_search_maps)
+ if exists('g:notmuch_custom_search_maps')
+ call extend(g:notmuch_search_maps, g:notmuch_custom_search_maps)
- if exists('g:notmuch_rb_custom_show_maps')
- call extend(g:notmuch_show_maps, g:notmuch_rb_custom_show_maps)
+ if exists('g:notmuch_custom_show_maps')
+ call extend(g:notmuch_show_maps, g:notmuch_custom_show_maps)
$searches.clear
folders.each do |name, search|
q = $curbuf.query(search)
$searches.clear
folders.each do |name, search|
q = $curbuf.query(search)