]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - mail/mutt/handling-unflagged
Move to mail/ in preparation for merge into new dotfiles repository
[config/dotfiles.git] / mail / mutt / handling-unflagged
diff --git a/mail/mutt/handling-unflagged b/mail/mutt/handling-unflagged
new file mode 100644 (file)
index 0000000..0a76453
--- /dev/null
@@ -0,0 +1,27 @@
+# muttrc file to toggle between flagged an unflagged mails
+# when sourced display all emails, next call to <Esc>f toggles
+
+# Copyright (C) 2007-2012  Simon Ruderich
+#
+# This file is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This file is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this file.  If not, see <http://www.gnu.org/licenses/>.
+
+
+# display all mails, also go to the next new/unread message:
+# un/set beep prevents warnings with next-new-then-unread if there are no unread messages
+push "<limit>.<enter><enter-command>unset beep<enter><last-entry><next-new-then-unread><enter-command>set beep<enter>"
+
+# macro to display only flagged mails:
+macro index <esc>f "<enter-command>source ~/.mutt/handling-flagged<enter>"
+
+# vim: ft=muttrc