From: Richard Russon Date: Fri, 31 Mar 2017 16:53:17 +0000 (+0100) Subject: drop duplicate versions of the sidebar contrib X-Git-Tag: neomutt-20170414~16^2~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e7f10b1da300a91f92bc1e70f3e8bc84dd17b8f9;p=neomutt drop duplicate versions of the sidebar contrib These: contrib/sample.muttrc-sidebar contrib/sample.vimrc-sidebar are dupes of: doc/muttrc.sidebar doc/vimrc.sidebar --- diff --git a/contrib/sample.muttrc-sidebar b/contrib/sample.muttrc-sidebar deleted file mode 100644 index f21db26dd..000000000 --- a/contrib/sample.muttrc-sidebar +++ /dev/null @@ -1,116 +0,0 @@ -# This is a complete list of sidebar-related configuration. - -# -------------------------------------------------------------------------- -# VARIABLES - shown with their default values -# -------------------------------------------------------------------------- - -# Should the Sidebar be shown? -set sidebar_visible = no - -# How wide should the Sidebar be in screen columns? -# Note: Some characters, e.g. Chinese, take up two columns each. -set sidebar_width = 20 - -# Should the mailbox paths be abbreviated? -set sidebar_short_path = no - -# When abbreviating mailbox path names, use any of these characters as path -# separators. Only the part after the last separators will be shown. -# For file folders '/' is good. For IMAP folders, often '.' is useful. -set sidebar_delim_chars = '/.' - -# If the mailbox path is abbreviated, should it be indented? -set sidebar_folder_indent = no - -# Indent mailbox paths with this string. -set sidebar_indent_string = ' ' - -# Make the Sidebar only display mailboxes that contain new, or flagged, -# mail. -set sidebar_new_mail_only = no - -# Any mailboxes that are whitelisted will always be visible, even if the -# sidebar_new_mail_only option is enabled. -sidebar_whitelist '/home/user/mailbox1' -sidebar_whitelist '/home/user/mailbox2' - -# When searching for mailboxes containing new mail, should the search wrap -# around when it reaches the end of the list? -set sidebar_next_new_wrap = no - -# The character to use as the divider between the Sidebar and the other Mutt -# panels. -# Note: Only the first character of this string is used. -set sidebar_divider_char = '|' - -# Enable extended buffy mode to calculate total, new, and flagged -# message counts for each mailbox. -set mail_check_stats - -# Display the Sidebar mailboxes using this format string. -set sidebar_format = '%B%?F? [%F]?%* %?N?%N/?%S' - -# Sort the mailboxes in the Sidebar using this method: -# count - total number of messages -# flagged - number of flagged messages -# new - number of new messages -# path - mailbox path -# unsorted - do not sort the mailboxes -set sidebar_sort_method = 'unsorted' - -# -------------------------------------------------------------------------- -# FUNCTIONS - shown with an example mapping -# -------------------------------------------------------------------------- - -# Move the highlight to the previous mailbox -bind index,pager \Cp sidebar-prev - -# Move the highlight to the next mailbox -bind index,pager \Cn sidebar-next - -# Open the highlighted mailbox -bind index,pager \Co sidebar-open - -# Move the highlight to the previous page -# This is useful if you have a LOT of mailboxes. -bind index,pager sidebar-page-up - -# Move the highlight to the next page -# This is useful if you have a LOT of mailboxes. -bind index,pager sidebar-page-down - -# Move the highlight to the previous mailbox containing new, or flagged, -# mail. -bind index,pager sidebar-prev-new - -# Move the highlight to the next mailbox containing new, or flagged, mail. -bind index,pager sidebar-next-new - -# Toggle the visibility of the Sidebar. -bind index,pager B sidebar-toggle-visible - -# -------------------------------------------------------------------------- -# COLORS - some unpleasant examples are given -# -------------------------------------------------------------------------- -# Note: All color operations are of the form: -# color OBJECT FOREGROUND BACKGROUND - -# Color of the current, open, mailbox -# Note: This is a general Mutt option which colors all selected items. -color indicator cyan black - -# Color of the highlighted, but not open, mailbox. -color sidebar_highlight black color8 - -# Color of the divider separating the Sidebar from Mutt panels -color sidebar_divider color8 black - -# Color to give mailboxes containing flagged mail -color sidebar_flagged red black - -# Color to give mailboxes containing new mail -color sidebar_new green black - -# -------------------------------------------------------------------------- - -# vim: syntax=muttrc diff --git a/contrib/sample.vimrc-sidebar b/contrib/sample.vimrc-sidebar deleted file mode 100644 index c5be50da8..000000000 --- a/contrib/sample.vimrc-sidebar +++ /dev/null @@ -1,35 +0,0 @@ -" Vim syntax file for the mutt sidebar patch - -syntax keyword muttrcVarBool skipwhite contained sidebar_folder_indent nextgroup=muttrcSetBoolAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr -syntax keyword muttrcVarBool skipwhite contained sidebar_new_mail_only nextgroup=muttrcSetBoolAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr -syntax keyword muttrcVarBool skipwhite contained sidebar_next_new_wrap nextgroup=muttrcSetBoolAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr -syntax keyword muttrcVarBool skipwhite contained sidebar_short_path nextgroup=muttrcSetBoolAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr -syntax keyword muttrcVarBool skipwhite contained sidebar_visible nextgroup=muttrcSetBoolAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr - -syntax keyword muttrcVarNum skipwhite contained sidebar_refresh_time nextgroup=muttrcSetNumAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr -syntax keyword muttrcVarNum skipwhite contained sidebar_width nextgroup=muttrcSetNumAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr - -syntax keyword muttrcVarStr contained skipwhite sidebar_divider_char nextgroup=muttrcVarEqualsIdxFmt -syntax keyword muttrcVarStr contained skipwhite sidebar_delim_chars nextgroup=muttrcVarEqualsIdxFmt -syntax keyword muttrcVarStr contained skipwhite sidebar_format nextgroup=muttrcVarEqualsIdxFmt -syntax keyword muttrcVarStr contained skipwhite sidebar_indent_string nextgroup=muttrcVarEqualsIdxFmt -syntax keyword muttrcVarStr contained skipwhite sidebar_sort_method nextgroup=muttrcVarEqualsIdxFmt - -syntax keyword muttrcCommand sidebar_whitelist - -syntax match muttrcFunction contained "\" -syntax match muttrcFunction contained "\" -syntax match muttrcFunction contained "\" -syntax match muttrcFunction contained "\" -syntax match muttrcFunction contained "\" -syntax match muttrcFunction contained "\" -syntax match muttrcFunction contained "\" -syntax match muttrcFunction contained "\" - -syntax keyword muttrcColorField contained sidebar_divider -syntax keyword muttrcColorField contained sidebar_flagged -syntax keyword muttrcColorField contained sidebar_highlight -syntax keyword muttrcColorField contained sidebar_indicator -syntax keyword muttrcColorField contained sidebar_new - -" vim: syntax=vim