1LEI-CONFIG(1)              public-inbox user manual              LEI-CONFIG(1)
2
3
4

NAME

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

SYNOPSIS

9       lei config <name> [[<value>] [<value-pattern>]]
10
11       lei config -l | --list
12
13       lei config -e | --edit
14

DESCRIPTION

16       Call git-config(1) with "$XDG_CONFIG_HOME/lei/config" as the
17       configuration file.  All "OPTIONS" are passed through, but those that
18       override the configuration file are not permitted.
19
20       All "imap" and "nntp" options may be specified per-host or (if using
21       git 2.26+) with wildcards:
22
23               [imap "imap://*.onion"]
24                       proxy = socks5h://127.0.0.1:9050
25
26               [nntp "nntp://example.com"]
27                       proxy = socks5h://127.0.0.1:1080
28
29   VARIABLES
30       external.*
31               Managed by lei-add-external(1) and lei-forget-external(1)
32
33       imap.proxy
34       nntp.proxy
35               The "socks5h://" proxy address.  Older versions of SOCKS may be
36               supported if there is user demand.
37
38       imap.starttls
39       nntp.starttls
40               Enable or disable STARTTLS on non-imaps:// and non-nntps://
41               hosts.  By default, STARTTLS is enabled if available unless
42               connecting to a Tor .onion or localhost.
43
44       imap.compress
45       nntp.compress
46               Enable protocol-level compression.  This may be incompatible or
47               broken with some servers.
48
49               Note: Net::NNTP compression support is pending:
50               <https://rt.cpan.org/Ticket/Display.html?id=129967>
51
52       imap.debug
53       nntp.debug
54               Enable debugging output of underlying IMAP and NNTP libraries,
55               currently Mail::IMAPClient and Net::NNTP, respectively.  If
56               using imap.proxy or nntp.proxy point to a SOCKS proxy,
57               debugging output for IO::Socket::Socks will be enabled, as
58               well.
59
60               Disabling imap.compress may be required for readability.
61
62       imap.timeout
63       nntp.timeout
64               The read timeout for responses.
65
66               Default: 600 seconds (IMAP); 120 seconds (NNTP)
67
68       imap.fetchBatchSize
69               Number of full messages to fetch at once.  Larger values reduce
70               network round trips at the cost of higher memory use,
71               especially when retrieving large messages.
72
73               Small responses for IMAP flags are fetched at 10000 times this
74               value.
75
76               Default: 1
77
78       color.SLOT
79               "quoted", "hdrdefault", "status", "attachment" color slots are
80               supported for the "-f text" and "-f reply" output formats of
81               lei-lcat(1) and lei-q(1).
82
83               Any per-project .git/config, and global ~/.gitconfig files will
84               also be parsed for diff coloring.  git diff color slots
85               ("color.diff.SLOT") supported are "new", "old", "meta", "frag",
86               "func", and "context".
87

OPTIONS

89       Most git-config(1) command-line switches are accepted by "lei config"
90       as-is.  The most-frequently-used options are expected to be:
91
92       -e
93       --edit
94           Opens an editor to edit the lei config file
95
96       -l
97       --list
98           List all variables set in config file, along with their values.
99

CONTACT

101       Feedback welcome via plain-text mail to <mailto:meta@public-inbox.org>
102
103       The mail archives are hosted at <https://public-inbox.org/meta/> and
104       <http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>
105
107       Copyright all contributors <mailto:meta@public-inbox.org>
108
109       License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
110
111
112
113public-inbox.git                  1993-10-02                     LEI-CONFIG(1)
Impressum