mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 11:39:46 +01:00
readline: fix example
This commit is contained in:
parent
70af3b126a
commit
a4a07ba996
3 changed files with 5 additions and 3 deletions
|
@ -30,7 +30,9 @@ in {
|
|||
bindings = mkOption {
|
||||
default = { };
|
||||
type = types.attrsOf types.str;
|
||||
example = { "\\C-h" = "backward-kill-word"; };
|
||||
example = literalExample ''
|
||||
{ "\\C-h" = "backward-kill-word"; }
|
||||
'';
|
||||
description = "Readline bindings.";
|
||||
};
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ with lib;
|
|||
programs.readline = {
|
||||
enable = true;
|
||||
|
||||
bindings = { "C-h" = "backward-kill-word"; };
|
||||
bindings = { "\\C-h" = "backward-kill-word"; };
|
||||
|
||||
variables = {
|
||||
bell-style = "audible";
|
||||
|
|
|
@ -4,7 +4,7 @@ $include /etc/inputrc
|
|||
set bell-style audible
|
||||
set completion-map-case on
|
||||
set completion-prefix-display-length 2
|
||||
"C-h": backward-kill-word
|
||||
"\C-h": backward-kill-word
|
||||
$if mode=emacs
|
||||
"\e[1~": beginning-of-line
|
||||
$endif
|
||||
|
|
Loading…
Reference in a new issue