18cc4d4f4ac4

More
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Fri, 18 Sep 2020 17:21:49 -0400
parents dfb5e299d678
children 0ad0176a5755 785a46b1b198
branches/tags (none)
files mutt/muttrc vim/vimrc weechat/python/autoload/sanitize_jira.py

Changes

--- a/mutt/muttrc	Tue Sep 08 14:03:40 2020 -0400
+++ b/mutt/muttrc	Fri Sep 18 17:21:49 2020 -0400
@@ -177,6 +177,7 @@
 # Sorting
 macro index <f1> "<enter-command>set sort = threads<enter><enter-command>set sort_aux = reverse-last-date-received<enter>" "sort with newest first"
 macro index <f2> "<enter-command>set sort = threads<enter><enter-command>set sort_aux = date-received<enter>" "sort with oldest first"
+bind  index <f3> sort-reverse
 
 # Mark all as read
 macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read"
--- a/vim/vimrc	Tue Sep 08 14:03:40 2020 -0400
+++ b/vim/vimrc	Fri Sep 18 17:21:49 2020 -0400
@@ -1,6 +1,6 @@
 " .vimrc
 " Author: Steve Losh <steve@stevelosh.com>
-" Source: http://bitbucket.org/sjl/dotfiles/src/tip/vim/
+" Source: https://hg.stevelosh.com/dotfiles/file/tip/vim/vimrc
 
 " Preamble ---------------------------------------------------------------- {{{
 "
--- a/weechat/python/autoload/sanitize_jira.py	Tue Sep 08 14:03:40 2020 -0400
+++ b/weechat/python/autoload/sanitize_jira.py	Fri Sep 18 17:21:49 2020 -0400
@@ -19,6 +19,9 @@
 )
 
 def sanitize_jira(data, line):
+    if 'sign up for an Atlassian account to view this link' in line['message']:
+        return {'message': ' '}
+
     m = first_line_re.search(line['message'])
     if m:
         return {'message': '%s | %s' % (m.group('title'), m.group('link'))}