Under Development
stars

Browser Options#

$browser_abbreviate_mailboxes#

Description:

Abbreviate mailboxes using ~ and = in the browser

Type:

Boolean

Default:
set browser_abbreviate_mailboxes = yes

When this option is set, NeoMutt will abbreviate mailbox names in the browser mailbox list, using ~ and = shortcuts.

The default alpha setting of $browser_sort uses locale-based sorting (using strcoll(3)), which ignores some punctuation. This can lead to some situations where the order doesn’t make intuitive sense. In those cases, it may be desirable to unset this option.


$browser_sort#

Description:

Sort method for the browser

Type:

Sort Order

Notes:

Reverse

Default:
set browser_sort = alpha

Specifies how to sort entries in the file browser.

Value

Sort by

alpha

Name

count

Total message count

date

Date

desc

Description

size

Size

new

Count of new messages

unsorted

Unsorted

Deprecated Value

Use this instead

unread

new


$browser_sort_dirs_first#

Description:

Group directories before files in the browser

Type:

Boolean

Default:
set browser_sort_dirs_first = no

If this option is set, the browser will group directories before files.


$folder_format#

Description:

Format string for the Browser Dialog’s display of folders

Type:

Expando

Notes:

Not Empty, Pipe Support

Default:
set folder_format = "%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %i"
Alternative:
set folder_format = "%2{number} %{tagged} %{new-mail} %{file-mode} %2{hard-links} %-8.8{file-owner} %-8.8{file-group} %8{file-size} %{date} %{description}"

Specify the format of local files/dirs displayed in the Browser Dialog.

Format Sequences

Short

Long Name

Description

%a

%{notify}

Alert: 1 if user is notified of new mail

%C

%{number}

Current file number

%D

%{date}

Date/time folder was last modified using $date_format.

It is recommended to use %[fmt] instead, where fmt is the value of $date_format.

%d

%{date-format}

Date/time folder was last modified

%F

%{file-mode}

File permissions

%f

%{filename}

Filename (/ is appended to directory names, @ to symbolic links and * to executable files)

%g

%{file-group}

Group name (or numeric gid, if missing)

%i

%{description}

Description of the folder

%l

%{hard-links}

Number of hard links

%m

%{message-count}

Number of messages in the mailbox

%N

%{new-mail}

N if mailbox has new mail, (space) otherwise

%n

%{unread-count}

Number of unread messages in the mailbox

%p

%{poll}

Poll: 1 if Mailbox is checked for new mail

%s

%{file-size}

Size in bytes (see Bytes Size Display)

%t

%{tagged}

* if the file is tagged, blank otherwise

%u

%{file-owner}

Owner name (or numeric uid, if missing)

%[fmt]

Date/time folder was last modified using an strftime(3) expression

%*X

%{padding-soft:X}

Soft-fill with character X as padding

%>X

%{padding-hard:X}

Right justify the rest of the string and pad with character X

%|X

%{padding-eol:X}

Pad to the end of the line with character X

%m, %n, and %N only work for monitored mailboxes. %m requires $mail_check_stats to be set. %n requires $mail_check_stats to be set (except for IMAP mailboxes).


$group_index_format#

Description:

Format string for the Browser Dialog’s display of newsgroups

Type:

Expando

Notes:

Not Empty, Pipe Support

Default:
set group_index_format = "%4C %M%N %5s  %-45.45f %d"
Alternative:
set group_index_format = "%4{number} %{flags}%{flags2} %5{unread-count}  %-45.45{newsgroup} %{description}"

Specify the format of newsgroups displayed in the Browser Dialog.

Format Sequences

Short

Long Name

Description

%a

%{notify}

Alert: 1 if user is notified of new mail

%C

%{number}

Current newsgroup number

%d

%{description}

Description of newsgroup (becomes from server)

%f

%{newsgroup}

Newsgroup name

%M

%{flags}

- if newsgroup not allowed for direct post (moderated for example)

%N

%{flags2}

N if newsgroup is new, u if unsubscribed, (space) otherwise

%n

%{new-count}

Number of new articles in newsgroup

%p

%{poll}

Poll: 1 if Mailbox is checked for new mail

%s

%{unread-count}

Number of unread articles in newsgroup

%*X

%{padding-soft:X}

Soft-fill with character X as padding

%>X

%{padding-hard:X}

Right justify the rest of the string and pad with character X

%|X

%{padding-eol:X}

Pad to the end of the line with character X


$mailbox_folder_format#

Description:

Format string for the Browser Dialog’s display of mailbox folders

Type:

Expando

Notes:

Not Empty, Pipe Support

Default:
set mailbox_folder_format = "%2C %<n?%6n&      > %6m %i"
Alternative:
set mailbox_folder_format = "%2{number} %<n?%6{unread-count}&      > %6{message-count} %{description}"

Specify the format of network mailboxes, e.g. IMAP, displayed in the Browser Dialog.

See also


$mask#

Description:

Only display files/dirs matching this regex in the browser

Type:

Regular Expression

Notes:

Case Sensitive, Match Case, Allow Not, No Sub

Default:
set mask = "!^\\.[^.]"

A regular expression used in the file browser, optionally preceded by the not operator !. Only files whose names match this mask will be shown.


$show_only_unread#

Description:

Only show subscribed newsgroups with unread articles

Type:

Boolean

Default:
set show_only_unread = no

If set, only subscribed newsgroups that contain unread articles will be displayed in browser.