home: pager: allow quitting without screen clear
All checks were successful
ci/woodpecker/push/check Pipeline was successful
All checks were successful
ci/woodpecker/push/check Pipeline was successful
This commit is contained in:
parent
d3a953247c
commit
18c0758464
1 changed files with 5 additions and 0 deletions
|
|
@ -18,5 +18,10 @@ in
|
||||||
LESSHISTFILE = "${config.xdg.stateHome}/less/history";
|
LESSHISTFILE = "${config.xdg.stateHome}/less/history";
|
||||||
LESSKEY = "${config.xdg.configHome}/less/lesskey";
|
LESSKEY = "${config.xdg.configHome}/less/lesskey";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.configFile."less/lesskey".text = ''
|
||||||
|
# Quit without clearing the screen on `Q`
|
||||||
|
Q toggle-option -!^Predraw-on-quit\nq
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue