Configuration sidebar

This commit is contained in:
Stefan Kropp 2018-12-01 20:16:10 +01:00
parent 0bf5862b0f
commit aed2f5a9e6
No known key found for this signature in database
GPG Key ID: 10055DD86AA05BB3
14 changed files with 147 additions and 0 deletions

View File

@ -0,0 +1,10 @@
# -------------------------------------------------------------------------
# Name: sidebar_whitelist / unsidebar_whitelist
# -------------------------------------------------------------------------
# The sidebar_whitelist command specifies mailboxes that will always be
# displayed in the sidebar, even if $sidebar_new_mail_only is set and the
# mailbox does not contain new mail.
# The unsidebar_whitelist command is used to remove a mailbox from the list
# of whitelisted mailboxes. Use “unsidebar_whitelist *” to remove all
# mailboxes.
# -------------------------------------------------------------------------

View File

@ -0,0 +1,10 @@
# -------------------------------------------------------------------------
# Name: sidebar_component_depth
# -------------------------------------------------------------------------
# By default the sidebar will show the mailbox's path, relative to the
# $folder variable. This specifies the number of parent directories to hide
# from display in the sidebar. For example: If a maildir is normally
# displayed in the sidebar as dir1/dir2/dir3/maildir, setting
# sidebar_component_depth=2 will display it as dir3/maildir, having
# truncated the 2 highest directories.
# -------------------------------------------------------------------------

View File

@ -0,0 +1,10 @@
# -------------------------------------------------------------------------
# Name: sidebar_delim_chars
# -------------------------------------------------------------------------
# This contains the list of characters which you would like to treat as
# folder separators for displaying paths in the sidebar. Local mail is
# often arranged in directories: `dir1/dir2/mailbox'.
# set sidebar_delim_chars='/'
# IMAP mailboxes are often named: `folder1.folder2.mailbox'.
# -------------------------------------------------------------------------
# set sidebar_delim_chars='.'

View File

@ -0,0 +1,5 @@
# -------------------------------------------------------------------------
# Name: sidebar_folder_indent
# -------------------------------------------------------------------------
# Set this to indent mailboxes in the sidebar.
# -------------------------------------------------------------------------

View File

@ -0,0 +1,7 @@
# -------------------------------------------------------------------------
# Name: sidebar_divider_char
# -------------------------------------------------------------------------
# This specifies the characters to be drawn between the sidebar (when
# visible) and the other NeoMutt panels. ASCII and Unicode line-drawing
# characters are supported.
# -------------------------------------------------------------------------

View File

@ -0,0 +1,25 @@
# -------------------------------------------------------------------------
# Name: sidebar_format
# -------------------------------------------------------------------------
# This variable allows you to customize the sidebar display. This string is
# similar to $index_format, but has its own set of printf(3)-like
# sequences:
# %B Name of the mailbox
# %S * Size of mailbox (total number of messages)
# %N * Number of unread messages in the mailbox
# %n N if mailbox has new mail, blank otherwise
# %F * Number of Flagged messages in the mailbox
# %! “!” : one flagged message; “!!” : two flagged messages; “n!” : n flagged messages (for n > 2). Otherwise prints nothing.
# %d * @ Number of deleted messages
# %L * @ Number of messages after limiting
# %t * @ Number of tagged messages
# %>X right justify the rest of the string and pad with “X”
# %|X pad to the end of the line with “X”
# %*X soft-fill with character “X” as pad
# * = Can be optionally printed if nonzero @ = Only applicable to the current folder
#
# In order to use %S, %N, %F, and %!, $mail_check_stats must be set. When
# thus set, a suggested value for this option is "%B%?F? [%F]?%*
# %?N?%N/?%S".
set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"

View File

@ -0,0 +1,6 @@
# -------------------------------------------------------------------------
# Name: sidebar_indent_string
# -------------------------------------------------------------------------
# This specifies the string that is used to indent mailboxes in the
# sidebar. It defaults to two spaces.
# -------------------------------------------------------------------------

View File

@ -0,0 +1,5 @@
# -------------------------------------------------------------------------
# Name: sidebar_new_mail_only
# -------------------------------------------------------------------------
# When set, the sidebar will only display mailboxes containing new, or
# flagged, mail.

View File

@ -0,0 +1,10 @@
# -------------------------------------------------------------------------
# Name: sidebar_next_new_wrap
# -------------------------------------------------------------------------
# When set, the <sidebar-next-new> command will not stop and the end of
# the list of mailboxes, but wrap around to the beginning. The
# <sidebar-prev-new> command is similarly affected, wrapping around to the
# end of the list.
# -------------------------------------------------------------------------

View File

@ -0,0 +1,5 @@
# -------------------------------------------------------------------------
# Name: sidebar_on_right
# -------------------------------------------------------------------------
# When set, the sidebar will appear on the right-hand side of the screen.
# -------------------------------------------------------------------------

View File

@ -0,0 +1,17 @@
# -------------------------------------------------------------------------
# Name: sidebar_short_path
# -------------------------------------------------------------------------
# By default the sidebar will show the mailbox's path, relative to the
# $folder variable. Setting sidebar_shortpath=yes will shorten the names
# relative to the previous name. Here's an example:
#
# shortpath=no
# shortpath=yes shortpath=yes, folderindent=yes, indentstr=".."
# fruit fruit fruit
# fruit.apple
# apple ..apple
# fruit.banana
# banana ..banana
# fruit.cherry
# cherry ..cherry
# -------------------------------------------------------------------------

View File

@ -0,0 +1,19 @@
# -------------------------------------------------------------------------
# Name: sidebar_sort_method
# -------------------------------------------------------------------------
# Specifies how to sort entries in the file browser. By default, the
# entries are sorted alphabetically.
#
# Valid values:
# alpha (alphabetically)
# count (all message count)
# flagged (flagged message count)
# name (alphabetically)
# new (unread message count)
# path (alphabetically)
# unread (unread message count)
# unsorted
#
# You may optionally use the “reverse-” prefix to specify reverse sorting
# order (example: “set sort_browser=reverse-date”).
# -------------------------------------------------------------------------

View File

@ -0,0 +1,8 @@
# -------------------------------------------------------------------------
# Name: sidebar_visible
# -------------------------------------------------------------------------
# This specifies whether or not to show sidebar. The sidebar shows a list
# of all your mailboxes.
# -------------------------------------------------------------------------
#
# set sidebar_visible = yes

View File

@ -0,0 +1,10 @@
# -------------------------------------------------------------------------
# Name: sidebar_width
# -------------------------------------------------------------------------
# This controls the width of the sidebar. It is measured in screen
# columns. For example: sidebar_width=20 could display 20 ASCII
# characters, or 10 Chinese characters.
# -------------------------------------------------------------------------
#
# set sidebar_width = 50