1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 13:39:46 +01:00
This commit is contained in:
ncfavier 2023-08-12 16:11:52 +00:00
parent 0aeb0855cf
commit a482d31e66

View file

@ -6681,16 +6681,18 @@ null or path</p><p><span class="emphasis"><em>Default:</em></span>
</pre><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/lf.nix" target="_top">
&lt;home-manager/modules/programs/lf.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.lf.settings"></a><a class="term" href="options.html#opt-programs.lf.settings"><code class="option">programs.lf.settings</code></a></span></dt><dd><p>An attribute set of lf settings. The attribute names and corresponding
values must be among the following supported options.</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="varname">anchorfind</code></span></dt><dd><p>boolean</p></dd><dt><span class="term"><code class="varname">color256</code></span></dt><dd><p>boolean</p></dd><dt><span class="term"><code class="varname">dircounts</code></span></dt><dd><p>boolean</p></dd><dt><span class="term"><code class="varname">dirfirst</code></span></dt><dd><p>boolean</p></dd><dt><span class="term"><code class="varname">drawbox</code></span></dt><dd><p>boolean</p></dd><dt><span class="term"><code class="varname">errorfmt</code></span></dt><dd><p>string</p></dd><dt><span class="term"><code class="varname">filesep</code></span></dt><dd><p>string</p></dd><dt><span class="term"><code class="varname">findlen</code></span></dt><dd><p>signed integer</p></dd><dt><span class="term"><code class="varname">globsearch</code></span></dt><dd><p>boolean</p></dd><dt><span class="term"><code class="varname">hidden</code></span></dt><dd><p>boolean</p></dd><dt><span class="term"><code class="varname">icons</code></span></dt><dd><p>boolean</p></dd><dt><span class="term"><code class="varname">ifs</code></span></dt><dd><p>string</p></dd><dt><span class="term"><code class="varname">ignorecase</code></span></dt><dd><p>boolean</p></dd><dt><span class="term"><code class="varname">ignoredia</code></span></dt><dd><p>boolean</p></dd><dt><span class="term"><code class="varname">incsearch</code></span></dt><dd><p>boolean</p></dd><dt><span class="term"><code class="varname">info</code></span></dt><dd><p>string</p></dd><dt><span class="term"><code class="varname">number</code></span></dt><dd><p>boolean</p></dd><dt><span class="term"><code class="varname">period</code></span></dt><dd><p>signed integer</p></dd><dt><span class="term"><code class="varname">preview</code></span></dt><dd><p>boolean</p></dd><dt><span class="term"><code class="varname">promptfmt</code></span></dt><dd><p>string</p></dd><dt><span class="term"><code class="varname">ratios</code></span></dt><dd><p>string</p></dd><dt><span class="term"><code class="varname">relativenumber</code></span></dt><dd><p>boolean</p></dd><dt><span class="term"><code class="varname">reverse</code></span></dt><dd><p>boolean</p></dd><dt><span class="term"><code class="varname">scrolloff</code></span></dt><dd><p>signed integer</p></dd><dt><span class="term"><code class="varname">shell</code></span></dt><dd><p>string</p></dd><dt><span class="term"><code class="varname">shellopts</code></span></dt><dd><p>string</p></dd><dt><span class="term"><code class="varname">smartcase</code></span></dt><dd><p>boolean</p></dd><dt><span class="term"><code class="varname">smartdia</code></span></dt><dd><p>boolean</p></dd><dt><span class="term"><code class="varname">sortby</code></span></dt><dd><p>string</p></dd><dt><span class="term"><code class="varname">tabstop</code></span></dt><dd><p>signed integer</p></dd><dt><span class="term"><code class="varname">timefmt</code></span></dt><dd><p>string</p></dd><dt><span class="term"><code class="varname">wrapscan</code></span></dt><dd><p>boolean</p></dd><dt><span class="term"><code class="varname">wrapscroll</code></span></dt><dd><p>boolean</p></dd></dl></div><p>See the lf documentation for detailed descriptions of these options.
Use <code class="option">programs.lf.previewer.*</code> to set lfs
<code class="varname">previewer</code> option, and
<a class="xref" href="options.html#opt-programs.lf.extraConfig"><code class="option">programs.lf.extraConfig</code></a> for any other option not listed above.
All string options are quoted with double quotes.</p><p><span class="emphasis"><em>Type:</em></span>
submodule</p><p><span class="emphasis"><em>Default:</em></span>
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.lf.settings"></a><a class="term" href="options.html#opt-programs.lf.settings"><code class="option">programs.lf.settings</code></a></span></dt><dd><p>An attribute set of lf settings. See the lf documentation for
detailed descriptions of these options. Prefer
<code class="option">programs.lf.previewer.*</code> for setting lfs <code class="varname">previewer</code>
option. All string options are quoted with double quotes.</p><p><span class="emphasis"><em>Type:</em></span>
attribute set of (string or signed integer or list of (string or signed integer) or boolean)</p><p><span class="emphasis"><em>Default:</em></span>
<code class="literal">{ }</code></p><p><span class="emphasis"><em>Example:</em></span></p><pre class="programlisting">{
number = true;
ratios = "1:1:2";
ratios = [
1
1
2
];
tabstop = 4;
}
</pre><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/lf.nix" target="_top">