mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-10 18:57:22 +00:00
30 lines
551 B
Nix
30 lines
551 B
Nix
{
|
|
config = {
|
|
programs.readline = {
|
|
enable = true;
|
|
|
|
bindings = {
|
|
"\\C-h" = "backward-kill-word";
|
|
"Control-p" = ''"whups"'';
|
|
};
|
|
|
|
variables = {
|
|
bell-style = "audible";
|
|
completion-map-case = true;
|
|
completion-prefix-display-length = 2;
|
|
};
|
|
|
|
extraConfig = ''
|
|
$if mode=emacs
|
|
"\e[1~": beginning-of-line
|
|
$endif
|
|
'';
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileContent \
|
|
home-files/.inputrc \
|
|
${./using-all-options.txt}
|
|
'';
|
|
};
|
|
}
|