parent
3166ae7993
commit
0d1ca254d0
|
@ -28,7 +28,9 @@ in
|
||||||
bindings = mkOption {
|
bindings = mkOption {
|
||||||
default = {};
|
default = {};
|
||||||
type = types.attrsOf types.str;
|
type = types.attrsOf types.str;
|
||||||
example = { "\C-h" = "backward-kill-word"; };
|
example = literalExample ''
|
||||||
|
{ "\\C-h" = "backward-kill-word"; }
|
||||||
|
'';
|
||||||
description = "Readline bindings.";
|
description = "Readline bindings.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -7,9 +7,7 @@ with lib;
|
||||||
programs.readline = {
|
programs.readline = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
bindings = {
|
bindings = { "\\C-h" = "backward-kill-word"; };
|
||||||
"\C-h" = "backward-kill-word";
|
|
||||||
};
|
|
||||||
|
|
||||||
variables = {
|
variables = {
|
||||||
bell-style = "audible";
|
bell-style = "audible";
|
||||||
|
|
|
@ -4,7 +4,7 @@ $include /etc/inputrc
|
||||||
set bell-style audible
|
set bell-style audible
|
||||||
set completion-map-case on
|
set completion-map-case on
|
||||||
set completion-prefix-display-length 2
|
set completion-prefix-display-length 2
|
||||||
"C-h": backward-kill-word
|
"\C-h": backward-kill-word
|
||||||
$if mode=emacs
|
$if mode=emacs
|
||||||
"\e[1~": beginning-of-line
|
"\e[1~": beginning-of-line
|
||||||
$endif
|
$endif
|
||||||
|
|
Loading…
Reference in a new issue