aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2023-12-28 21:56:57 -0500
committerRyan Kavanagh <rak@rak.ac>2023-12-28 21:56:57 -0500
commit5db0d468e8ff459397eabd18d50d81c8a3f08d43 (patch)
treedba7af658adf93901a29bf4d2767b0be15aae3b9
parentportability (diff)
drop news.rc from neomutt
-rw-r--r--.chezmoiremove1
-rw-r--r--dot_config/neomutt/neomuttrc.tmpl1
-rw-r--r--dot_config/neomutt/news.rc71
3 files changed, 1 insertions, 72 deletions
diff --git a/.chezmoiremove b/.chezmoiremove
index dc70487..fa77749 100644
--- a/.chezmoiremove
+++ b/.chezmoiremove
@@ -7,4 +7,5 @@
.screenlayout/zeta-work.sh
bin/mutt
.config/systemd/user/borgmatic@tosh.service.wants/backup-email@mail.cs.mcgill.ca.service
+.config/neomutt/news.rc
.xkb
diff --git a/dot_config/neomutt/neomuttrc.tmpl b/dot_config/neomutt/neomuttrc.tmpl
index 379312c..a819b5a 100644
--- a/dot_config/neomutt/neomuttrc.tmpl
+++ b/dot_config/neomutt/neomuttrc.tmpl
@@ -134,7 +134,6 @@ source "$XDG_CONFIG_HOME/neomutt/mailinglists.rc"
source "$XDG_CONFIG_HOME/neomutt/score.rc"
source "$XDG_CONFIG_HOME/neomutt/color.rc"
source "$XDG_CONFIG_HOME/neomutt/gpg.rc"
-source "$XDG_CONFIG_HOME/neomutt/news.rc"
{{- if hasPrefix .chezmoi.homeDir "/sdf" }}
set from = 'Ryan Kavanagh <rak@sdf.org>'
diff --git a/dot_config/neomutt/news.rc b/dot_config/neomutt/news.rc
deleted file mode 100644
index 24d2b77..0000000
--- a/dot_config/neomutt/news.rc
+++ /dev/null
@@ -1,71 +0,0 @@
-# Example NeoMutt config file for the nntp feature.
-
-# --------------------------------------------------------------------------
-# VARIABLES - shown with their default values
-# --------------------------------------------------------------------------
-set ask_follow_up = no
-set ask_x_comment_to = no
-set catchup_newsgroup = ask-yes
-set followup_to_poster = ask-yes
-set group_index_format = '%4C %M%N %5s %-45.45f %d'
-set inews = ''
-set mime_subject = yes
-set newsgroups_charset = utf-8
-set newsrc = '~/.newsrc'
-set news_cache_dir = '$XDG_CONFIG_HOME/neomutt/cache/'
-set news_server = 'news.club.cc.cmu.edu'
-set nntp_authenticators = ''
-set nntp_context = 1000
-set nntp_listgroup = yes
-set nntp_load_description = yes
-set nntp_pass = ''
-set nntp_poll = 60
-set nntp_user = ''
-set post_moderated = ask-yes
-set save_unsubscribed = no
-set show_new_news = yes
-set show_only_unread = no
-set x_comment_to = no
-# --------------------------------------------------------------------------
-# FUNCTIONS - shown with an example mapping
-# --------------------------------------------------------------------------
-# mark all articles in newsgroup as read
-bind browser,index y catchup
-# open a different newsgroup
-bind index i change-newsgroup
-# edit the Followup-To field
-bind compose o edit-followup-to
-# edit the newsgroups list
-bind compose N edit-newsgroups
-# edit the X-Comment-To field
-bind compose x edit-x-comment-to
-# followup to newsgroup
-bind attach,index,pager F followup-message
-# post message to newsgroup
-bind index,pager P post-message
-# load list of all newsgroups from NNTP server
-bind browser g reload-active
-# subscribe to current mbox (IMAP/NNTP only)
-bind browser s subscribe
-# subscribe to newsgroups matching a pattern
-bind browser S subscribe-pattern
-# mark all articles in newsgroup as unread
-bind browser Y uncatchup
-# unsubscribe from current mbox (IMAP/NNTP only)
-bind browser u unsubscribe
-# unsubscribe from newsgroups matching a pattern
-bind browser U unsubscribe-pattern
-# open a different newsgroup in read only mode
-bind index,pager \ei change-newsgroup-readonly
-# forward to newsgroup
-bind attach,index,pager \eF forward-to-group
-# get all children of the current message
-# bind index ??? get-children
-# get parent of the current message
-bind index \eG get-parent
-# reconstruct thread containing current message
-# bind index ??? reconstruct-thread
-# get message with Message-Id
-bind index \CG get-message
-# --------------------------------------------------------------------------
-# vim: syntax=neomuttrc