summary refs log tree commit diff stats
path: root/doc/aerc.1.scd
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2019-09-11 21:01:05 +0200
committerDrew DeVault <sir@cmpwn.com>2019-09-12 16:17:24 -0400
commita93b4de6f3c362d6e0db0b1f6d3f2e1c9a5cd64d (patch)
treed5b2451f9a5bb6d79b284ea618361ed4d8eb4a33 /doc/aerc.1.scd
parent618a500341d54ec5bec6d035a86b1307ff1dad0a (diff)
downloadaerc-a93b4de6f3c362d6e0db0b1f6d3f2e1c9a5cd64d.tar.gz
Add modify-labels command
This adds the event type as well as the command implementation, but no backend
supports it yet.
Diffstat (limited to 'doc/aerc.1.scd')
-rw-r--r--doc/aerc.1.scd8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd
index c3be01b..2ec17a4 100644
--- a/doc/aerc.1.scd
+++ b/doc/aerc.1.scd
@@ -133,6 +133,14 @@ message list, the message in the message viewer, etc).
 
 	*-t*: Toggle the selected message between read and unread.
 
+*modify-labels* <[+-]label>...
+	Modify message labels (e.g. notmuch tags). Labels prefixed with a '+' are
+	added, those prefixed with a '-' removed. As a convenience, labels without
+	either operand add the specified label.
+
+	Example: `modify-labels +inbox -spam unread` adds the labels inbox and unread
+	and removes spam
+
 *unsubscribe*
 	Attempt to automatically unsubscribe the user from the mailing list through
 	use of the List-Unsubscribe header. If supported, aerc may open a compose
11 12
13
14
15
16
17
18
                  
                                                               


               



                                                                                         


        

                           
                                   
    
                                   
  
#!/usr/bin/env zsh
# Helper to more conveniently open commonly-used SubX programs.

if [ $# -eq 0 ]
then
  echo "Usage: $0 <file root without subdirectory or .subx extension>"
  echo
  echo "Naming convention: Files starting with 'ex' will be assumed to live in examples/"
  echo "Other files will be assumed to live in apps/"
  exit 1
fi

if [[ $EDITOR == *'vim'* ]]
then
  $EDITOR -S vimrc.vim apps/$1.subx
else
  $EDITOR              apps/$1.subx
fi