blob: b343c11eb0af0448102bcf8f23df39f3a64d83e7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ vars, pkgs, ... }:
{
xdg.configFile."/home/petri/.config/chawan/config.toml".text = ''
[buffer]
autofocus = true
images = true
styling = true
scripting = true
history = true
[input]
vi-numeric-prefix = true
[page]
# Here, the arrow function will be called with the vi numbered prefix if
# one was input, and with no argument otherwise.
# The numeric prefix can never be zero, so it is safe to test for undefined
# using the ternary operator.
G = 'n => n ? pager.gotoLine(n) : pager.cursorLastLine()'
'';
}
|