mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
vim: fix space key: now archives (did opposite)
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>
This commit is contained in:
parent
bab653ce39
commit
2b79776eed
1 changed files with 1 additions and 1 deletions
|
@ -596,7 +596,7 @@ function! s:NM_show_advance_marking_read_and_archiving()
|
||||||
let filter = <SID>NM_combine_tags('tag:', advance_tags, 'OR', '()')
|
let filter = <SID>NM_combine_tags('tag:', advance_tags, 'OR', '()')
|
||||||
\ + ['AND']
|
\ + ['AND']
|
||||||
\ + <SID>NM_combine_tags('', ids, 'OR', '()')
|
\ + <SID>NM_combine_tags('', ids, 'OR', '()')
|
||||||
call map(advance_tags, '"+" . v:val')
|
call map(advance_tags, '"-" . v:val')
|
||||||
call <SID>NM_tag(filter, advance_tags)
|
call <SID>NM_tag(filter, advance_tags)
|
||||||
call <SID>NM_show_next(1, 1)
|
call <SID>NM_show_next(1, 1)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue