Scroll to navigation

LEI-CONFIG(1) public-inbox user manual LEI-CONFIG(1)


lei-config - git-config wrapper for lei configuration file


lei config [OPTIONS]


Call git-config(1) with "$XDG_CONFIG_HOME/lei/config" as the configuration file. All "OPTIONS" are passed through, but those that override the configuration file are not permitted.

All "imap" and "nntp" options may be specified per-host or (if using git 2.26+) with wildcards:

        [imap "imap://*.onion"]
                proxy = socks5h://
        [nntp "nntp://"]
                proxy = socks5h://


Managed by lei-add-external(1) and lei-forget-external(1)
The "socks5h://" proxy address. Older versions of SOCKS may be supported if there is user demand.
Enable or disable STARTTLS on non-imaps:// and non-nntps:// hosts. By default, STARTTLS is enabled if available unless connecting to a Tor .onion or localhost.
Enable protocol-level compression. This may be incompatible or broken with some servers.

Note: Net::NNTP compression support is pending: <>

Enable debugging output of underlying IMAP and NNTP libraries, currently Mail::IMAPClient and Net::NNTP, respectively. If using imap.proxy or nntp.proxy point to a SOCKS proxy, debugging output for IO::Socket::Socks will be enabled, as well.

Disabling imap.compress may be required for readability.

The read timeout for responses.

Default: 600 seconds (IMAP); 120 seconds (NNTP)

Number of full messages to fetch at once. Larger values reduce network round trips at the cost of higher memory use, especially when retrieving large messages.

Small responses for IMAP flags are fetched at 10000 times this value.

Default: 1

"quoted", "hdrdefault", "status", "attachment" color slots are supported for the "-f text" and "-f reply" output formats of lei-lcat(1) and lei-q(1).

Any per-project .git/config, and global ~/.gitconfig files will also be parsed for diff coloring. git diff color slots ("color.diff.SLOT") supported are "new", "old", "meta", "frag", "func", and "context".


Feedback welcome via plain-text mail to <>

The mail archives are hosted at <> and <http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>


Copyright 2021 all contributors <>

License: AGPL-3.0+ <>

1993-10-02 public-inbox.git