{ 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()' ''; }