Skip to content

Commit 0083f71

Browse files
author
mwnx
committed
'lists': Fix list_filter_shortcut not working
In presets/lists, the list_filter_shortcut (",A" by default) was incorrectly written. This patch fixes this.
1 parent 4ba6808 commit 0083f71

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

presets/lists

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,9 @@ mutt.macro index ,,,l = \"$(list_move_macro "%id" "%box")\"
8888
#TODO: escape special characters (folder-hook expects a regex)
8989
MUTT.'folder-hook ' += $([[ %{mutt.mark_old:-} == no ]] ||\
9090
printn "\"%{box}/\"/*" set mark_old)
91-
MUTT.'folder-hook ' += "\"%{box}/\"/*" bind index %list_filter_shortcut noop
9291
MUTT.'folder-hook ' += %{mutt.spoolfile} unset mark_old
93-
MUTT.'folder-hook ' += %{mutt.spoolfile} macro index %list_filter_shortcut push ",,,l"
94-
MUTT.'folder-hook ' += %{mutt.spoolfile} push ",,,l"
92+
MUTT.'folder-hook ' += %{mutt.spoolfile} push ,,,l
93+
mutt.macro index %list_filter_shortcut ?= "\"<enter-command><kill-line>push ,,,l<enter>\""
9594

9695
[accounts %not_using_lists]
9796
mutt.bind index %list_filter_shortcut ?= noop

0 commit comments

Comments
 (0)